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

How do I load OSM data into a PostGIS database.

asked 19 Mar '14, 17:00

deco2208's gravatar image

accept rate: 0%

edited 19 Mar '14, 17:01

The switch2osm instructions should help. That was written for PostGIS 1.5, so if you're using a later version some bits will be slightly different (e.g. something like "psql -d gis -c 'create extension postgis;'" instead of "psql -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql -d gis")

permanent link

answered 19 Mar '14, 17:06

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

I don't get it. I went to the site and couldn't find how to set up PostGIS.

(21 Mar '14, 23:11) deco2208

Presumably you read the bit that says "Installing postgresql / postgis"? What did you try and what did not work?

(21 Mar '14, 23:13) SomeoneElse ♦

I would recommend using osm2pgsql. See the page on the OSM wiki

permanent link

answered 25 Sep '14, 00:05

mpmckenna8's gravatar image

accept rate: 0%

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: 19 Mar '14, 17:00

question was seen: 2,394 times

last updated: 25 Sep '14, 00:05

powered by OSQA