231 Commits

Author SHA1 Message Date
Germán Carrillo
8b706bac64 [core] Add option 'Use only selected features' to DXF export 2024-03-12 12:07:42 +10:00
Mathieu Pellerin
12bc99414c
Merge pull request #56779 from nirvn/sensor_serial_delimiter
Serial port sensor's data frame delimiter
2024-03-11 15:03:17 +07:00
Mathieu Pellerin
681b83598c
Merge pull request #56655 from nirvn/valuerelation_groupby
[editor widgets] Implement value relation's grouping functionality
2024-03-11 14:55:14 +07:00
mhugent
53153b5c5b
Merge pull request #56428 from mhugent/dxf_data_defined_blocks
Create DXF blocks for point symbols with data defined properties
2024-03-11 07:36:40 +01:00
Mathieu Pellerin
4394ceafbe [editor widgets] Store value relation's group values as variants 2024-03-11 11:40:55 +07:00
Mathieu Pellerin
848a1f3d3b [editor widgets] Implement value relation widget's grouping for combobox and table widgets 2024-03-11 11:40:55 +07:00
Mathieu Pellerin
0995197eb6 Address review 2024-03-11 09:32:40 +07:00
Mathieu Pellerin
6619dc738b [sensors] Add new data frame delimiter option for the serial port sensor 2024-03-10 09:33:17 +07:00
Nyall Dawson
9d281971d5 Add QgsCoordinateReferenceSystem method to create a compound CRS 2024-03-10 12:19:04 +10:00
Nyall Dawson
b2c1fff11a [api] Add method to retrieve vertical CRS from QgsCoordinateReferenceSystem
Returns the vertical CRS associated with this CRS object.

In the case of a compound CRS, this method will return just the vertical CRS component.

An invalid CRS will be returned if the object does not contain a vertical component.
2024-03-10 06:40:39 +10:00
Nyall Dawson
07294f7252 Add elevation range to QgsProjectElevationProperties
And expose through Project Properties elevation settings widget

This setting allows users to specify the upper and lower
elevation limits associated with the project. (I.e. its an
equivalent to QgsProjectTimeSettings::temporalRange)
2024-03-09 06:57:53 +10:00
Nyall Dawson
7892bd855b Register QgsIntRange/QgsDoubleRange as metatypes 2024-03-09 06:57:53 +10:00
Julien Cabieces
533a7170ec update version 2024-03-06 19:07:05 +01:00
Julien Cabieces
101a5cccf7 [Feat] Add crs information in WMS GetFeatureInfo output 2024-03-06 19:07:05 +01:00
Matthias Kuhn
912ae75fb0
Merge branch 'master' into no-leak-build-path 2024-03-04 09:10:53 +01:00
Nyall Dawson
e22a1d605b [feature][layouts] Add z range filter option for layout maps
Similar to the existing setting for temporal filtering of 2d layout
maps, this setting allows users to set a specific elevation/z range
for a layout map item. When set, map layers with support for 2d
z range filtering (currently point clouds and raster DEMs) will
be filtered to show only content within this range.

The z range can be data-defined, allowing differing z range
for different atlas or report features.
2024-03-04 17:00:24 +10:00
Nyall Dawson
24edefb684 Add extent based filtering for SensorThings layers
Allows users to set an extent limit for the layer, so that
features are only ever loaded within this extent

The extent can be set from the data source manager before adding
the layer initially, or modified from the layer properties, source
tab.
2024-03-04 08:26:10 +10:00
Nyall Dawson
bb379242fc Add filter for provider origin fields only to QgsFieldProxyModel 2024-03-04 08:14:01 +10:00
Nyall Dawson
4284b8645b Use vector instead of list for better performance
This container is expected to have only a handful of items in it
in most cases and will rarely change => QVector is a better choice
2024-03-04 07:25:51 +10:00
Nyall Dawson
c40a1ef3bb Further cleanups to QgsRasterTransparency API
Avoid confusing mix of transparency vs opacity, multiple scaling
and round trips through integers.
2024-03-04 07:25:51 +10:00
Nyall Dawson
c162375965 [api] Add explicit setting for includeMinimum/Maximum
to QgsRasterTransparency.TransparentSingleValuePixel. Allows (via
API only) control over whether the extremities of the range
should be included in the transparency.

Also add equality operator, repr to these classes, and additional
tests
2024-03-04 07:25:51 +10:00
Nyall Dawson
65ba3ddfef Cleanup QgsRasterTransparency API
- Make classes less like to be created with uninitialized members
- Use opacity instead of transparency, to match API from elsewhere in
  QGIS
2024-03-04 07:25:51 +10:00
Even Rouault
a68422b982 Various typo fixes
Including 3 public methods, which are deprecated by this commit and replaced by a typo-fixed version
2024-02-29 06:03:03 +10:00
Marco Hugentobler
3abf199f5f Change method naming and comments 2024-02-28 18:06:12 +01:00
Nyall Dawson
80c0c385f8 Use better python repr for null QgsRectangle 2024-02-28 13:00:01 +10:00
Jacky Volpes
8983852288 Note precision about method becoming public 2024-02-28 12:34:26 +10:00
Jacky Volpes
fdc64b79a0 Sipify 2024-02-28 12:34:26 +10:00
Nyall Dawson
ebea330398 Add data provider flags for FastExtent2D/FastExtent3D
These flags reflect that retrieval of the provider's 2D or 3D extent
retrieval via QgsDataProvider::extent()/extent3D() are ALWAYS guaranteed
to be trivial/fast to calculate and involve absolutely no extra work.
2024-02-28 06:04:50 +10:00
Even Rouault
f36caa7274 [Qt6] Fix crash with Python on QgsLocatorResult::userData (fixes #56456) 2024-02-28 06:04:20 +10:00
mhugent
2392d877e0
Merge branch 'qgis:master' into dxf_data_defined_blocks 2024-02-26 09:06:16 +01:00
Mathieu Pellerin
f2d70de878 Address review 2024-02-26 11:43:23 +07:00
Mathieu Pellerin
e79bd538b6 [network logger] Insure the actual request URL is properly reflected in the logger 2024-02-26 11:05:12 +07:00
Matthias Kuhn
60940bfe16 Do not leak build env paths into public headers 2024-02-24 21:48:32 +01:00
Alessandro Pasotti
db37ff8fc9
Merge pull request #56334 from elpaso/bugfix-gh55532-line-break-in-html-labels
[labeling] fix BR in HTML labels
2024-02-23 09:28:08 +01:00
Nyall Dawson
58e31ad3c0
Revert "Restore default metadata from DB" 2024-02-23 09:12:26 +10:00
Nyall Dawson
ed43556c93 Don't show misleading null in variant warnings when converting objects
for Python

This isn't something we are doing wrong, it's how sip handles these
objects.
2024-02-23 05:41:22 +10:00
Nyall Dawson
7d0d81f373 Add setters for QgsWeakRelation layer sources 2024-02-21 12:31:15 +10:00
Alessandro Pasotti
1850b9b2e6
Merge pull request #55924 from elpaso/bugfix-gh55726-restore-default-metadata
Restore default metadata from DB
2024-02-20 18:14:51 +01:00
Even Rouault
ca336f7810
Merge pull request #55847 from rouault/wfs_complex_content
[WFS provider] Handle documents with Complex Feature schemas (using OGR GMLAS driver), and JSON'ify content of complex properties
2024-02-20 09:32:58 +01:00
Even Rouault
c331244989 [Vector file writer] Save source field domains to output file (fixes #56184) 2024-02-20 10:24:47 +10:00
Even Rouault
be57a36ffd
QgsOgcUtils: take into account properties with a complex XPath 2024-02-19 18:53:34 +01:00
Even Rouault
0108743033
QgsGmlStreamingParser: take into account complexContent and JSON'ify it 2024-02-19 18:53:33 +01:00
Even Rouault
d26b498192
Merge pull request #56223 from rouault/remove_obsolete_since
Remove obsolete "since QGIS 1.x/2.x/3.0" mentions
2024-02-19 14:52:21 +01:00
Even Rouault
d6d4802685
Remove obsolete since 1.x 2024-02-19 11:35:09 +01:00
Even Rouault
f3ef66d073
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-19 11:35:07 +01:00
Marco Hugentobler
40e813231a Move data defined symbol hash to dxf class 2024-02-19 09:04:54 +01:00
Vytax
88ac2056a3
ArcGIS URL's with web proxy prefix support
Support of the ArcGIS server links with WEB Proxy prefixes
2024-02-19 15:15:55 +10:00
Nyall Dawson
da594b18f5 Add python __repr__ for QgsInterval 2024-02-19 07:36:08 +10:00
Even Rouault
d72e2cc0ac
Add \deprecated 2024-02-18 20:57:23 +01:00
Even Rouault
844e2a953f
Add missing parameter documentation 2024-02-18 20:57:23 +01:00