NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

https://wiki.openstreetmap.org/wiki/Osmosis/PostGIS_Setup says

psql -d osm -f <path-to-osmosis>/package/script/pgsimple_schema_0.6.sql

I am on Ubuntu. osmosis runs from /usr/bin/osmosis but this is not the path where the scripts reside. Where can I find them?

asked 04 May '14, 19:23

snupo's gravatar image

snupo
966611
accept rate: 0%

edited 16 May '14, 18:43


sudo find / -name pgsimple_schema_0.6.sql -print

naturally only works if the file in question is actually present on your system

permanent link

answered 04 May '14, 19:59

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 04 May '14, 20:00

... or, on a system which supports "locate", as modern Ubuntu versions do by default:

locate pgsimple_schema_0.6.sql

The database that it uses is updated by an "updatedb" process that usually runs from cron once a day. You can run it manually as root if you want to.

(08 May '14, 20:57) SomeoneElse ♦

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:

×252

question asked: 04 May '14, 19:23

question was seen: 2,792 times

last updated: 16 May '14, 18:43

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum