I would like to create my own local openstreetmap-website with iD editor and edit local postgres database which was imported with osm2pgsql. Here is the list of tables osm2pgsql made:
openstreetmap-website DB scheme is quite different:
How should I correspond the osm2pgsql and openstreetmap-website DB schemes? asked 11 Aug '14, 11:49 kayrus |
It is not possible to run rendering and an OSM API from the same database. The OSM API needs an "APIDB" database that you create with Osmosis; it has history information and a full set of tags for every object, but no pre-computed geometries. Rendering, or other use cases that depend on osm2pgsql-imported data, depend on pre-computed geometries but do not need all tags and no history. To update your rendering database, you will have to make a change dump from your APIDB database and import that into your rendering database with osm2pgsql ( If this takes too long then you have to either run it on different machines or find other ways to improve your toolchain. answered 11 Aug '14, 13:41 Frederik Ramm ♦ |