der-stefan / OpenTopoMap

A topographic map from OpenStreetMap and SRTM data
https://opentopomap.org
Other
455 stars 118 forks source link

How to use the opentopomap.json en vector directory? #352

Open jlstanus opened 8 months ago

jlstanus commented 8 months ago

How to use the opentopomap.json en vector directory? I tried to use it in Mapbox or maptiler. But the rendering is not working. Could someone gives some information?

With QGIS and maptiler plugin, it worked partially.

afgb1977 commented 8 months ago

You should change the vector URLs, the .json style is from a few years ago and some URLs (https://free.tilehosting...) have stopped working. The easiest method is to use MapTiler, do the following=

The identification of the layers is different in each provider, that is why the style works partially as you say.

To use the style OTM in MapBox the process is different and more complicated.

I attach my modified OpenTopoMap .json style to be used in OruxMaps, I added 3D, I will only omit my ApiKey MapTiler, you must put your own ApiKey MapTiler.

P.S. I want to take this space to ask the developer for a review and update of the json style, the style is fabulous but it has not had any changes in 5 years.

P.S.2. OpenTopoMap is the best topographic map I have used, I use 3 variants that accompany me every day: OTM online, json style and OTM .img. Thanks to the developers for continuing to work on it.

P.S.3. I see that OTM is being updated every month after the break since January. It is possible to add a lat/lon grid to the online site?.

OpenTopoMap.json

OTM-1 OTM-2