what is the schema for objects in the OpenStreetMap PostGres database? asked 10 Jul '16, 22:22 tgertin |
There are many ways of representing OSM data in PostgreSQL. The one used by the master database tends to be called "API DB", and the Osmosis utility comes with an SQL file to create it. However since the API is continuously improved, if you really want the latest schema, check https://github.com/openstreetmap/openstreetmap-website/tree/master/db. answered 10 Jul '16, 22:28 Frederik Ramm ♦ |