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

Hello all

I am trying to export part of database by using osmosis.

My commands:

osmosis --read-apidb host="xxxx" database="xxxx" user="xxxx" password="xxxx" validateSchemaVersion=no --way-key-value keyValueList="railway.tram" --usednode --write-xml file="test.osm"

osmosis --read-apidb host="xxxx" database="xxxx" user="xxxx" password="xxxx" validateSchemaVersion=no --tf accpet-ways highway=motorway --usednode --write-xml file="test.osm"

both commands export complete data of database! I tried --bounding-box option, doesn't work either. Full database has been exported.

Is there anything wrong with my commands?

I am using version 0.43.1 on Ubuntu 12.04

UPDATE: I just realize that it didn't export the whole database, but the exported OSM file is unreasonably huge(1.4GB). I imported an 4.xGB OSM file into database before exporting.

asked 02 Jul '14, 04:41

bigdav's gravatar image

accept rate: 0%

edited 03 Jul '14, 01:11

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: 02 Jul '14, 04:41

question was seen: 7,950 times

last updated: 03 Jul '14, 01:11

powered by OSQA