Nyall Dawson
503a95a1a1
Move enums to Qgis namespace for consistency
2024-02-02 04:59:04 +10:00
Julien Cabieces
062ce03b6d
[PyQt6] remove QTextCodec and rename pyqt5_from_qvariant_by_type
...
QTextCodec is no longer existing in PyQt6 (only in QtCoreCompat in C++)
2024-01-11 04:52:01 +10:00
bdm-oslandia
8d1155dd00
feat(QgsVectorDataProvider): add support for sourceExtent3D function
2023-11-16 14:59:16 +01:00
bdm-oslandia
365cf6aa88
fix(QgsVectorDataProvider): add default class members to support QgsDataProviderElevationProperties
2023-11-16 14:59:16 +01:00
bdm-oslandia
f822021e95
feat(qgsvectorlayer): add 3D extent handling
2023-11-16 14:58:40 +01:00
Alessandro Pasotti
60042b9b79
Remove metadata
2023-10-28 05:07:14 +10:00
Alessandro Pasotti
fa9fc3ee34
Source select widget: configure from layer URI
2023-10-28 05:07:14 +10:00
Sandro Mani
9b095c5605
Revert "Revert "Allowing storing GPGK raster layer styles to DB""
...
This reverts commit 9d8a72256893bd31a51d85927e9abd9cdb5eed29.
2023-10-23 13:47:40 +10:00
Nyall Dawson
9d8a722568
Revert "Allowing storing GPGK raster layer styles to DB"
2023-10-06 12:15:46 +10:00
Sandro Mani
4bc4f48f50
Merge pull request #54558 from manisandro/rasterstyles
...
Allowing storing GPGK raster layer styles to DB
2023-10-05 16:16:44 +02:00
Nyall Dawson
15f04bb10f
QgsVectorLayer field configuration flag methods should also be exposed
2023-10-03 19:51:38 +10:00
Alessandro Pasotti
7bd457b2bd
doxy
2023-09-30 10:02:02 +02:00
Alessandro Pasotti
3cac4c0b0b
Make convertToProviderType static to bypass thread check
2023-09-30 09:34:34 +02:00
Sandro Mani
b308bceb83
Revert moving storageType to QgsDataProvider, reword style location labels in QgsMapLayerLoad/SaveStyleDialog
2023-09-18 14:16:02 +02:00
Sandro Mani
ee357346bb
Move isSaveAndLoadStyleToDatabaseSupported and isDeleteStyleFromDatabaseSupported to QgsDataProvider
2023-09-18 14:16:02 +02:00
Sandro Mani
0a1dd0a643
Move saveStyleToDatabase, listStylesInDatabase, getStyleFromDatabase, deleteStyleFromDatabase, loadNamedStyle to QgsMapLayer
2023-09-18 14:16:02 +02:00
Sandro Mani
1fb7e142c3
Rename QgsVectorLayerSaveStyleDialog to QgsMapLayerSaveStyleDialog and allow using it for non-vector layers
2023-09-18 14:16:01 +02:00
Nyall Dawson
e5bddbab1a
Don't discard custom color/symbol when changing layer selection
...
mode
2023-07-29 18:36:11 +10:00
Nyall Dawson
e5eb082a81
Add API to set specific symbol to render for selected features in
...
a vector layer
If set, then that symbol will be used for selected features. Allows
eg selected lines to be rendered in a thicker line style vs
non-selected lines for improved visibility.
2023-07-29 18:36:11 +10:00
Nyall Dawson
8931268c74
Add API to set selected feature color for vector layers
2023-07-29 18:36:11 +10:00
Nyall Dawson
71a778e492
Introduce framework for QgsMapLayerSelectionProperties
...
QgsMapLayerSelectionProperties exposes settings for controlling
how an individual QgsMapLayer behaves with respect to feature selection.
2023-07-29 18:36:11 +10:00
Mathieu Pellerin
859558a1a5
Add test + address review
2023-07-28 19:16:36 +07:00
Mathieu Pellerin
3734bee6a5
[map tool] When copy-moving a feature, use duplicate feature function to insure composition relationships are respected
2023-07-27 15:40:40 +07:00
Alessandro Pasotti
3db86bc236
Merge pull request #53168 from elpaso/attribute-table-defer-virtual-fields
...
Attribute table optimization: do not load hidden fields until required
2023-05-22 16:35:12 +02:00
Nyall Dawson
4c6018de92
Add option to limit the extent of "fill above" and "fill below"
...
elevation ranges for a layer in elevation profile plots
Fixes #51010
2023-05-22 14:48:57 +10:00
Alessandro Pasotti
d2c317a5d7
Attribute table optimization: do not store hidden fields
...
- defer hidden fields fetching
- allow caching of mixed full and subset attributes features
2023-05-19 19:15:10 +02:00
Nyall Dawson
b28bf20372
Add api to determine attribute capabilities for QgsVectorLayerExporter
2023-04-22 09:18:06 +10:00
Nyall Dawson
276ff97807
When creating new fields, only expose the 'Comment' option for
...
datasources which support editing comments
This support is currently limited to the postgres provider,
so exposing the comment field for all other vector layer types
is just misleading to users. The comment will be completed discarded
without any warning!
2023-04-14 14:14:41 +10:00
Nyall Dawson
2e7b0dd4a0
Deprecated unused, not-useful QgsVectorDataProvider::palAttributeIndexNames
2023-04-06 17:18:05 +10:00
Nyall Dawson
50c76929e1
Followup 30700f1, ensure links to Qgis members are set in docstrings
2023-03-31 10:46:24 +10:00
Nyall Dawson
edfb9764cb
Add API to set field split policy for vector layers
2023-03-01 19:30:39 +10:00
Nyall Dawson
046883fa9c
Promote QgsWkbTypes enums to enum class, move to Qgis
2023-02-22 12:39:21 +10:00
Nyall Dawson
f9c3da1e06
Move unit enums to Qgis, promote to enum class
2023-02-19 13:29:06 +10:00
Nyall Dawson
6f71e3393e
Fix map tips do not show for vector layers where the HTML map tip
...
option isn't used
In this case the layer's display expression should be used for
the map tip content
Followup https://github.com/qgis/QGIS/pull/50854
2023-02-06 08:41:45 +10:00
Damiano Lombardi
e8f29c8bca
Update doc
2023-02-01 13:35:06 +01:00
Damiano Lombardi
1bcc87a741
Explicitly set the target feature for merge operation
2023-01-31 17:37:09 +01:00
Damiano Lombardi
271e539402
Fix docstring
2023-01-31 09:18:59 +01:00
Damiano Lombardi
978574f1cc
Move merge logic to QgsVectorLayerEditUtils
2023-01-31 09:18:59 +01:00
Damiano Lombardi
45fea05b07
Move merge selected features logic to QgsVectorLayer
2023-01-31 09:18:59 +01:00
Denis Rouzaud
c11125d4f7
migrate setting qgis/simplifyLocal to class (Bool, core)
2023-01-26 20:54:20 +01:00
Denis Rouzaud
e7ef4d08b0
migrate setting qgis/simplifyDrawingTol to class (Double, core)
2023-01-26 20:54:19 +01:00
Denis Rouzaud
073b60696d
forward declaration
2023-01-26 20:54:19 +01:00
Mathieu Pellerin
1025006034
Address comment, optimize and hard-code conditional styling of constraints
2023-01-13 10:11:42 +07:00
Nyall Dawson
8921e696e7
Make iteration of features from vector layers with joins actually thread safe
2022-12-14 18:19:05 +10:00
Harrissou Sant-anna
d67e3c39c5
Fix oapif subsection title
2022-11-25 12:19:12 +10:00
Nyall Dawson
b1e63a2815
Don't emit layerModified for every atomic change made during a bulk
...
operation to the vector layer edit buffer
Eg Instead of emitting layerModified for every individual feature
in a call to QgsVectorLayer::addFeatures, we defer the signal
and emit it only once after adding all the features.
This avoids a lot of expensive, unnecessary work which is triggered
by the signal
2022-11-18 11:51:24 +10:00
Julien Cabieces
91e5130080
Merge pull request #50854 from elpaso/raster-maptips-2
...
Raster maptips
2022-11-14 08:42:22 +01:00
Alessandro Pasotti
f040c260bd
Raster maptips
2022-11-09 09:48:02 +01:00
Alessandro Pasotti
9c2923aa1d
Optionally load all stored styles from DB with correct names.
...
Fixes #37434
Funded by: Ministère des Forêts, de la Faune et des Parcs - Québec
2022-11-07 10:16:04 +01:00
Loïc Bartoletti
e3bf816f55
rename addMultiRing to addRingV2
2022-10-18 12:28:22 +02:00