4977 Commits

Author SHA1 Message Date
Nyall Dawson
5b0bdbd4d9 Add QgsGeometryUtils method to interpolate a point on an arc given a distance 2018-08-15 14:01:59 +10:00
Nyall Dawson
56fd4e3b16 Add QgsGeometryUtils method for interpolating point between two points, with z/m handling 2018-08-15 14:01:59 +10:00
Martin Dobias
767a7b0f5c Travis fixes 2018-08-14 19:53:27 +02:00
Matthias Kuhn
da527be9a1 Fix sip bindings 2018-08-14 19:04:56 +02:00
Martin Dobias
358d12946b Read/write mesh styling from/to project files 2018-08-14 16:42:13 +02:00
Martin Dobias
9fc2e3e148 Make scalar/vector rendering settings per dataset group
Until now there was just one scalar and vector configuration
for a mesh layer. It is however most useful to have different
rendering settings for each dataset group (quantity).
2018-08-14 16:42:13 +02:00
Martin Dobias
feddb3d3e6 Encapsulate all mesh renderer stuff in one class + fix legend updates 2018-08-14 16:36:09 +02:00
Martin Dobias
545eb9785a Generation of legend items for mesh layers 2018-08-14 16:30:09 +02:00
Martin Dobias
d093455725 Save extra datasets of mesh layers in project files
Some formats like .2dm only contain definition of mesh structure,
in order to show some data users need to add extra files with data
on that mesh. Until now the extra datasets were not persisted.
2018-08-14 16:30:09 +02:00
Martin Dobias
9273090d16 Fix issues around enabled/disabled state of scalar/vector rendering 2018-08-14 16:30:09 +02:00
Nyall Dawson
bef88f30df Minor processing parameter evaluation refactoring 2018-08-14 18:56:14 +10:00
Nyall Dawson
dfa5104855 Sipify 2018-08-14 09:24:43 +10:00
Matthias Kuhn
70dcc33496
Merge pull request #7456 from signedav/translation_projects
Translation of .qgs project data
2018-08-13 11:25:05 +02:00
Nyall Dawson
3a08300112 Sipify 2018-08-13 14:33:53 +10:00
Nyall Dawson
fa68041793 Fix some clazy/clang warnings in layout 2018-08-13 14:33:53 +10:00
Martin Dobias
ad4ddb186a
Merge pull request #7582 from PeterPetrik/mesh_plots
[mesh] [feature] function to get value for the point on map
2018-08-10 15:46:27 +02:00
Peter Petrik
271bab1756 introduce DataType for mesh dataset data definition and small fixes 2018-08-10 14:40:46 +02:00
Peter Petrik
9ea0bc2a1e format code and add documentation 2018-08-10 09:24:31 +02:00
Peter Petrik
c79e1d0601 [mesh] [feature] add function to identify value on the point 2018-08-09 16:45:20 +02:00
Alessandro Pasotti
82fdb56c6a Const correctness for rasterblock 2018-08-08 09:39:57 +02:00
Alessandro Pasotti
6b10ffefb0 Add overload that accepts qgissize instead of int
to avoid a lot of annoying warnings and spare
some casts
2018-08-08 09:23:39 +02:00
Nyall Dawson
9b4be7ae64 Simplify QgsTask::waitForFinished, hopefully fix bugs 2018-08-08 05:06:09 +10:00
Nyall Dawson
8700037725 [tasks] Show estimated time remaining and completion time in status bar
task manager widget

Calculated using a simple linear interpolation based on the elapsed
time and current progress
2018-08-08 04:22:54 +10:00
signedav
fea9de9f15 merge error 2018-08-07 17:08:56 +02:00
signedav
ad086dc474 layermaptest and fixes
after feedback - mostly doc stuff or code style
2018-08-07 14:33:34 +02:00
signedav
519e91e626 missing parameter documentation 2018-08-07 14:32:47 +02:00
signedav
5a01074d75 fixes 2018-08-07 14:32:47 +02:00
Denis Rouzaud
048ff3f0c8 add missing sip file 2018-08-07 14:32:47 +02:00
Matthias Kuhn
1433de1067 Add missing sip bindings 2018-08-07 14:32:46 +02:00
signedav
caa88429d8 spelling 2018-08-07 14:32:46 +02:00
signedav
442c7323f7 sip files and some improvements
like make a list copy before go through for loop and log messages
2018-08-07 14:32:46 +02:00
signedav
090db0d86b setProjectTranslator
...in QgsReadWriteContext creation
implementation of projectTranslator where needed

use of DefaultTranslator to have default translation funtion derived from QgsProjectTranslator

beautify code
2018-08-07 14:31:17 +02:00
signedav
1bccedd1d1 working translation of project from qm file
Translated objects and tests included:
- [x] layer names
- [x] layer group names
- [x] relation names
- [x] attribute alias (if no alias, then the field translation)
- [x] forms group box titles
- [x] forms sub group box titles

included restructured with QTranslator object.

Updated test-data used for the test.
2018-08-07 14:31:17 +02:00
signedav
628292b974 gui implementation 2018-08-07 14:31:17 +02:00
signedav
2bfe2296e5 tests, project store and other
not yet working all translations
project handling can be improved
project store after translation working
and fix some errors
tests not ready yet
2018-08-07 14:31:17 +02:00
Nyall Dawson
6ecc69ff90 Add dataSourceChanged signal to QgsVectorLayer, add tests 2018-08-06 13:51:49 +10:00
Nyall Dawson
70277635a2 Refine QgsFeatureRequest timeout api, dox 2018-08-06 13:45:33 +10:00
Matthias Kuhn
a7f0f2b34e
Merge pull request #7519 from m-kuhn/nestedConnectionPoolDeadlock
Fix freeze with `get_feature`
2018-08-05 17:03:39 +02:00
Matthias Kuhn
0a0f84a96f
Make spare connections more explicit 2018-08-05 09:24:47 +02:00
Matthias Kuhn
9d5f6f3f2e
Add QgsApplication::maxConcurrentConnectionsPerPool() 2018-08-03 13:56:30 +02:00
Matthias Kuhn
8dd4b3b270
Rename freeConnectionsRequirement to requestMayBeNested 2018-08-03 09:52:42 +02:00
Matthias Kuhn
11b2683191
Thread safety for get_feature 2018-08-02 16:12:08 +02:00
Matthias Kuhn
14643ad98d
Allow specifying the number of required connections
for a request. Most requests should reserve more
than a single connection (default: 3) and only
requests that are executed as nested expressions
should specify 1.
2018-08-02 13:34:45 +02:00
Nyall Dawson
1fea03fec7 [processing] Make model to/from variant methods public 2018-08-01 07:32:52 +10:00
Nyall Dawson
d09faf42be Add method to transform vertices of QgsGeometry/QgsAbstractGeometry
in place using a custom lambda function
2018-07-30 12:11:17 +10:00
Martin Dobias
c28de6d3b5 Refactor camera pose to a separate class outside of the camera controller
This will allow easier storage of camera configuration when it is needed outside
of the camera controller.
2018-07-28 17:55:46 +02:00
Denis Rouzaud
c0dd00615a
[pyqgis] __repr__ method for QgsExpression, QgsField (#7464)
* [pyqgis] __repr__ method for QgsExpression, QgsField

* add tests for __repr__ methods

* Fix test
2018-07-28 08:06:08 +02:00
Nyall Dawson
20e62b4c5f Fix typo, failing test 2018-07-26 09:37:19 +10:00
Blottiere Paul
8ecc5b9047 Cleaning 2018-07-20 16:24:48 +10:00
Blottiere Paul
6363aba94e [FEATURE][needs-doc] Vertex tool can work on the current layer only 2018-07-20 16:24:48 +10:00