Nyall Dawson
1efd5df8d6
Add method to return total number of tiles in a QgsTileRange
2025-04-24 12:00:42 +02:00
Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
ac71664a83
Fix multiparagraphs in initial class docstrings
2025-03-30 20:48:07 +10:00
Nyall Dawson
519959154a
Fix some overly verbose class "brief" descriptions
2024-08-28 11:58:21 +10: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
Mathieu Pellerin
c23d7eca97
[vector tiles] Fix rendering of styles with a min. zoom level that is higher
...
than the tile maximum zoom level (fixes #53481 )
2023-06-22 17:10:28 +10:00
Nyall Dawson
babfd33acd
Remove outdated see link
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
5d9ea9845a
Move determination of tiles in ranges to QgsTileMatrixSet
...
This gives more flexibility in future to handle known missing tiles or
other special circumstances (eg falling back to lower
zoom level tiles from the matrix set in certain circumstances)
2023-05-10 12:10:13 +10:00
Nyall Dawson
171baf0013
Add equality operators for QgsTileXYZ
2023-05-09 19:41:53 +10:00
Nyall Dawson
35e3d49738
Add repr for QgsTileXYZ
2023-05-09 19:41:53 +10:00
Nyall Dawson
a0fb44b0b0
Fix handling of vector tiles when zoom level 0 is not available
...
E.g. when a vector tile connection has a manually set zoom level
range which doesn't include level 0, we still need this available
for correct tile feature decoding
Fixes #47934
2022-09-27 13:26:03 +10:00
Nyall Dawson
883d31dbc0
Fix calculation of tile zoom levels for ESRI vector tiles when
...
map is in a geographic CRS
2022-03-23 14:10:49 +10:00
Nyall Dawson
1ad8639315
Support reading ESRI vector tile packages (.vtpk) files directly
2022-03-16 14:07:06 +10:00
Nyall Dawson
71e450be03
Apply more flexible approach to match zoom levels expected for ESRI
...
tiles
2022-03-14 13:39:36 +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
59059a9a72
Switch to using QgsMatrixTileSet as common tile set class
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
Jochen Topf
9329891f6b
Make QgsTileMatrix::tileRangeFromExtent() const
...
Because there is no reason for it not to be.
2021-10-23 22:30:22 +02:00
rldhont
95328eea99
Tile Matrix in different CRS
...
Add a new static method to QgsTileMatrix to get tile matrix in different CRS with top left point and scale denominator for 0 zoom level.
2021-09-10 11:44:34 +02:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Alessandro Pasotti
7b2fc4c1f8
More doxy nonsense, pt 2
2021-02-19 08:15:29 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Martin Dobias
a5160086ed
Support TMS convention with vector tiles ({-y} instead of {y})
...
XYZ convention has zero Y at the top and increasing downwards,
but various map servers use TMS convention which has zero Y at
the bottom and rising upwards (within tile matrix)
2020-05-12 12:10:55 +02:00
Martin Dobias
6f746b557e
Add writing of vector tiles to MBTiles container
2020-04-25 14:31:10 +02:00
Martin Dobias
804ac87030
Get rid of qDebug(), wrap strings in QStringLiteral
2020-03-27 21:51:55 +01:00
Martin Dobias
976c0e0ddb
Do not mix class and struct
2020-03-26 21:26:06 +01:00
Martin Dobias
617db5919a
Doxygen, spelling, sip fixes
2020-03-26 21:08:01 +01:00
Martin Dobias
bbc6af5ded
Fixes to python bindings + some bits from code review
2020-03-26 19:31:00 +01:00