22739 Commits

Author SHA1 Message Date
Nyall Dawson
33e1d4fba9 Check for non-zero cell sizes 2023-11-14 06:36:39 +10:00
Nyall Dawson
da514d0e5e Fix exception in interpolation algorithm widgets
Fixes #55138
2023-11-14 06:36:39 +10:00
Nyall Dawson
27bcb01cb6 Add some typehints 2023-11-14 06:36:39 +10:00
Nyall Dawson
ae45e662c6 If user enabled OTB plugin without setting a path, don't show
message box warnings when closing Settings dialog

This is confusing for users who have accidentally enabled the plugin.
If the path is empty, chances are the user isn't wanting to use
the OTB provider and it's nicer not to show a big confusing
message box warning to them.
2023-11-11 07:01:17 +10:00
Jean Felder
1200cbbe58 qgspolygon3dsymbol: Rename height property to offset
This is similar to the changes already applied to QgsLine3DSymbol.

height() are setHeight() are kept for API compatibility reasons.
2023-11-09 05:22:05 +10:00
Jean Felder
630fec5cc8 qgsline3dsymbol: Rename height property to offset
The `height` property is in fact a vertical offset applied to the
line. Also, the `offset` phrase is already used by the terrain for
similar purposes.

height() are setHeight() are kept for API compatibility reasons.
2023-11-09 05:22:05 +10:00
Nyall Dawson
89f40b05f8 Move ::htmlMetadata from some data provider subclasses up to base class
Allows all layer types (including vector, mesh and point cloud)
providers to show custom metadata in the layer properties dialog.
Previously this was limited to raster/vector tile and tiled
scene layers only.

Also fix const for a lot of raster providers as a consequence.
2023-11-08 21:28:09 +10:00
Nyall Dawson
885245213a Add missing file 2023-11-08 21:27:46 +10:00
Nyall Dawson
c273779b72 Remove separate size unit for width and height, and just use
one unit for both to match raster marker behavior
2023-11-08 14:19:40 +10:00
Nyall Dawson
c3309a3cbc Clear some warnings 2023-11-08 14:19:40 +10:00
Nyall Dawson
7a19ecfd33 [feature] Add height setting for raster fill symbol layer type
This allows users to control the width and height of the fill
pattern indepently, allowing for stretched raster fills in the
horizontal or vertical directions

Sponsored by North Road, thanks to SLYR
2023-11-08 14:19:40 +10:00
Mathieu Pellerin
cacbb06d94
[symbology] Fix font marker inserting illegal characters in a saved project's XML document (#55041) 2023-11-08 10:25:03 +07:00
Nyall Dawson
3ed97c3c76 Move QgsProperty::Type to Qgis, promote to enum class 2023-11-07 20:45:49 +10:00
Nyall Dawson
65a19c7a78 Fix documentation format of QgsCustomDropHandler 2023-11-06 12:30:30 +10:00
Nyall Dawson
16c8c88247 New "Filled line" symbol layer type
This adds a new line symbol type which renders lines using a
fill symbol. The interior of the line is drawn using any standard
QGIS fill symbol, allowing for lines filled with gradients, line
hatches, etc.

Sponsored by North Road, thanks to SLYR
2023-11-06 11:42:28 +10:00
Nyall Dawson
2456290168 Add tests 2023-11-02 22:03:20 +10:00
Nyall Dawson
f16bbfea79 Check validity of coverages before running coverage tools, unless
geometry validation is disabled
2023-11-02 22:03:20 +10:00
Nyall Dawson
25b75353b5 Add coverage union algorithm 2023-11-02 22:03:20 +10:00
Nyall Dawson
c8eefd0558 Expose GEOS coverage simplify as a processing algorithm 2023-11-02 22:03:20 +10:00
Nyall Dawson
1d223e692e Expose geos coverage methods to QgsGeos for geos 3.12+ based builds 2023-11-02 22:03:20 +10:00
Alessandro Pasotti
b63391f955
Merge pull request #54951 from elpaso/server-getlegendgraphics-json-rule
FEATURE: Server getlegendgraphics json rule
2023-10-31 09:34:53 +01:00
Nyall Dawson
9ff583413e Apply suggestions from code review 2023-10-28 12:45:20 +10:00
uclaros
3e5af71795 docstring 2023-10-28 12:45:20 +10:00
uclaros
d13b9e654b Don't deprecate method, use inverted parameter order instead 2023-10-28 12:45:20 +10:00
uclaros
9d2a39763d update docstring 2023-10-28 12:45:20 +10:00
uclaros
1f60ae5757 Fix QgsPointLocator to respect the supplied filter when matching to area 2023-10-28 12:45:20 +10:00
Valentin Buira
cf0c73f5c1 Update sip file 2023-10-28 09:36:04 +10:00
Yoann Quenach de Quivillic
5381f46a2f Hideable button 2023-10-28 05:07:36 +10:00
Yoann Quenach de Quivillic
f163937f3c Add methods to set and get cursor position 2023-10-28 05:07:36 +10:00
Alessandro Pasotti
4251d3eecf cppcheck fix 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
1a83ddd146 Doxy 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
eaafa66353 flake8 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
47bcde2029 GPKG implementation of configureFromUri 2023-10-28 05:07:14 +10:00
Alessandro Pasotti
c66ca0e420 Moved enum 2023-10-28 05:07:14 +10: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
Loïc Bartoletti
29369d629a
Merge pull request #54800 from pblottiere/fix_gdalwarp_of
Add safeguard for -of option
2023-10-27 08:24:02 +02:00
Nyall Dawson
e1d08faf63 Don't condense profile results from duplicate layers with the same
name into one entry in the renderer profile chart
2023-10-24 11:16:43 +10:00
Nyall Dawson
a1f9039f12 Fix invalid escape sequences in docstrings for enums with since
annotation
2023-10-24 06:44:46 +10:00
Julien Cabieces
e55de9082c make userData a property so it calls getUserData to avoid crash 2023-10-23 17:03:42 +02:00
Nyall Dawson
1d1b7c99a7 Remove custom FALLTHROUGH define
We don't need this anymore since we require c++17 anyway, and
it raises build warnings due to macro redefinition with newer GRASS
2023-10-23 16:58:17 +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
Sandro Santilli
f42699979c Drop the temporary QgsRectangle::createNull static, not more needed 2023-10-23 10:07:42 +10:00
bdm-oslandia
2d64df22a4 fix(python/CMakeLists.txt): be sure we only use std 14 for python (not std 17) 2023-10-22 10:53:43 +10:00
Sandro Santilli
1df4c52321 Add a QgsRectangle::createNull() temporary static method 2023-10-21 16:07:32 +13:00
Alexander Bruy
fc3e3953a9 unload active plugin before updating or reinstalling it (fix #54968) 2023-10-21 10:58:45 +13:00
Sandro Santilli
94ef53286b Rename QgsBox3d::setMinimal() to setNull()
The method was introduced in this version so it should be ok to
rename with no formal deprecation notice
2023-10-20 07:03:55 +13:00
Sandro Santilli
0ec5f0debb Add QgsRectangle::setNull(), deprecating setMinimal() 2023-10-20 07:03:55 +13:00
Blottiere Paul
385fedd232 Add safeguard to all gdal algorithms 2023-10-19 13:31:42 +02:00
Nyall Dawson
7e73b9bad0 Ensure we correctly set qt item caching only when appropriate 2023-10-19 17:30:10 +13:00