Nyall Dawson
222ce1b5ab
Don't apply tile scale doubling hack to esri generated vector tiles
...
We shouldn't apply this hack if we want to match ESRI's zoom to scale
level handling
2022-03-11 12:09:32 +10:00
Nyall Dawson
2faa91a327
Remove redunant z0 extent members
2022-03-11 12:09:32 +10:00
Nyall Dawson
59059a9a72
Switch to using QgsMatrixTileSet as common tile set class
2022-03-11 12:09:32 +10:00
Nyall Dawson
549398dec1
Spelling
2022-03-11 12:09:32 +10:00
Nyall Dawson
508a87dd4f
Correctly load arcgis vector tiles in non-EPSG:3857 crs
2022-03-11 12:09:32 +10:00
Nyall Dawson
b39761f8f0
Ensure that non-EPSG:3857 vector tiles layers can be rendered in the
...
correct place
This fixes the rendering of vector tiles layers which are constructed
in any non web mercator CRS.
(Unfortunately the required information is not recorded in mbtiles
packages, so it's necessary to set the correct parameters via
API calls when trying to load non-3857 mbtiles.)
2022-03-11 12:09:32 +10:00
Denis Rouzaud
9b459d5de4
Merge pull request #46750 from domi4484/bufferedTransactionCore
...
Buffered Transactional Editing
2022-03-10 14:10:55 +01:00
Nyall Dawson
13949f932d
Show a user-facing message bar warning when opening a project created in a
...
newer version of qgis, warning that the project may not be
completely loaded
2022-03-10 12:27:51 +10:00
Denis Rouzaud
ede7f35a86
Merge pull request #47633 from 3nids/settings-sections
...
Explicit declaration of sections/prefixes for settings
2022-03-08 21:03:37 +01:00
vcloarec
434e7028dc
filter before triangulation
...
no vertical filter before and remove exterior triangles
finalize
leftover
typo, const and other leftovers
fix big triangles filter
Stefanos review
2022-03-08 07:53:50 -08:00
Denis Rouzaud
9aeb041562
fix doc + sipify
2022-03-08 14:38:00 +01:00
Denis Rouzaud
91f631171c
be sure that PyQGIS constructors always create a key as a plugin
2022-03-08 14:38:00 +01:00
Denis Rouzaud
19ca6636d1
sipify
2022-03-08 14:37:59 +01:00
Denis Rouzaud
9a9366630b
add prefixes information to QgsSettings
2022-03-08 14:37:59 +01:00
Nyall Dawson
8b16383ff0
[api] Add support for reading individual frames from animated image
...
formats (gif/mng/webp) to QgsImageCache
The frames are correctly cached in the image cache, resulting in
super speedy retrieval after the first render
2022-03-08 13:49:24 +10:00
Damiano Lombardi
8c5af4e194
SIP_OUT for output parameters
2022-03-04 08:41:10 +01:00
Damiano Lombardi
03f4740e65
More detailed error feedback for rollback
2022-03-04 08:41:10 +01:00
Damiano Lombardi
32ca2e4741
Fix docstrings
2022-03-04 08:41:10 +01:00
Damiano Lombardi
22de7e8a69
Fix docstrings since QGIS 3.24 to 3.26
2022-03-04 08:41:10 +01:00
Damiano Lombardi
f3897d7a75
Buffered transactions commitErrors added already modified layers info
2022-03-04 08:41:10 +01:00
Damiano Lombardi
6b4bba8224
Buffered transactions startEdit/commit/rollback from layer
2022-03-04 08:41:10 +01:00
Damiano Lombardi
cabf50d831
Buffered transactions rollback
2022-03-04 08:41:10 +01:00
Damiano Lombardi
b502da8bca
Change transaction mode only if all layers are not in edit mode
2022-03-04 08:41:09 +01:00
Damiano Lombardi
ba1002d163
Show commit errors + docstrings
2022-03-04 08:41:09 +01:00
Damiano Lombardi
219d450075
Initial implementation of buffered transactions
2022-03-04 08:41:09 +01:00
Damiano Lombardi
69f02e9f4c
Applied suggestions from code review
2022-03-04 08:41:09 +01:00
Damiano Lombardi
ab3f2fca8a
Transaction mode setting gui
2022-03-04 08:41:06 +01:00
Nyall Dawson
ddf5cd57cc
Allow extrusion to be disabled
2022-03-03 06:15:10 +10:00
Nyall Dawson
36dd3745f8
Add documentation note about binding vs point layers
2022-03-03 06:15:10 +10:00
Nyall Dawson
63e2d1ec16
Newly created 3d symbols for a vector layer default to inheriting
...
appropriate parameters from the layer's elevation settings
2022-03-03 06:15:10 +10:00
Nyall Dawson
cc24106d01
Add QgsMapLayerElevationProperties subclass for vector layers
...
Allows elevation properties to be set for vector layers, including:
- altitude binding
- altitude clamping
- extrusion
- scale
- offset
These properties can be set through the new "Elevation" tab in
the vector layer properties dialog
2022-03-03 06:15:10 +10:00
Nyall Dawson
5395d87d7f
Move altitude clamping/binding enums to Qgis namespace, promote to enum
...
class
2022-03-03 06:15:10 +10:00
Nyall Dawson
2379de4a95
Add QgsMapLayerElevationProperties subclass for raster layers
...
Allows elevation properties to be set for raster layers, including:
- whether raster values represent heights
- scale
- offset
These properties can be set through the new "Elevation" tab in
the raster layer properties dialog
2022-03-03 06:15:10 +10:00
Denis Rouzaud
332d5808ff
add default value and remove extra virtual
2022-03-01 12:09:47 +01:00
Denis Rouzaud
b192904e54
add helper method to avoid code duplication
2022-03-01 12:09:47 +01:00
Denis Rouzaud
d06b1f1ff9
replace setVariantValue method to avoid API break
2022-03-01 12:09:47 +01:00
Denis Rouzaud
44681dc841
sipify
2022-03-01 12:09:47 +01:00
Denis Rouzaud
87d0f518ff
add qgsEnumList to list enum keys (and test)
2022-03-01 12:09:47 +01:00
Denis Rouzaud
fbd27bde8f
explicitely call a checkValue method for a more meaningfull API
2022-03-01 12:09:47 +01:00
Denis Rouzaud
25262dadf7
create snapping mode setting + avoid confusion mode/type
2022-03-01 12:09:47 +01:00
Denis Rouzaud
f722ef641c
fix dox
2022-03-01 12:09:47 +01:00
Denis Rouzaud
36a933bb2b
move QgsSnappingConfig::SnappingTypeFlag + SnappingMode enum/flags to Qgis
2022-03-01 12:09:47 +01:00
Denis Rouzaud
1bd55ee237
simplify the API by removing extra method
2022-03-01 12:09:47 +01:00
Denis Rouzaud
3f88bd5002
further simplifications of template and implementations
2022-03-01 12:09:47 +01:00
Denis Rouzaud
08ada3aadf
sipify + move sipify config file to ./python
2022-03-01 12:09:47 +01:00
Denis Rouzaud
2778276ff7
move QgsSettingsEntry::SettingsType to Qgis + create Qgis::SettingsOptions flags
2022-03-01 12:09:47 +01:00
Nyall Dawson
5df4882380
Fix exception when editing outputs in models
2022-02-28 19:57:15 +10:00
Nyall Dawson
1d97b4548a
Add internal version handling for model algorithms
...
Allows us to change behaviour of model algorithms (e.g. output names)
for newly created models only, without risk of breaking existing
scripts
2022-02-28 19:57:15 +10:00
Nyall Dawson
817895d6d3
[processing] When an input parameter is renamed in the model designer,
...
also update the internal name of that parameter and all child algorithms
in the model accordingly
Before we just "faked" this by changing the parameter's description
only, but that meant that the old name was permenantly stuck and
had to be used in qgis_process or when calling the model via
python.
2022-02-28 17:33:19 +10:00
Nyall Dawson
caee2cabbd
Add Qgis::MapLayerProperty flag for layers which should be considered
...
as "basemap" layers
This flag identifies if the layer is considered a 'basemap' layer, where
certain properties of the layer should be ignored when calculating
project-level properties. For instance, the extent of basemap layers
should be ignored when calculating the overall extent of a project,
as these layers are typically global and extend outside of a project's
area of interest.
2022-02-24 16:20:51 +10:00