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

Map tiles with contour lines and height colouring added to our design #86

Open
tsobuskerudbyen opened this issue Oct 11, 2023 · 7 comments
Assignees

Comments

@tsobuskerudbyen
Copy link

Came across this solution - https://mathiash98.github.io/trail-map-generator/#11.43/61.8265/9.0876. Can this, or something similar be added to sykkelveier.no?

@Beck-berry
Copy link
Contributor

He uses the Terrain-DEM template of mapbox. As far as I can see, we have a fully customized map style (e.g. custom layouts for landuses) and we should remove some of that.
@leonardehrenfried do you know an easier solution? Am I on the wrong path?

@Beck-berry
Copy link
Contributor

Also, this maplibre-gl PR might be interesting.

@leonardehrenfried
Copy link
Contributor

@Beck-berry If you can investigate that, this would be great. The problem will be getting the data.

@tsobuskerudbyen
Copy link
Author

tsobuskerudbyen commented Mar 15, 2024

Any news on this one? And isn't the data available on the Github link?

@Beck-berry Beck-berry moved this to Todo in Cycling Norway Mar 20, 2024
@Beck-berry
Copy link
Contributor

I found another solution: openmaptiles/maptiler-terrain-gl-style Do you like this one, @tsobuskerudbyen?

@tsobuskerudbyen
Copy link
Author

Perfect. Try it out. Thanks!

@Beck-berry
Copy link
Contributor

The example you provided uses MapBox, which could generate additional costs: https://www.mapbox.com/pricing But there are multiple map styles, we could choose from: https://docs.mapbox.com/data/tilesets/reference/

I also found the "pure" elevation data without any styling for Norway, that would have a one-time (or annual if updated) cost: https://data.maptiler.com/downloads/europe/norway/


I experimented with onthegomap/maplibre-contour and used their source to create a (not too pretty) example for Drammen:

Image

However I'm unsure whether we should use their source in production.

I found another repo skylarmt/openmaptiles-contourlines that might help get the necessary data, I'll check that next.
(Also tilezen/joerd could be useful for generating our own source.)

@Beck-berry Beck-berry moved this from Todo to In Progress in Cycling Norway Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

3 participants