I am currently setting up an osm stack on my macOS computer. I have set up the rails port for the OSM website and a map tiles server from this GitHub page: GitHub page. I followed the instructions for both installations and set up separate psql databases. Is it possible for the rails port OSM psql database to be the same as the tile server database (in a docker container)? There are instructions on the map tiles GitHub page: "to connect to the PostgreSQL database inside the docker container." Could the OSM server directly use the tile server database or vice versa? Thanks! Edit: I am importing a .pbf file for the OSM psql database, and it seems to be way larger compared to the tile server docker database. How large is a country-sized psql database supposed to be? asked 18 Apr '22, 03:27 Nightilon |
No, this is absolutely not possible. You need to export data from your rails database using e.g. the answered 18 Apr '22, 11:51 Frederik Ramm ♦ Thanks, I think I got it working now with your explanation. Is there a process that can automate the transition from the rails psql database to the tile server psql database?
(18 Apr '22, 16:33)
Nightilon
1
If you want to make changes to your rails database and have these replicated to the tile server, the process for that would be using
(19 Apr '22, 00:21)
Frederik Ramm ♦
|