81249 Commits

Author SHA1 Message Date
Nyall Dawson
9b860f69e1 Update comment 2023-03-27 20:58:08 +10:00
Nyall Dawson
107e206ccb Expand documentation 2023-03-27 20:58:08 +10:00
Nyall Dawson
95786c347d Add QgsTextRenderer method to render text along a line/curved path 2023-03-27 20:58:08 +10:00
Nyall Dawson
4ec8213475 Fix some build warnings on mingw windows builds 2023-03-27 12:59:59 +10:00
Andrea Giudiceandrea
58f6fe3394 Fix PROJ version string in "Help->About" window 2023-03-27 08:31:43 +10:00
Nyall Dawson
a3d5f1c4c7 Indentation 2023-03-26 20:21:56 +10:00
Nyall Dawson
2b962d2a03 Update test mask 2023-03-26 20:21:56 +10:00
Nyall Dawson
856f626722 [layouts] When legend filtering is enabled for multiple maps,
ensure that the visible layers for each map is correctly considered
when determining what symbols are overall visible

AKA make multiple map filtering work nicely alongside map themes
2023-03-26 20:21:56 +10:00
Nyall Dawson
030c4f9208 Deprecate confusing old legend filtering API 2023-03-26 20:21:56 +10:00
Nyall Dawson
3b664137f8 Use newer API for layout legend 2023-03-26 20:21:56 +10:00
Nyall Dawson
1742934be5 Add more flexible/understandable api for setting layer tree legend filters
And update existing broken tests which are incorrectly showing
symbols which should not be visible in the legend
2023-03-26 20:21:56 +10:00
Juergen E. Fischer
efee735536 fix msvc build 2023-03-26 11:53:58 +02:00
Mathieu Pellerin
99f8005d6b [sensors] Add a sensor model class 2023-03-26 11:21:19 +07:00
Even Rouault
0a6056aa09
[WFS/OGCAPI] In source select dialog box, better handle list of CRS
- Use an orderered list instead of a set, so that the first element
  is really the preferred one
- Do not trust the project CRS if the project has no layers: it is
  better to rely on the preferred CRS of the source instead
2023-03-24 13:22:58 +01:00
Even Rouault
c8f0b104ce
[OAPIF provider] OGC API features 2 / CRS related fixes (fixes #52228)
- Takes into account storageCrs in /collection response to get the
  default crs in priority
- Append &crs=... to /items requests when the crs is not OGC:CRS84
- Make sure geometry axis order is flipped to easting/northing or
  long/lat when reading geometries from a CRS with inverted axis order
- Report the list of available CRS in the dialog box where one can
  select one
- Resolve "#/crs"
2023-03-24 13:22:58 +01:00
Mathieu Pellerin
d2b117a3c8 [sensors] Brand new sensors framework (manager, registry, sensor types) 2023-03-24 15:28:47 +07:00
Nyall Dawson
8ea56a8e01 Fix sort ordering 2023-03-24 13:15:11 +10:00
Nyall Dawson
bb60902e66 Fix another clang tidy warning 2023-03-24 13:15:11 +10:00
Nyall Dawson
91e7ac6e30 Fix clang-tidy warnings 2023-03-24 13:15:11 +10:00
Nyall Dawson
d2b226c754 Allow sorting db query panel 2023-03-24 13:15:11 +10:00
Nyall Dawson
610aa6ae57 Show a "time" column in db query logger, with color coded bars
illustrating the most costly queries logged

Brings this helpful visualisation technique from the startup profiler
over to the db query log, so that you can easily identify the
slowest queries when a whole bunch of queries are recorded.
2023-03-24 13:15:11 +10:00
Nyall Dawson
d1d38a3bd3 Fix crash in Fix Geometries algorithm on GEOS < 3.10
Fixes #50888
2023-03-24 12:39:46 +10:00
Luke Pinner
aba9dfbcd3
[feature][processing] Add skip/src/dstnodata params to gdal2xyz 2023-03-24 12:17:46 +10:00
Nyall Dawson
ff9a4caa06 Use correct icon for vector tile files in browser 2023-03-24 11:50:55 +10:00
Nyall Dawson
c9f836f55f Minor cleanup to type handling 2023-03-24 11:50:55 +10:00
Nyall Dawson
15499d997f Special handling for dropping vtpk layers is no longer required 2023-03-24 11:50:55 +10:00
Nyall Dawson
7031bc3cdc Show VTPK files in browser
Implement required methods in vtpk provider metadata so that
VTPK files are shown in the browser panel as valid vector tile
layer sources.

Allows for easy addition of vtpk sources to projects, and easy
fixing of broken vtpk layer paths
2023-03-24 11:50:55 +10:00
Nyall Dawson
5c813af729 Avoid trying to fetch sprites for vtpk sources 2023-03-24 11:50:55 +10:00
Nyall Dawson
7e93aae4b1 Fix some TODOs 2023-03-24 11:50:55 +10:00
Nyall Dawson
25ac9b26e7 Cleanup mbtiles uri handling 2023-03-24 11:50:55 +10:00
Nyall Dawson
4848b3152f Fix missing shortcut to open folders in change data source dialog for some layer types 2023-03-24 11:50:55 +10:00
Nyall Dawson
bd5316154a Cleanup and fix vtpk data provider encode/uri handling 2023-03-24 11:50:55 +10:00
Nyall Dawson
f499f49e09 Expose "Change Data Source" option for file-based vector tile layers 2023-03-24 11:50:55 +10:00
Nyall Dawson
41b9a4d912 Correctly set layer validity for vector tile layers 2023-03-24 11:50:55 +10:00
Nyall Dawson
da9eb09be0 Allow layer tree indicators on vector tile layers 2023-03-24 11:50:55 +10:00
Nyall Dawson
5bd4648a05 Update since 2023-03-24 11:11:46 +10:00
Nyall Dawson
9e9eef3ae6 Expand docs 2023-03-24 11:11:46 +10:00
Nyall Dawson
d37c0b5ce3 Ensure custom field metadata properties can be set/accessed from Python 2023-03-24 11:11:46 +10:00
Nyall Dawson
a87db9c91c Add capacity for storing additional metadata/properties in QgsField
This adds the API framework for storing additional, semi-structured
properties inside QgsField objects. The intention is that strong
field-type specific properties can be stored.

Eg for a geometry field type coming from the postgres provider
the metadata can be used to store the associated CRS and WKB types
so that clients can be aware of the correct format required for
geometries stored in that field. Instead of cluttering the QgsField
API with specific getters/setters for properties like crs(), wkbType(),
etc which only apply for a certain field type, the metadata map
approach helps us keep the API nice and slim.

The API has been designed to follow the approach used by various
Qt objects (such as QTextFormat) where a preset set of keys
are exposed as an enum, but additional ones can be used for
custom property storage. This allows for a more structured
use of properties with conventions which apply across different
providers (as opposed to a free-form string key approach).

Refs #49380
2023-03-24 11:11:46 +10:00
Harrissou Sant-anna
462b4be0b6 Missing comma in old versions list 2023-03-24 07:26:30 +10:00
Harrissou Sant-anna
7b007026ca Mention where source code is 2023-03-24 07:26:30 +10:00
Jean Felder
70debe9787 qgs3dmapcanvaswidget: Allow to draw the extent on the 2D map canvas
This adds a QgsRubberband in the 2D map canvas similar to the one used
to display the Frustum.

The option can be enabled in the General section of the 3D
configuration widget.
2023-03-24 07:09:55 +10:00
Jean Felder
06e575f993 qgs3dmapcanvaswidget: Fix some labels capitalization 2023-03-24 07:09:55 +10:00
Jean Felder
f4d1984963 qgs3dmapcanvaswidget: Use QObjectUniquePtr for frustum rubberband 2023-03-24 07:09:55 +10:00
Yoann Quenach de Quivillic
fc39f9c7ce QgsStatusBar::removeWidget hides the widget (like QStatusBar::removeWidget) 2023-03-24 07:06:58 +10:00
Yoann Quenach de Quivillic
2999d59ed7 Set an object name to the QgsLocatorWidget 2023-03-24 07:06:58 +10:00
Even Rouault
96c2482c68 Vector file writer: add GML2 choice, and default to GML3.2 which is the default since GDAL 3.4 2023-03-24 06:49:08 +10:00
Juergen E. Fischer
fd05823cfd fix build 2023-03-24 06:48:59 +10:00
Alex
5a0fba972e
[processing] Multilayer selection drop support
Adds drop support for layers in the multiple layer selection widgets to more efficiently select the desired elements. Especially useful in big project of with duplicated layer names.
2023-03-24 06:47:11 +10:00
Harrissou Sant-anna
e1e5492045 More ::set-output removals 2023-03-24 06:46:20 +10:00