148 Commits

Author SHA1 Message Date
Nyall Dawson
8c79b94fcc Don't show cascaded feature deletion warnings and feedback if
joined deleted features came from an auxilary layer

As auxiliary features are intended to be intrinsicly linked to
a normal layer's features, we don't need to warn or advise when
these are deleted alongside their parent feature.
2020-10-15 10:15:27 +10:00
Nyall Dawson
cddcbe076a Improve docs 2020-10-09 11:20:09 +10:00
Nyall Dawson
4ee9feb56b Sipify 2020-10-09 11:20:09 +10:00
Denis Rouzaud
bc3d8fd988
Merge pull request #38285 from uclaros/split-add-topo-all-layers
Add topological points to all editable layers on split feature
2020-09-16 17:19:43 +02:00
Denis Rouzaud
7265d9de96 fix sip 2020-09-15 12:23:30 +02:00
Denis Rouzaud
1660d726a4 add deprecation details 2020-09-15 08:45:28 +02:00
Denis Rouzaud
b923c4a19f add deprecated dox 2020-09-14 13:25:11 +02:00
Denis Rouzaud
4fd940a352 use configuration flags to save WMS/WFS from vector layer 2020-09-14 13:24:05 +02:00
Denis Rouzaud
59ff516976 QgsField::ConfigurationFlags: add read/save in core 2020-09-11 09:16:49 +02:00
uclaros
ee1f3f623e Add topological points to all editable layers on split feature 2020-09-04 21:56:02 +03:00
Denis Rouzaud
ae4d7699f4 fix python code formatting 2020-08-21 09:43:14 +10:00
Matthias Kuhn
05d632c1af Resume editing when saving layer with topology checks
Fixes #28592
2020-08-20 10:53:28 +10:00
Harrissou Sant-anna
0e03c9ff63 Fix broken "gdal.org/ogr/" URLs in doc 2020-08-19 08:55:19 +10:00
vcloarec
f7a16c5fd3 fix doc and pass map tool reshape test 2020-07-29 12:49:44 -04:00
vcloarec
24b1b3b4c0 split vector feature with QgsCurve 2020-07-29 12:49:44 -04:00
Peter Petrik
d9f18ccb9c
Fix spelling (#37849)
fix the spelling errors
2020-07-21 12:51:48 +02:00
Ivan Ivanov
b7d36375c2
Reload the data source when a dependency layer is changed (#37475)
Refreshing the data provider right away causes problems on a layer
 dependent on itself. In that case two `dataChanged` signals are
 expected to be emitted when deleting or creating a feature, but as the
 layer is reloaded, the second `dataChanged` is not emitted.
2020-07-10 18:06:13 +02:00
Denis Rouzaud
66b0f1d60c correctly remove title + slash 2020-07-09 16:22:06 +02:00
Denis Rouzaud
3fdbfe3602 sipify them all…
… oh there is only 2
2020-07-09 16:13:19 +02:00
Denis Rouzaud
d14b349447
Show python code sample in PyQGIS doc, take 2 (#37642) 2020-07-07 11:37:18 +02:00
Denis Rouzaud
044a05d828 run sipify 2020-06-19 08:47:23 +10:00
Nyall Dawson
8d4f00b0af Remove TODO comments included in public API documentation
This is just "airing our dirty laundry". We don't want/need end users
to see this.
2020-06-15 13:43:58 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Nyall Dawson
ae42850d08 Sipify 2020-06-11 13:29:59 +10:00
Nyall Dawson
c795ddb1e9 Updates 2020-06-11 13:29:59 +10:00
Matthias Kuhn
262568e6fb
Merge pull request #36285 from signedav/delete_cascade
Delete cascade on composition relations
2020-05-14 15:35:44 +02:00
David Signer
b9348302c4 use reference for fids in deleteFeatures and ensure that they exist until the end in qgsrelationeditorwidget 2020-05-14 10:40:00 +02:00
David Signer
3ea7b28aea project in the DeleteContext 2020-05-13 22:44:42 +02:00
David Signer
9995287eff comments and sipfiles 2020-05-12 17:32:06 +02:00
David Signer
f5d35dd18f handledLayers and handledFeatures in DeleteContext to be able to use it in python as well 2020-05-11 11:12:16 +02:00
David Signer
d6a038b700 getter for handledFeatures in DeleteContext 2020-05-11 10:09:23 +02:00
David Signer
87de7de01c fix type in parametername deletedCount 2020-05-08 11:37:07 +02:00
David Signer
0b64a83995 docs 2020-05-08 07:51:47 +02:00
Nyall Dawson
0ca630115c Sipify 2020-05-08 11:46:46 +10:00
David Signer
aa8224716c Not using reference for QgsFeatureIds since the given value could maybe be changed on recursive delete.
Recursions are usualy not used with compositions, but to be save, this change has been made.
2020-05-07 23:10:37 +02:00
David Signer
79d86012ae DeleteContext instead of having cascade parameter in delete functions and QMap for response 2020-05-07 23:10:37 +02:00
David Signer
023f16f696 the function to delete without updating the extent and deleting cascade is called deleteFeatureCascade
handledFeatures is given to store all the layers and features affected by the delete operation
recursion is blocked by checking handled features
2020-05-07 23:10:37 +02:00
David Signer
f352793b83 on deleting a feature, it deletes the relating children, when "cascade" parameter is true, the relation strength is a composition.
"cascade" parameter is true on every "normal" delete fired by the user interface. It's not true, on functions like merge feature or offline editing synchronization etc.
2020-05-07 23:10:37 +02:00
Nyall Dawson
5b639558f4 Dox++ 2020-02-13 09:32:02 +10:00
Alessandro Pasotti
90ac90b4a9 Weak relations and auto-restore when loading a style 2019-12-19 10:33:24 +01:00
Nyall Dawson
214bbe9e36 Fix clazy fully-qualified-moc-types warnings 2019-11-20 10:08:13 +10:00
Nyall Dawson
fe32fdfe40 Add API to QgsFeatureSource to determine whether a spatial index
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Matthias Kuhn
213df8df23
Merge pull request #32315 from roya0045/optional_fids
[API/feature?] make fids caching optional
2019-11-01 16:00:17 +01:00
Alex
54c175b55f optional fids counting 2019-10-31 08:36:34 -04:00
Alessandro Pasotti
07bb6b77e1 Server OAPIF datetime filter support
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
6112da45f6 Server OAPIF datetime support 2019-10-30 11:53:13 +01:00
Even Rouault
c7f29d501f QgsVectorLayer: document oapif provider
Funded by Planet
2019-10-26 06:47:59 +10:00
Denis Rouzaud
2406837650
replace deprecated in by deprecated since (#32260) 2019-10-15 15:56:54 +02:00
Denis Rouzaud
758d7cff4a run sipify to update deprecation annotations 2019-10-15 13:17:38 +02:00
Nyall Dawson
3112332227 Rename variable for clarity 2019-10-09 15:01:51 +10:00