Skip to content
Discussion options

You must be logged in to vote

For loading data into postgis, the tool you want to look at is osm2pgsql.
I am not sure if this is the best course of action for you.

Choosing a postgres db for your basemap is not going to be great performance wise.
For your base map you want it pre-tiled in an mbtiles/pmtiles format.
Doing this at runtime is fairly expensive for the higher zoom levels.

Here is our guide on how to set up this part:

https://maplibre.org/martin/recipe-basemap-postgis.html

You can run planetiler to generate your planet every day, the basemap usually does not need to be that fresh.
You can then overlay the dynamic data you need to be very fresh.

Does this answer your question?

Btw:
Osmf is happy to provide t…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@hadjiprocopis
Comment options

Answer selected by CommanderStorm
Comment options

You must be logged in to vote
1 reply
@hadjiprocopis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants