Why not ask your question on the new OpenStreetMap Community Forum?

what is the schema for objects in the OpenStreetMap PostGres database?

asked 10 Jul '16, 22:22

tgertin's gravatar image

accept rate: 0%

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.

permanent link

answered 10 Jul '16, 22:28

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Jul '16, 22:22

question was seen: 2,448 times

last updated: 10 Jul '16, 22:28

powered by OSQA