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

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 ♦
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 ♦
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]( "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: 04 May '14, 19:23

question was seen: 2,583 times

last updated: 16 May '14, 18:43

powered by OSQA