304 Commits

Author SHA1 Message Date
Matthias Kuhn
ba672639c4 Fix docstring 2020-01-16 15:11:02 +01:00
Matthias Kuhn
5dfb5f6bb5 Followup review comments 2020-01-15 07:43:34 +01:00
Matthias Kuhn
8b62eb9572 Better doc strings 2020-01-14 19:07:59 +01:00
Matthias Kuhn
952d704814 Rename QgsGeometryCheckFix to QgsGeometryCheckResolutionMethod 2020-01-14 16:51:59 +01:00
Matthias Kuhn
6cdd75bbab More geometry fix goodness 2020-01-14 16:38:38 +01:00
Matthias Kuhn
35d5176210 Analysis again 2020-01-14 16:38:38 +01:00
Matthias Kuhn
f6e388af9b Geometry gap analysis update 2020-01-14 16:38:38 +01:00
Denis Rouzaud
105ebc4683
test commit for backport bot (#33444) 2019-12-17 16:25:39 +01:00
Alexander Bruy
cc5b6e74f4 [processing] port zonal statistics to C++ 2019-12-09 13:28:32 +02:00
Peter Petrik
b93dfdd0b3
[feature] Support datasets with data defined on faces in mesh calculator (#33248)
* [feature] support datasets with data defined on faces in mesh calculator, fix #30219, fix #30170

added "driver" and "group name" to the calculator interface.
MDAL now supports 3 drivers for storing results, so user must be able to choose appropriate driver and dataset group name (some drivers store multiple groups to 1 file)
2019-12-06 18:27:28 +01:00
Nyall Dawson
ab6239b753 Don't report success when a calculation error occurred 2019-11-26 18:25:26 +10:00
Nyall Dawson
64b52bf31b Fix handling of interpolation layers with differing input coordinate reference systems
Fixes #27048
2019-11-05 16:57:33 +10:00
Matthias Kuhn
4294dda083 Resipify 2019-11-03 21:05:34 +01:00
Peter Petrik
dd98331ace [feature] [mesh] fix #31550 Expose new methods in analysis library for exporting contours for mesh layers
The mesh styling dialog now has new combo box for selection of resampling method for datesets defined on faces.
Also the analysis library has new class QgsMeshContours with export function for contour lines and contour polygons.
2019-10-29 23:16:04 +01:00
Denis Rouzaud
758d7cff4a run sipify to update deprecation annotations 2019-10-15 13:17:38 +02:00
Alessandro Pasotti
e59c1134d7 Code layout 2019-09-27 11:48:06 +02:00
Alessandro Pasotti
d730c97f46 Fix multiple raster calc issues
Fixes #32023 Raster calculator change sign does not work when OpenCL is on
Fixes #32025 QGIS Raster Calculator outputs nodata only rasters

Bonus: three new operators with full test coverage
- ABS
- MIN
- MAX
2019-09-26 18:26:25 +02:00
Matthias Kuhn
0659dd7236 Dox 2019-08-14 10:04:51 +02:00
Matthias Kuhn
f5638fe63d Check that QgsGeometryCheckContext::project is only used from main thread 2019-08-12 07:25:42 +02:00
Matthias Kuhn
43bbaf0c5d dox++ 2019-08-08 08:49:26 +02:00
Matthias Kuhn
c8b277ba6c Call prepare method on geometry checks 2019-08-08 08:24:22 +02:00
Matthias Kuhn
4505a4b03b For geometry validation GAP errors, allow zooming to gap or context
When a topological check returns a gap, it's sometimes better to zoom to the gap,
sometimes to show the gap in the context of the surrounding polygons. There is no
one-size-suits-all solution.
Therefore it's now possible to zoom to one by enabling the "zoom to feature(s)" button
also for topological errors.
2019-07-19 11:59:07 +02:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Alessandro Pasotti
400e1c76ee doxy 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
ac04339434 Pass transform context to raster calculator 2019-04-17 10:06:41 +10:00
Matthias Kuhn
13a74ae962
Merge pull request #9320 from m-kuhn/geometry-validation-icons
Geometry validation icons
2019-03-20 11:58:28 +01:00
Matthias Kuhn
ee1e7385ce
Add dox 2019-03-13 07:56:55 +01:00
Matthias Kuhn
60512e92df
Clear and load in getFeatures() 2019-03-12 14:28:52 +01:00
Matthias Kuhn
9a839c97f3
Copy data for background threads
reduce requirements to run code on main thread which risks freezes
because of deadlocks
2019-03-12 14:28:52 +01:00
Matthias Kuhn
04cdf63818
Add icons to geometry validation checks 2019-03-02 16:58:08 +01:00
Matthias Kuhn
dcc92de5d0
Merge pull request #9316 from m-kuhn/fix-geometry-validation-crashes
[geometry validation] Stability and performance improvements
2019-03-02 09:54:35 +01:00
Matthias Kuhn
d313405851
Avoid working on reference to temporary objects
fixes a couple of crashes in geometry validation
2019-03-01 13:25:00 +01:00
Matthias Kuhn
d99c1f1f32
Fixes 2019-02-27 17:53:07 +01:00
Matthias Kuhn
149fcc040b
Only report topology errors in affected features
The geometry validation only works on the current edit session (added / edited geometries). To detect topology
errors it is required to also get more features within the context, therefore, the bounding box of the edited
geometries is taken to populate the list of features to check.

This commit filters the found problems so only the ones which actually affect one of the edited geometries
will be reported.
2019-02-27 16:57:37 +01:00
Nyall Dawson
107b48a430 Add NULLPTR macro for use in doxygen comments
For the c++ api dox this expands to "\c nullptr" (the
\c directive indicates a code literal value), and for sipify/Python
it expands to ``None`` (`` is sphinx annotation for literal values)

Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
d60b5e2d53 Typo, remove unused .sip files 2019-02-27 09:41:11 +10:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
Bas Couwenberg
371176357b Fix spelling errors.
* cancelation -> cancellation
 * overal      -> overall
2019-02-24 22:39:40 +01:00
Matthias Kuhn
89ea819938
Make sure Python wrappers of quasi-singletons are kept alive
If they are deleted, any other python wrappers which have been parented to these singletons are deleted too.

One of the most common issues with this is, that subclasses of registry items are deleted and lost.
2019-02-06 12:18:41 +01:00
Nyall Dawson
384d310233 Minor improvements to PyQGIS returns for SIP_OUT params 2019-02-05 04:55:34 +11:00
Peter Petrik
cd9a84e11c [feature] [mesh] Mesh Calculator
Similarly to raster calculator, mesh calculator can take dataset groups from current mesh layer and
combine them with various aritmentic/logical operators to new dataset group.
2019-01-14 12:32:36 +01:00
Matthias Kuhn
6d38a0ed66
Improved API documentation for geometry checks 2019-01-07 15:38:18 +01:00
Matthias Kuhn
b87798cd8f
Make travis even happier 2018-12-22 16:40:27 +01:00
Matthias Kuhn
cb766d7f72
Make travis happy 2018-12-22 15:29:26 +01:00
Matthias Kuhn
929df96e20
Remaining docs 2018-12-22 12:17:13 +01:00
Matthias Kuhn
d3f64deb80
Further doc improvements 2018-12-22 11:54:43 +01:00
Matthias Kuhn
525a3da3ab
More doxygen 2018-12-22 10:57:53 +01:00
Matthias Kuhn
07ab092fb1
Some doc fixes 2018-12-22 10:35:30 +01:00
Matthias Kuhn
65f6e7ba5d
Doxymenation for gap checks 2018-12-22 10:03:22 +01:00
Denis Rouzaud
166e952c33 run sipify 2018-12-19 08:04:27 -04:00