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

[feature] Generation of map tile set more detailled #353

Open
desteny59 opened this issue Jan 13, 2025 · 9 comments
Open

[feature] Generation of map tile set more detailled #353

desteny59 opened this issue Jan 13, 2025 · 9 comments

Comments

@desteny59
Copy link

Hello,

i'm in an offline network and i'd like to zoom on an airport zone. Is it possible to generate lvl15/16 tile set for only the airport zone ?

@wiedehopf
Copy link
Owner

not easily no.

@desteny59
Copy link
Author

ok, what software was used to create the two sets of tiles (9 and 10)? I tried maperitive but it doesn't seem to respect the directory naming...

@wiedehopf
Copy link
Owner

used the data from running a mapproxy back then.
haven't refreshed it since.

sadly openstreetmap makes it very hard to create offline map tiles.
the easiest would just be to download the tiles but that's against the rules.

@wiedehopf
Copy link
Owner

If there was any raster map tile provider that allows it, wouldn't be hard to write a downloader for a small area.

@wiedehopf
Copy link
Owner

Generating map tiles from the around 100 GB of openstreetmap database needs a lot of memory and is a PITA.

@wiedehopf
Copy link
Owner

I suppose i should look at this, they seem to ask for donations but you can load tiles fairly easily: https://openfreemap.org/

It's vector tiles though and i really like raster tiles as they load the browser less and are less of a hassle software wise.
But maybe i'll have a look.

@wiedehopf
Copy link
Owner

And quickly you see there is no quick start for openlayers ... https://openfreemap.org/quick_start/
Maybe i'll try and make those tiles work regardless.

@desteny59
Copy link
Author

Thank you for all these details. I managed to make a set of tiles with maperitive. You have to be careful to have each level of detail (9 -> 10 -> 11 etc.) without forgetting one otherwise it does not work.

@wiedehopf
Copy link
Owner

There is some magic happening in the tar1090 install script.
It checks the max zoom level present in the directory structure and sets offlineMapDetail variable in config.js accordingly.
This way when you zoom past the max zoom level the map doesn't disappear but becomes blurry instead.

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