NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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?

Thanks

asked 13 Feb '13, 17:35

srose's gravatar image

srose
161101016
accept rate: 0%

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:

×710
×315
×252
×165
×134

question asked: 13 Feb '13, 17:35

question was seen: 4,420 times

last updated: 13 Feb '13, 17:35

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