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

Hi I would like to output changes I have made to the data in my PostGIS database to an OSM PBF file so that I can convert it to a graph file (gph) using Osm2PO.

I am trying to use Osmosis for this but can't seem to get it working. Here are some commands I have tried:

osmosis --read-apidb host="localhost" database="gis" user="username" --write-xml file="filename"

but this fails with various exceptions with an error saying:

ERROR: relation "schema_migrations" does not exist

I also tried using --read-pgsql instead of apidb but it gives an error:

The following named pipes () and 1 default pipes have not been terminated with appropriate output sinks.

Anyone know the best way to do this?


asked 13 Feb '13, 17:35

srose's gravatar image

accept rate: 0%

Be the first one to answer this question!
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: 13 Feb '13, 17:35

question was seen: 3,951 times

last updated: 13 Feb '13, 17:35

powered by OSQA