9626 Commits

Author SHA1 Message Date
Alessandro Pasotti
0ddee0b231 Tests for tile size 2023-01-11 18:05:50 +01:00
CodeBardian
a03d5363c8 sipify and astyle 2023-01-11 06:50:25 +10:00
Alessandro Pasotti
889a263352 Linepattern 2023-01-10 18:30:24 +01:00
Alessandro Pasotti
ddd010d037 Tile size algorithm 2023-01-10 17:36:01 +01:00
Alessandro Pasotti
8282358e9f Adjust tile size 2023-01-09 12:18:43 +01:00
Even Rouault
bac117e4f1
Merge pull request #51144 from rouault/wfs_sublayers
[WFS] Improve support of layers with unknown geometry type with Deegree servers
2023-01-09 06:14:09 +01:00
Nyall Dawson
f88c0c3a4c Sipify 2023-01-09 14:35:50 +10:00
Nyall Dawson
b23eb1d250 [feature] New function "load_layer"
This function (available only in Processing expressions for now),
allows loading a map layer via a source string and provider name.

It is designed to allow use of the expression functions which
directly reference map layers (such as the aggregate functions)
with a hardcoded layer path, eg. then permitting these functions
to be used outside of a project (such as via the qgis_process tool)
2023-01-09 14:35:50 +10:00
Nyall Dawson
e670ed334d Allow a "destination" QgsMapLayerStore to be associated with a
QgsExpressionContext, providing a place for layers loaded
during expression preparation/evaluation to be stored

There are no destination stores set by default. The store
is likely to be set only in a limited number of circumstances,
eg in expression contexts used by Processing where we already
have a logical temporary layer store to use (via QgsProcessingContext)
2023-01-09 14:35:50 +10:00
Mathieu Pellerin
cf0dae76b2 [processing] Don't load default style when creating a memory sink 2023-01-07 10:21:37 +07:00
Alessandro Pasotti
ef89f7005f Add PNG export options 2023-01-05 08:38:20 +01:00
Alessandro Pasotti
1ac4dd3451 uniqueFilePath 2023-01-05 08:36:18 +01:00
Even Rouault
8866b0cdad
QgsProviderSublayerTask: make it possible to restrict it to a particular provider
Avoids the 'ERROR: Status 2: File  pagingEnabled='false'
preferCoordinatesForWfsT11='false' restrictToRequestBBOX='1'
srsname='EPSG:25832' typename='dvg:nw_dvg1_bld'
url='https://www.wfs.nrw.de/geobasis/wfs_nw_dvg' version='auto' could
not be found' type of message in the scenario described by
https://github.com/qgis/QGIS/pull/51144#issuecomment-1345507627
2023-01-04 00:15:28 +01:00
Even Rouault
541da34602
Add a QgsProviderMetadata:suggestGroupNameForUri() method and implement it for WFS to have WFS sublayers put in a group 2023-01-04 00:15:27 +01:00
Even Rouault
0c8f0106da
Add QgsGeometry::convertToCurvedMultiType() 2023-01-04 00:07:49 +01:00
Nyall Dawson
7297f7aa9e Fix PyQGIS documentation for QgsFeature.setAttribute
Fixes #51276
2023-01-03 18:16:45 +10:00
Mathieu Pellerin
2aacff1d46
[gps] Catch NMEA UTC times for date-less streams (#51346) 2023-01-01 12:31:15 +00:00
Harrissou Sant-anna
0dffc593e2 Add missing blank line to allow parameters display in docs 2022-12-31 06:56:48 +10:00
Harrissou Sant-anna
f1f7b7ab12 Fix see also blocks misformatting 2022-12-31 06:56:48 +10:00
Alessandro Pasotti
e9b5c3a358 Sipify 2022-12-29 10:34:14 +01:00
Alessandro Pasotti
908c95f40e New text widget 2022-12-28 18:17:36 +01:00
Alessandro Pasotti
0aeb6dc760
Merge pull request #51277 from elpaso/sld-export-options-svg
Add SLD export context
2022-12-28 09:34:12 +01:00
Alessandro Pasotti
f84a0a8647 More doxy 2022-12-21 11:31:25 +01:00
Alessandro Pasotti
644a99dd6e Doxy 2022-12-21 11:26:20 +01:00
Alessandro Pasotti
118c956cff Add SLD export context 2022-12-21 11:09:03 +01:00
Alessandro Pasotti
c552ab64c2 SLD ElseFilter support 2022-12-16 17:05:34 +01:00
Alessandro Pasotti
8b5e9c4b29
Merge pull request #51218 from elpaso/bugfix-gh51200-rat-editing
Raster Attribute Table GUI enhancements/fixes
2022-12-16 13:45:35 +01:00
Harrissou Sant-anna
7da101acbe Fix GeometryOperationResult enums documentation 2022-12-16 11:23:02 +01:00
Harrissou Sant-anna
d249049256 make params easier to find in PyQgsSettingsEntryEnumFlag docs 2022-12-16 11:23:02 +01:00
Denis Rouzaud
b983c5afeb fix docs 2022-12-16 09:09:57 +01:00
Denis Rouzaud
da4865872c [settings] add new type for variant map: QgsSettingsEntryVariantMap 2022-12-16 09:09:57 +01:00
Nyall Dawson
c43b558901 Upgrade raster enums to enum class, and remove some completely unused
enums
2022-12-16 12:01:44 +10:00
Nyall Dawson
769c68b591 [api][expressions] Allow additional map layer stores to be associated
with an expression context

This allows the various expression functions which can refer to
layers to also locate layers stored in these additional,
non-QgsProject::instance, store.

The immediate use case is paving the way for expressions to access
temporary layers created during the execution of processing jobs
(ie model steps). (This is just an API building block toward that
goal)
2022-12-16 03:37:26 +10:00
Nyall Dawson
9a8b8b160d Fix thread safety in raster layer rendering
We were cloning the data provider correctly, but doing this on the
main thread means that the provider has thread affinity with the
main thread -- so we need to ensure it is moved over to the
actual rendering thread prior to the rendering.
2022-12-15 14:50:08 +10:00
signedav
15a6f6a616 remove doc note 2022-12-15 14:42:15 +10:00
signedav
115d822bb8 remove SIP_SKIP on hasCheckedStateInfo and setHasCheckedStateInfo to be able to create full map theme record settings 2022-12-15 14:42:15 +10:00
Nyall Dawson
515ce71df2 Remove unused enum 2022-12-15 12:26:49 +10:00
Alessandro Pasotti
f09aabc96c Raster Attribute Table GUI enhancements/fixes
Fixes #51200 and more small GUI/UX related glitches:

- locale aware double input (consitent behavior with the vector attr
  table and the widgets)
- locale aware double formatting (same logic of the vector fields of type double.
- right-alignment of double fields
- wrong tooltip for last column
2022-12-14 16:07:55 +01:00
Nyall Dawson
8921e696e7 Make iteration of features from vector layers with joins actually thread safe 2022-12-14 18:19:05 +10:00
Alessandro Pasotti
507851224d Server WFS: add srsName support to JSON output 2022-12-14 14:48:22 +10:00
Denis Rouzaud
6c48145e75
Merge pull request #51117 from 3nids/settings-registry-migration-core-2
migrate babel devices settings
2022-12-12 08:57:31 +01:00
Even Rouault
4ee8225acb
Merge pull request #51102 from DelazJ/createMapRendererV2
Correctly render ordered list in maplayerrenderer API docs - take 2
2022-12-09 20:42:50 +01:00
Denis Rouzaud
8ca06eaa96
Merge branch 'master' into settings-registry-migration-core-2 2022-12-09 11:21:52 +01:00
Nyall Dawson
2cecb3fc5d Add API to allow storage of GPS component information in recorded
track/point geometry m values
2022-12-08 15:07:12 +10:00
Denis Rouzaud
99a1390a19 migrate babel devices settings 2022-12-05 10:57:40 +01:00
Denis Rouzaud
a77d626991 API to migrate settings from old key 2022-12-05 10:51:11 +01:00
Harrissou Sant-anna
ef232d5f88 Correctly render ordered list in maplayerrenderer API docs 2022-12-03 11:06:42 +01:00
Nyall Dawson
108934648f Add method to get list of supported related table types for a connection 2022-12-01 12:03:12 +10:00
Nyall Dawson
6b65b42493 [feature] Add key dates to layer/project metadata
This adds the following fields to the QGIS layer/project metadata
standard:

- Date created
- Date published
- Date revised
- Date superseded

(Previously the layer metadata had no date fields, and project
metadata had only the created date field)
2022-12-01 06:56:46 +10:00
Nyall Dawson
026f3cdf7b Add api to retrieve illegal field names via connections api 2022-12-01 06:56:24 +10:00