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

[no-need-to-merge] After geocoding, self-host pmtiles #4960

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hexylena
Copy link
Member

@hexylena hexylena commented May 24, 2024

I really like our new map theme which focuses on public transit, https://www.öpnvkarte.de/
I found it on the 'free tileservers' list and I believe we are safe to use it.

Absolutely. The map is available under the conditions of the CC-BY-SA and ODbL licences (also for commercial use). That means you have to give information about the data source at a suitable place. This can be done for example by an attribution like "Map memomaps.de CC-BY-SA, map data Openstreetmap ODbL".

But in case we ever can't, here's our backup. Based on https://til.simonwillison.net/gis/pmtiles, this'll add an extracted .pmtiles to the event, next to the event, with the relevant map data. They're about 2.7 MB each which is heavy but, also aproximately the size of galaxy's libs.js (and they still need 'analysis' at 2.8, and 'app' at 2.1 MB) so, I think we're fine.

i'll setup the PR in a separate action anyway (for the geocoding, #4961)

todo:

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

Successfully merging this pull request may close these issues.

1 participant