Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jlstanus opened this issue Oct 27, 2023 · 1 comment
Open

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

jlstanus opened this issue Oct 27, 2023 · 1 comment

Comments

@jlstanus
Copy link

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
Copy link

afgb1977 commented Nov 24, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants