der-stefan / OpenTopoMap

A topographic map from OpenStreetMap and SRTM data

Home Page:https://opentopomap.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use the opentopomap.json en vector directory?

jlstanus opened this issue · comments

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.

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=

  • Open a MapTiler account.
  • Copy the ApiKey.
  • Replace the free.tilehosting URLs with the corresponding MapTiler URLs. (in descending order v3-openmaptiles, hillshade and contours)

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