57869 Commits

Author SHA1 Message Date
Alessandro Pasotti
f2a7ab84ac Add another control image mask 2019-10-05 13:09:47 +02:00
Alessandro Pasotti
ea755a0e68 Catch cs exception and add another control file mask 2019-10-04 23:18:52 +02:00
Alessandro Pasotti
382ebb5b72 Added control image 3 2019-10-04 23:18:47 +02:00
Alessandro Pasotti
4d1cc86710 Control image mask 2 2019-10-04 23:18:38 +02:00
Alessandro Pasotti
05170711f0 Code layout and mask image 1 2019-10-04 17:20:41 +02:00
Alessandro Pasotti
ae69775022 Fix Server getlegendgraphic duplicated symbols
... and fix a few build warnings

Now uses the hit test from QGIS API.

Fixes #32020
2019-10-04 16:12:26 +02:00
Alessandro Pasotti
0a97040936 WMS contextual legend: fix unreported issue with reprojection
When using contextual WMS legends with a different projection
in the canvas and in the layer, the extent was not transformed.
2019-10-04 16:00:02 +02:00
Alessandro Pasotti
0c5f67787c
Merge pull request #32088 from NaturalGIS/change_confusing_dbmanager_option_name
change confusing parameter name in DB Manager
2019-10-03 12:23:30 +02:00
Nyall Dawson
387272d441 QgsProject documentation improvements 2019-10-03 20:12:28 +10:00
Harrissou Sant-anna
a176107c77 Visual cleanup for qgsProject in pyqgis doc 2019-10-03 20:12:28 +10:00
Nyall Dawson
e7e41e1cb9 Add stable api for setting/retrieving project custom scales
Previously this was all done through raw project key manipulation,
but there's a use case for exposing this nicely for use by plugins.
2019-10-03 14:15:19 +10:00
lbartoletti
775ef66c41 fix build 2019-10-03 13:33:46 +10:00
lbartoletti
bb523ebfb3 one wmore deprecated method 2019-10-03 13:33:46 +10:00
lbartoletti
76654511f7 fix build 2019-10-03 13:33:46 +10:00
lbartoletti
aa99f89caf deprecate methods in qgsvectorlayereditutils. Better deprecated dox. 2019-10-03 13:33:46 +10:00
lbartoletti
b75518fa15 update dox 2019-10-03 13:33:46 +10:00
lbartoletti
31e416c4a9 rename QgsPointSequence QgsMapToolCapture::points() const; to QgsPointSequence QgsMapToolCapture::pointsZM() const; 2019-10-03 13:33:46 +10:00
lbartoletti
c1421455b8 fix dox and tests 2019-10-03 13:33:46 +10:00
lbartoletti
738e052b87 fix qgsgeometry 2019-10-03 13:33:46 +10:00
lbartoletti
2e529e1bd9 deprecate addTopologicalPoints methods with QgsPointXY
deprecate other methods
2019-10-03 13:33:46 +10:00
Harrissou Sant-anna
575ecffe30 Add "concatenate_unique" as aggregate parameter
to relation_aggregate function
2019-10-03 13:28:36 +10:00
Harrissou Sant-anna
ef11da6359 Add "concatenate_unique" and "array_agg" as aggregate parameter
of aggregate function
2019-10-03 13:28:36 +10:00
Etienne Trimaille
3159d6f199 update docstrings in qgsdatetimeedit.h 2019-10-03 13:17:04 +10:00
Etienne Trimaille
d61fab7783 implement date() and time() in QgsDateTimeEdit to handle NULL values 2019-10-03 13:17:04 +10:00
Peter Petrik
c64c088465 fix #29188 changing of color ramp for mesh layer now works without clicking on load button first 2019-10-03 13:16:02 +10:00
David Signer
1cd73a7387 set the line edits null value over setSpecialValueText if existing
fixes #22883
2019-10-03 13:15:33 +10:00
David Signer
ff26ad1cfb testing focus and null representations for QgsSpinbox as well (not only QgsDoubleSpinBox) 2019-10-03 13:15:33 +10:00
David Signer
2633dc239a remove setNullValues on lineEdit because this should be set over the setSpecialValue 2019-10-03 13:15:33 +10:00
David Signer
fcdc8c704c check widget if it's null instead of redundant text if contained text is the null representer 2019-10-03 13:15:33 +10:00
Nyall Dawson
e47d55f6e3 Grammar 2019-10-02 21:37:52 +10:00
Nyall Dawson
741c051321 Spelling 2019-10-02 21:37:52 +10:00
Nyall Dawson
9b07075fae Add a switch to QgsTessellator to avoid z handling and fallback to a
purely 2d tesselation

Optimises tessellation when only a 2d tessellation is required by
skipping unnecessary/unwanted calculations
2019-10-02 21:37:52 +10:00
Nyall Dawson
8adc498421 Heavily optimised QgsTessellator::_minimum_distance_between_coordinates check 2019-10-02 21:37:52 +10:00
Nyall Dawson
70ee5a7c00 Optimise QgsTriangle constructors 2019-10-02 21:37:52 +10:00
Nyall Dawson
1c1a1a2d90 Reserve data size 2019-10-02 21:37:52 +10:00
Nyall Dawson
b7062b54f6 More optimisations to tesselation conversion to tri polys
Use an unordered set for previously encountered points, avoids expensive
loop through existing points to determine point uniqueness
2019-10-02 21:37:52 +10:00
Nyall Dawson
a735bdc554 Fix warnings 2019-10-02 21:37:52 +10:00
Nyall Dawson
a9228f576d Spelling and build warning 2019-10-02 21:37:52 +10:00
Nyall Dawson
2d6f4d2a20 Optimise QgsLineString::transform 2019-10-02 21:37:52 +10:00
Nyall Dawson
577e1e962d Huge speed up to QgsTessellator
Don't construct Points just for comparison to an existing x/y value
2019-10-02 21:37:52 +10:00
Nyall Dawson
efcc9c5240 Some optimisations for QgsTessellator::_check_intersecting_rings to avoid unecessary cloning and repeated geos conversions 2019-10-02 21:37:52 +10:00
Nyall Dawson
04ca01a795 Because QgsTessellator ONLY works with QgsPolygon geometry inputs,
we can safely assume all rings are QgsLineStrings (not the abstract
QgsCurve type) and accordingly can use optimised methods for retrieving
points from the rings
2019-10-02 21:37:52 +10:00
Nyall Dawson
8ee1c20bb2 [tesselator] Allow internal scaling of coordinates by input coordinate
bounds to avoid numerical instability with close coordinates (e.g. calculating
tesselation of geometries in geographic CRS)
2019-10-02 21:37:52 +10:00
Alessandro Pasotti
70d23e3137
Merge pull request #32018 from elpaso/bugfix-gh31961-snapping-units-from-crs
Update snapping GUI units when canvas CRS changes
2019-10-02 13:36:34 +02:00
Giovanni Manghi
cd71ea1f3c change confusing parameter name in DB Manager 2019-10-02 09:12:52 +01:00
Harrissou Sant-anna
697b65075d Add help button to the "Adjust scaling range" dialog 2019-10-02 08:15:54 +10:00
Giovanni Manghi
c7e4130140 make the A_SRS parameter optional 2019-10-02 08:11:15 +10:00
nirvn
e37efdf89e [symbology] Fix clipped rotated marker when rendering using cache
(fixes #32059)
2019-10-01 16:41:23 +07:00
Nyall Dawson
3a6cc5c2ca Add method to return weighted point inside triangle 2019-10-01 04:05:13 +10:00
Nyall Dawson
975eedc146 Add method to calculate the area of a triangle 2019-10-01 04:05:13 +10:00