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

bigdav
11224
accept rate: 0%

edited 03 Jul '14, 01:11

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:

×315
×252
×118

question asked: 02 Jul '14, 04:41

question was seen: 8,186 times

last updated: 03 Jul '14, 01:11

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