22780 Commits

Author SHA1 Message Date
Alessandro Pasotti
fae9f858fe
Merge pull request #55302 from tomass/master
WMS service: option to skip name attribute for groups in wms capabilities document
2023-11-28 08:27:31 +01:00
Andrea Giudiceandrea
746345510c Fix Qgis.SettingsOrigin enum values description 2023-11-28 04:33:47 +10:00
Nyall Dawson
38557ab991 Lint 2023-11-27 14:23:18 +10:00
Nyall Dawson
74dfe786e9 Include details of failing render test callers from Python tests 2023-11-27 14:23:18 +10:00
Nyall Dawson
12556fa502 Expose method to Python 2023-11-27 14:23:18 +10:00
Nyall Dawson
58e2ddb7e5 Drop OTB Processing provider
As discussed in https://lists.osgeo.org/pipermail/qgis-developer/2023-November/066221.html

This plugin needs to be ported to a 3rd party plugin by a motivated maintainer.
2023-11-27 10:09:16 +10:00
Nyall Dawson
4567d97687 Apply suggestions from code review 2023-11-27 06:14:51 +10:00
Patrice Pineault
c28246e0cc Set input combo box to active layer when importing vector data. Fixes #55168 2023-11-27 06:14:51 +10:00
Nyall Dawson
13387d27fe Include links to reference images and source code locations in
markdown report
2023-11-26 17:18:27 +10:00
Nyall Dawson
ee94913fbc Add macros to wrap calls to imageCheck/layoutCheck in c++ tests
So that the source file and line numbers are available for
inclusion in the generated test reports
2023-11-26 17:18:27 +10:00
tomass
c504439ebf Merge remote-tracking branch 'upstream/master' 2023-11-25 18:46:16 +02:00
Loïc Bartoletti
5ac90ce54c
[OGC] Polygon: fix rings order
[OGC] Polygon: fix rings order
2023-11-25 05:45:01 +01:00
Mathieu Pellerin
0ce0b78295
Merge pull request #55146 from nirvn/qml_responsive
[editor widgets] Fix QML editor widget not responsive to attribute changes
2023-11-25 07:35:39 +07:00
Nyall Dawson
98c19b38ac Cleanup qgis.utils.home_plugin_path 2023-11-25 07:40:02 +10:00
Nyall Dawson
7925d7261e Cleanup files 2023-11-25 07:40:02 +10:00
Nyall Dawson
13bc09e706 Remove redundant "import qgis" lines from python files
These were only needed way back in the early days of qgis 3.0
transition, now they have no effect
2023-11-25 07:40:02 +10:00
Loïc Bartoletti
361fbded94 QgsGeometry: use NoOrientation enum and fix some possible nullptr uses 2023-11-24 09:18:02 +00:00
Loïc Bartoletti
0f27fd3b1e QgsGeometry: add methods to return orientation 2023-11-24 07:43:24 +00:00
DelazJ
406e1d6b9a Harmonize user facing labels for GDAL resampling methods 2023-11-24 08:20:32 +10:00
dubravat
e1ba6f5272 Mistype in QgsGeometryUtils::segmentSide description was fixed 2023-11-23 08:28:20 +10:00
Martin Dobias
fbc2082b7e Nyall's review, spelling fixes, clang tidy fixes 2023-11-23 06:36:31 +10:00
Martin Dobias
fdc4ee7994 Add "Render as a surface" option to 2D point cloud renderers
When enabled, we will do Delaunay triangulation of the points in the current
map view, and then render triangles instead of points. For each point we keep
its color for interpolation in the triangle.

Global map shading is also supported with the new option, when enabled, we also
keep elevation of each point, and then rasterize triangles with interpolated
elevations to the provided elevation map.

When "Render as a surface" is enabled, drawing order is ignored, because points
do not obscure other points anymore - all input points participate in the triangulation.

There is also an option to filter large triangles (given by the maximum length of
edge of a triangle), which is useful when one wants to see the actual holes in the data.
Compared to the implementation for 3D rendering, the 2D rendering only provides
filtering based on horizontal length of triangles. Filtering based on triangle size
on the vertical axis seems irrelevant because the 2D view is always from the top.
2023-11-23 06:36:31 +10:00
Nyall Dawson
e494d1a335 Generate markdown report from Python tests too 2023-11-22 05:44:58 +10:00
Matthias Kuhn
b762001968
Merge pull request #55131 from gacarrillor/fix_none_referenced_columns
Avoid None as value for referenced_columns in qgsfunction.py docs
2023-11-19 07:04:00 +01:00
Germap
43511aced2
Update qgsfunction.py, homogenize referenced_columns subsection 2023-11-18 17:53:29 -05:00
Germap
e69f2bf0f8
Update python/core/additions/qgsfunction.py
Avoid using 'slightly' since this could be a considerable performance improvement depending on the provider.

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2023-11-17 17:36:23 -05:00
bdm-oslandia
8d1155dd00 feat(QgsVectorDataProvider): add support for sourceExtent3D function 2023-11-16 14:59:16 +01:00
bdm-oslandia
d3604b5c0b feat(QgsDataProvider): handle 3D extent/boundingbox 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
fa2fe8f776 fix(QgsDataProvider): migrate members from QgsRasterDataProviderElevationProperties to parent class
This allows provider classes to have a useable elevation properties class, for example to know
if the provided data is 3D or 2D. This will be useful to compute 3D/2D extent.
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
bdm-oslandia
21f75ca051 feat(QgsFeatureSource): add sourceExtent3D function 2023-11-16 14:05:52 +01:00
bdm-oslandia
576d810875 feat(QgsMapLayer): add 3D extent handling 2023-11-16 14:05:52 +01:00
bdm-oslandia
76425f6945 feat(qgsxmlutils): add read/write QgsBox3D 2023-11-16 14:05:52 +01:00
tomass
1180128b72 Option to skip name attribute for groups in wms capabilities document 2023-11-15 19:17:17 +02:00
Nyall Dawson
a54fbf092d Add optimised methods to convert GeoJSON geometries to QgsGeometry
Allows direct construction of geometries from raw json objects,
instead of requiring translation through another library's geometry
structures.
2023-11-15 05:24:17 +10:00
Paul Blottiere
8009ac51b2
Merge pull request #54771 from benoitdm-oslandia/feat/fcgi_socket_monitoring_without_qlocalsocket
Feat/fcgi socket monitoring
2023-11-14 11:32:58 +01:00
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
bdm-oslandia
a9321b5de2 fix(server): expose QgsServerResponse::feedback() to the python api 2023-11-10 09:15:04 +01:00
bdm-oslandia
d9b4b3b4f5 feat(server): add closed socket detection to FGCI server
This feature improves feedback/cancel management during the map rendering to handle when
the client closes the in/out socket. This can occur when the client (an http server as
nginx) has a timeout shorter than the rendering time (fe. the rendering is very long due
database issue). Without this feature, the http server may resent new requests to the qgis
server which is busy and can not handle it.

For each new FCGI request, we start a new thread to monitor the incoming socket stream and
detect its closing. If the socket closes before the rendering, we update a feedback object
to cancel the rendering jobs. When the rendering is done, the thread is closed.
2023-11-10 09:15:04 +01: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
Mathieu Pellerin
cb8c062b25 [editor widgets] Fix QML editor widget not responsive to attribute changes 2023-11-08 11:40:48 +07: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