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

Offline use #19

Open
gertst opened this issue Oct 28, 2020 · 3 comments
Open

Offline use #19

gertst opened this issue Oct 28, 2020 · 3 comments
Labels

Comments

@gertst
Copy link

gertst commented Oct 28, 2020

Thanks for the great effort you all did for making this available!

Is there a way to download the tiles (only a few zoom levels) and use them locally using Leaflet.js?
Is this legally ok?
If yes, what tool can be used to do so?

Gert

@jbelien
Copy link
Member

jbelien commented Oct 28, 2020

Hello @gertst ,

There is no way to download the tiles from https://tile.openstreetmap.be/.
It's not allowed to bulk scrap all the tiles from https://tile.openstreetmap.be/ either because it would cause a charge on the server too heavy.

If you want to have your tiles locally, I would suggest to render it yourself.
You can have a look at the documentation here : https://github.com/jbelien/openstreetmap-carto-be/wiki/Install-Rendering-(Ubuntu-18.04)

@gertst
Copy link
Author

gertst commented Oct 28, 2020

Thanks for the quick reply.
I was a bit afraid that this would be difficult. As an alternative I will look for a GeoJSON vector file with contours for Belgian provinces and municipalities. Any idea where this should be available?

Thanks!
Gert

@jbelien
Copy link
Member

jbelien commented Oct 28, 2020

You could use official data : https://statbel.fgov.be/fr/open-data/secteurs-statistiques-2020

Or from OpenStreetMap, use Overpass to export what you need:

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

No branches or pull requests

2 participants