Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
2b1aa4e517
Correctly mark code/literal blocks in doxygen
2025-04-02 11:11:10 +10:00
Nyall Dawson
afd2e4f42d
Fix doxygen class briefs which aren't full sentences
2025-04-01 09:44:00 +10:00
Nyall Dawson
ac71664a83
Fix multiparagraphs in initial class docstrings
2025-03-30 20:48:07 +10:00
Denis Rouzaud
5f18ff84a2
make QgsVectorTilesUtils available to Python bindings ( #58989 )
2024-10-07 18:07:48 +02:00
Denis Rouzaud
6d4e343792
[mvt] fix line dash arrays using literals ( #58857 )
...
* [mvt] fix line dash arrays using literals
* Update src/core/vectortile/qgsmapboxglstyleconverter.h
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
---------
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-09-25 07:05:36 +02:00
Nyall Dawson
391b61544e
Handle SIP_OUT with void functions
2024-09-10 11:46:47 +10:00
Nyall Dawson
b39f760cbc
Correctly handle multiline SIP_OUT param documentation
2024-09-10 11:11:25 +10:00
Nyall Dawson
49d31fa527
Fix some malformed docs
2024-08-30 05:47:07 +10:00
Nyall Dawson
519959154a
Fix some overly verbose class "brief" descriptions
2024-08-28 11:58:21 +10:00
qgis-bot
1d361eda2a
auto sipify 🍺
2024-08-16 07:03:08 +00:00
Denis Rouzaud
9d87ecf6ec
Merge pull request #58233 from 3nids/mvt-sprites
...
[mvt] implement step expressions + improve conversion of sprites
2024-08-16 08:59:56 +02:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
be8dce7d0d
Valid improvements from new sipify
2024-08-13 20:28:55 +10:00
Denis Rouzaud
9ddd2de832
implement step expressions
...
fixes #57989
2024-07-25 10:31:12 +02:00
Denis Rouzaud
0d33487aff
[mvt] improve conversion of sprites
...
fixes some cases where the sprite was not defined (mainly when data defined) + support step definition
2024-07-25 10:31:12 +02:00
Nyall Dawson
6f652d251b
Drop no-value copy constructor dox
2024-07-25 04:02:55 +10:00
Mathieu Pellerin
1f1d1f981c
[vector tile] Add a pair of function to QgsVectorTileLayer to toggle labels rendering just like QgsVectorLayer
2023-06-27 20:43:33 +07:00
Nyall Dawson
327a069e1c
Handle VTPK tile data with zero sizes by falling back to lower
...
zoom levels for the tile's data
It seems that every VTPK behaves a bit like an indexed VTPK
where higher zoom level tiles may be replaced with lower
zoom level tiles. This new special handling is required
for non-indexed VTPKs where the high zoom level tile data
is empty, but there's not explicit tilemap present to
advise of us this situation in advance.
Fixes #52872
2023-05-22 12:50:51 +10:00
Nyall Dawson
27a4336f50
When rendering lower zoom level tiles vs actual render zoom level
...
due to presence of tilemap, ensure that we always use the actual
render zoom level to match styles for the tile instead of the
zoom level corresponding to the tile
Otherwise we'll be rendering different rules depending on the
actual tile source, when we should always use the actual
rules for the current map scale
2023-05-16 19:57:02 +10:00
Nyall Dawson
bc2cc98790
Read ESRI tilemaps in vtpk and arcgis tile services
...
This allows us to correctly handle "indexed" vector tile sets,
where higher zoom level tiles may be missing where a lower
zoom level tile is deemed to have sufficient detail for higher
zoom levels.
2023-05-16 19:57:02 +10:00
Nyall Dawson
af02946e51
Expand docs
2023-04-22 17:54:35 +10:00
Nyall Dawson
aadfbab40f
Split vector tile classes into separate files
2023-03-21 03:49:39 +10:00
Mathieu Pellerin
75bf0f31a3
Better fix (faster rendering, works for PDF, better during progressive rendering)
2023-03-14 19:07:39 +07:00
Nyall Dawson
046883fa9c
Promote QgsWkbTypes enums to enum class, move to Qgis
2023-02-22 12:39:21 +10:00
Nyall Dawson
f9c3da1e06
Move unit enums to Qgis, promote to enum class
2023-02-19 13:29:06 +10:00
Nyall Dawson
fb3c110d08
Arrange includes
2022-10-13 08:47:43 +10:00
Nyall Dawson
356974e401
When loading a new vector tile source into a project, if the associated
...
MapBox GL style includes any raster sublayers, then also load those
into the project with converted styles.
Fixes #46593
2022-07-08 16:06:19 +10:00
Nyall Dawson
6bb01c80f3
Convert raster sublayers in mapbox gl style layers, including
...
data defined layer opacity
2022-07-08 16:06:19 +10:00
Nyall Dawson
31fc7405d1
Add method to convert raster source to QgsRasterLayer
2022-07-08 16:06:19 +10:00
Nyall Dawson
dd3058eb42
Add support for parsing raster sources to QgsMapBoxGlStyleConverter
2022-07-08 16:06:19 +10:00
Nyall Dawson
56912b1602
Don't select invisible features
2022-07-08 09:12:46 +10:00
Nyall Dawson
542015a3df
Implement toggling support for selecting single features
2022-07-08 09:12:46 +10:00
Nyall Dawson
1f48f16b2f
Render selected features on top of vector tile layer
2022-07-08 09:12:46 +10:00
Nyall Dawson
721bcaab66
Implement API for selecting features in a vector tile layer
2022-07-08 09:12:46 +10:00
Nyall Dawson
54a979c600
Handle stops in text-field when converting mapbox styles
2022-06-21 11:10:55 +10:00
Nyall Dawson
0acfff04fb
Fix setting vector tile layer maximum tile zoom to levels > 14
...
Fixes #47933
2022-04-04 13:28:41 +10:00
Nyall Dawson
bc0b982e26
Read metadata from vtpk files
2022-03-16 14:07:06 +10:00
Nyall Dawson
1ad8639315
Support reading ESRI vector tile packages (.vtpk) files directly
2022-03-16 14:07:06 +10:00
Nyall Dawson
222ce1b5ab
Don't apply tile scale doubling hack to esri generated vector tiles
...
We shouldn't apply this hack if we want to match ESRI's zoom to scale
level handling
2022-03-11 12:09:32 +10:00
Nyall Dawson
2faa91a327
Remove redunant z0 extent members
2022-03-11 12:09:32 +10:00
Nyall Dawson
59059a9a72
Switch to using QgsMatrixTileSet as common tile set class
2022-03-11 12:09:32 +10:00
Nyall Dawson
549398dec1
Spelling
2022-03-11 12:09:32 +10:00
Nyall Dawson
508a87dd4f
Correctly load arcgis vector tiles in non-EPSG:3857 crs
2022-03-11 12:09:32 +10:00
Nyall Dawson
b39761f8f0
Ensure that non-EPSG:3857 vector tiles layers can be rendered in the
...
correct place
This fixes the rendering of vector tiles layers which are constructed
in any non web mercator CRS.
(Unfortunately the required information is not recorded in mbtiles
packages, so it's necessary to set the correct parameters via
API calls when trying to load non-3857 mbtiles.)
2022-03-11 12:09:32 +10:00
Nyall Dawson
caee2cabbd
Add Qgis::MapLayerProperty flag for layers which should be considered
...
as "basemap" layers
This flag identifies if the layer is considered a 'basemap' layer, where
certain properties of the layer should be ignored when calculating
project-level properties. For instance, the extent of basemap layers
should be ignored when calculating the overall extent of a project,
as these layers are typically global and extend outside of a project's
area of interest.
2022-02-24 16:20:51 +10:00
Mathieu Pellerin
91c5364666
[vectortile] Fix mapbox gl converter line-dasharray handling ( #46082 )
2021-11-18 05:38:31 +00:00
nirvn
4b868bef06
[vectortile] Support the 'background' concept for vector tile rendering
2021-11-13 03:23:06 +07:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09
Run sipify_all.sh
2021-10-12 16:34:05 +10:00