tumic0 / GPXSee-maps

GPXSee maps

Home Page:https://maps.gpxsee.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenStreetMap Vector Basemap (Esri)

sikmir opened this issue · comments

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?

There are two issues:

  1. Your map definition has the x and y coordinates switched
  2. 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.

Thanks! The map looks really nice.