OpenStreetMap Vector Basemap (Esri)
sikmir opened this issue · comments
Nikolay Korotkiy commented
Esri introduced OpenStreetMap Vector Basemap, freely available to any user or developer. I've tried the following:
<?xml version="1.0" encoding="UTF-8"?>
<map xmlns="http://www.gpxsee.org/map/1.4">
<name>OpenStreetMap Vector Basemap</name>
<url>https://basemaps.arcgis.com/arcgis/rest/services/OpenStreetMap_v2/VectorTileServer/tile/$z/$x/$y.pbf</url>
<tile type="vector" size="512"/>
<copyright>© Esri, © OpenStreetMap</copyright>
</map>
But it doesn't work. Any ideas?
Martin Tůma commented
There are two issues:
- Your map definition has the x and y coordinates switched
- You need (yet another) special style for the map
I have fixed the map definition and commited it here as well as put the Esri style to the QtPBFImagePlugin-styles repository. There is still one issue with the map - some POI labels are rendered broken which indicates that the map features do not have globally unique IDs (same problem as with the Ordnance Survey maps), but I have not yet checked that.
Nikolay Korotkiy commented
Thanks! The map looks really nice.