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

asked 10 Jul '16, 22:22

tgertin's gravatar image

tgertin
55447
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 ♦
70.7k826421105
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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:

×145
×11

question asked: 10 Jul '16, 22:22

question was seen: 1,652 times

last updated: 10 Jul '16, 22:28

powered by OSQA