81236 Commits

Author SHA1 Message Date
Nyall Dawson
056ff20591 Add cheat to ensure that tiff items are always shown as single layer
items in browser rather than containers

This isn't strictly true, but this is a cheat to ensure that
the behaviour isn't changed by a semi-related fix
2023-04-04 11:09:36 +10:00
Nyall Dawson
01f8ac83f8 Raster vrt items are containers, so update zip layer test to reflect this 2023-04-04 11:09:36 +10:00
Nyall Dawson
96d203f259 Cleanup includes 2023-04-04 11:09:36 +10:00
Nyall Dawson
54e8097b7c Remove no longer required special handling for mbtile files 2023-04-04 11:09:36 +10:00
Nyall Dawson
3c98201b61 Move methods for handling raster mbtile files into QgsWmsProviderMetadata
Implement all the reuiqred methods for delegating this handling
to the provider
2023-04-04 11:09:36 +10:00
Nyall Dawson
4810e0c9bd Implement querySublayers for mbtiles vector tile provider 2023-04-04 11:09:36 +10:00
Andrea Giudiceandrea
2fb4f894c7 [Geometry Checker] Fix availableResolutionMethods() 2023-04-04 06:25:37 +10:00
Harrissou Sant-anna
5f8c4ae5f5 Add example of flip_coordinates with linestring 2023-04-04 05:12:34 +10:00
Even Rouault
65402bbfc4
Merge pull request #52366 from rouault/fix_52228
[OAPIF provider] OGC API features 2 / CRS related fixes (fixes #52228)
2023-04-03 11:52:34 +02:00
Nyall Dawson
a2b3a0c642 Fix layout legend layer title not immediately updating
Fixes #52261
2023-04-03 18:17:03 +10:00
Nyall Dawson
011637bd9b Filter out annoying qt 'QGestureManager::deliverEvent' warnings from UI
These aren't our fault, so are just noise
2023-04-03 17:49:56 +10:00
Mathieu Pellerin
799b2905d2 [gui][sensors] Remove the need to apply sensor settings 2023-04-03 11:29:28 +07:00
Nyall Dawson
6a7e9292f6
QString fixup 2023-04-03 09:36:21 +10:00
Nyall Dawson
8c63f89a50 Apply suggestions from code review
Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
2023-04-02 20:04:02 +10:00
Nyall Dawson
692d7a76b1 [feature] Expose option to load vector tile sources from files
in Data Source Manager

The Vector Tile tab now includes choices for selecting from a
"Service" (the existing, connection based approach for adding
vector tiles from online sources) or "File" (the new option
which allows directly adding VTPK or MBTiles vector tile files)
2023-04-02 20:04:02 +10:00
Nyall Dawson
e4a84d63a4 Implement uri priority methods for vector tile mbtiles provider metadata 2023-04-02 20:04:02 +10:00
Nyall Dawson
fd11e0b45d Add file filter handling for vector tile layers to QgsProviderMetadata
And move QgsProviderMetadata.FilterType to Qgis
2023-04-02 20:04:02 +10:00
Nyall Dawson
84036c70fd split file 2023-04-02 20:04:02 +10:00
dependabot[bot]
f6562d1974 Bump actions/cache from 3.2.6 to 3.3.1
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.6 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.6...v3.3.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-02 10:05:40 +10:00
dependabot[bot]
5f856b90c4 Bump actions/stale from 7 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-02 09:09:54 +10:00
Andrea Giudiceandrea
0a88dbca86 [Geometry Checker] Fix Minimal polygon area check 2023-04-02 08:21:26 +10:00
Nyall Dawson
8271c2de1c Fix warning 2023-04-02 06:01:48 +10:00
Nyall Dawson
cc2d032055 Add DistanceUnit value for inches 2023-04-02 06:01:48 +10:00
Nyall Dawson
0ff713b127 Fix virtual dispatch in constructor warnings 2023-04-02 06:01:26 +10:00
Nyall Dawson
a0dabca9a7 Expose layer opacity and blend mode control for vector tile layers
This was always supported, just never exposed for user control!
2023-04-02 06:01:26 +10:00
Nyall Dawson
2721e5b5f5 Add standard "Rendering" tab to vector tile layer properties
This was missing for vector tile layers. Add it and populate
with the scale based visibility controls seen for other layer
types.
2023-04-02 06:01:26 +10:00
Nyall Dawson
819544d00d Add source widgets for vector tile VTPK and MBTiles layers
Allows changing the path to the .vtpk / .mbtiles file from the
Layer Properties - Source tab (just like what we expose for
GDAL sources in raster layer properties)
2023-04-02 06:01:26 +10:00
Nyall Dawson
d1c3e8da77 Add Source tab to vector tile layer properties
Match other layer types, and add a Source tab with:

- layer name
- CRS override
- optional provider source widget, for providers which expose this
functionality

This matches the content of the Source tab for other layer types
2023-04-02 06:01:26 +10:00
Nyall Dawson
875be15ea8 Cleanup includes 2023-04-02 06:01:26 +10:00
Even Rouault
50a5c8f037
[OAPIF provider] Part 2: only enable it if Part 2 conformance class is declared 2023-04-01 15:10:59 +02:00
Mathieu Pellerin
3667d28e5c
Merge pull request #52477 from nirvn/sensor_imp
Sensors UI/UX improvements
2023-04-01 19:58:25 +07:00
Mathieu Pellerin
b80ca54bc4 [gui][sensors] Add a introductory label in the project properties sensors panel 2023-04-01 16:59:55 +07:00
Mathieu Pellerin
49d1be6739 [gui][sensors] When applying sensor settings, disable apply button 2023-04-01 16:59:55 +07:00
Mathieu Pellerin
0068efdebe [gui][sensors] Display sensor errors in a message bar within the project properties 2023-04-01 16:59:55 +07:00
Mathieu Pellerin
56e33a9fb6 [sensors] Add sensor error reporting capability 2023-04-01 16:59:55 +07:00
Nyall Dawson
36fcb7902c Fix test 2023-04-01 15:52:50 +10:00
Mathieu Pellerin
732c1e1901 [sensors] Remove action leftover causing console warnings 2023-04-01 12:19:57 +07:00
Juergen E. Fischer
0f5c9db3a7 fix translation string 2023-03-31 23:44:10 +02:00
Juergen E. Fischer
cdac11b16e fix translation string 2023-03-31 23:00:12 +02:00
Yoann Quenach de Quivillic
8b01c62126 Add QgsCodeEditorPython unittests 2023-04-01 05:08:28 +10:00
Yoann Quenach de Quivillic
0a2609662a tweak auto close brackets 2023-04-01 05:08:28 +10:00
Juergen E. Fischer
d5cb7c9ad6 * release.pl: verify upfront that non-rc splash is available on .1 point
release and ltr splash on .4 point release of ltr branches
* scripts/update_ts.sh: keep original branch name
2023-03-31 15:50:54 +02:00
Nyall Dawson
e2aad87e5b Remove ugly processEvents call which causes issues when loading projects 2023-03-31 15:11:12 +10:00
Nyall Dawson
75b07d426e Add dock/undock action to 2d map canvas views
To match the behaviour of 3d canvas views
2023-03-31 15:11:12 +10:00
Nyall Dawson
4466318123 Update test 2023-03-31 14:22:44 +10:00
Nyall Dawson
be1e3f203f Add test 2023-03-31 14:22:44 +10:00
Nyall Dawson
deb12464b5 Add repr for layer tree legend nodes 2023-03-31 14:22:44 +10:00
Nyall Dawson
1ce4453157 no auto 2023-03-31 14:22:44 +10:00
Nyall Dawson
941b0caa49 Add layer tree method to return all selected legend nodes 2023-03-31 14:22:44 +10:00
Nyall Dawson
12c8c9a653 Fix test 2023-03-31 13:17:25 +10:00