This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

osm databases

2

Postgres database populated via osmosis is for mkgmap, postgres database populated via osm2pgsql is for mapnik. Is there a way to have only one database for creating tiles and also for creating gmapsupp.img?

asked 24 Sep '11, 06:18

gwk's gravatar image

gwk
36225
accept rate: 0%


One Answer:

2

There is a theoretical possibility to use views to simulate different database schemas from one source but the performance of that is so low that it is impractical.

answered 24 Sep '11, 07:10

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .