[QGIS-Developer] Vector Tiles in QGIS: throws "Error loading style: Style not found in database" with 'optional style url'
Richard Duivenvoorde
rdmailings at duif.net
Mon Jul 18 23:55:07 PDT 2022
On 7/18/22 23:00, Patrick Dunford via QGIS-Developer wrote:
> Hi Richard
>
> You could test it with the Linz Basemaps vector tile server
>
> http://basemaps.linz.govt.nz
Ah, thanks, playing with it now...
I first got a 'wrong api key issue', but it appears you can copy the right zxy url from the mentioned website (click the hamburger menu).
Currently it is:
https://basemaps.linz.govt.nz/v1/tiles/topographic/EPSG:3857/{z}/{x}/{y}.pbf?api=c01g8ak5d21sr9ehazp3ftry1zw
(so you need to have that public api key in it which expires, go the the site!).
Style url then is currently:
https://basemaps.linz.govt.nz/v1/tiles/topographic/EPSG:3857/style/topographic.json?api=c01g8ak5d21sr9ehazp3ftry1zw
(now I have to find out how to style this myself, using maputnik or so...)
Thanks again,
Richard Duivenvoorde
More information about the QGIS-Developer
mailing list