Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
Denis Rouzaud
76f702e48a
sipify
2024-12-05 13:19:50 +01:00
Jacky Volpes
bd49d6cf41
fix(featurepool): cache management - fixes #58113
...
Geometry checker cache does not work properly with memory layers.
refreshCache now handles a list of updated features to be thread-safe.
Also, fixes a locker mode, and correctly remove features from spatial
index.
2024-11-28 15:21:21 +01:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
765cbb32db
Standardise some deprecated annotations
2024-09-02 11:42:12 +10:00
Nyall Dawson
bc52832b47
Lazily hack around markdown title underline not being long enough
...
Causes a bunch of warnings when building the PyQGIS docs
2024-08-28 11:58:21 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Jacky Volpes
fa961c7b5b
fix(geometry_checker): do not call crs() on layer from another thread
2024-08-02 06:00:46 +10:00
Nyall Dawson
3d80ed996e
Add thread safety notes for QgsFeaturePool documentation
2024-08-01 08:29:07 +10:00
Nyall Dawson
046883fa9c
Promote QgsWkbTypes enums to enum class, move to Qgis
2023-02-22 12:39:21 +10:00
Harrissou Sant-anna
8761480128
Add missing class reference
2022-07-02 09:58:37 +10:00
Harrissou Sant-anna
7717f39d48
Update and cleanup of geometry_checker dox
2022-07-02 09:58:37 +10:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09
Run sipify_all.sh
2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306
run sipify
2021-10-12 16:34:05 +10:00
Nyall Dawson
c2e1ea3b39
QgsGeometry::Change operator== should be const
2021-07-20 17:25:48 +10:00
Nyall Dawson
c8156b0106
Add c++20 todo for replacing equality operators with default implementations
2021-07-02 12:19:58 +10:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Denis Rouzaud
044a05d828
run sipify
2020-06-19 08:47:23 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Nyall Dawson
a5101f2ade
[sipify] Fix header formatting
2020-06-13 16:49:14 +10:00
Blottiere Paul
385f6399cb
Fix use of deleted function for QgsGeometryCheckErrorSingle
2020-06-12 08:45:13 +10:00
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
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
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
b6d66becab
Sipify
2019-02-27 09:41:11 +10: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