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
816611
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 ♦
40.5k13298643
accept rate: 19%

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 ♦
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:

×229

question asked: 04 May '14, 19:23

question was seen: 2,098 times

last updated: 16 May '14, 18:43

powered by OSQA