[osmosis-dev] Problem while extracting boundaries (osmosis 0.41)
Dmitry Panin
pank.dm at gmail.com
Sun Sep 9 11:54:01 BST 2012
Hi,
I am extracting boundaries (for converting map with mkgmap) using this
command:
osmosis --read-pbf file=input/example.osm.pbf outPipe.0=1 \
--tee 2 inPipe.0=1 outPipe.0=2 outPipe.1=3 \
--buffer inPipe.0=3 outPipe.0=4 \
--buffer inPipe.0=2 outPipe.0=5 \
--tag-filter accept-relations boundary=administrative,
postal_code inPipe.0=4 outPipe.0=6 \
--used-way inPipe.0=6 outPipe.0=7 \
--tag-filter reject-relations inPipe.0=5 outPipe.0=8 \
--tag-filter accept-ways boundary=administrative,postal_code inPipe.0=8
outPipe.0=9 \
--used-node inPipe.0=9 outPipe.0=10 \
--used-node inPipe.0=7 outPipe.0=11 \
--merge inPipe.0=10 inPipe.1=11 outPipe.0=12 \
--write-pbf file=boundary/local-boundaries.osm.pbf omitmetadata=true
compress=deflate inPipe.0=12
Where example.osm.pbf is this file:
http://data.gis-lab.info/osm_dump/dump/latest/RU-MOW.osm.pbf
In version 0.40 everything works fine. Here is the log:
09.09.2012 14:40:19 org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.40
09.09.2012 14:40:20 org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
09.09.2012 14:40:20 org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
09.09.2012 14:40:20 org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
09.09.2012 14:40:57 org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline complete.
09.09.2012 14:40:57 org.openstreetmap.osmosis.core.Osmosis run
INFO: Total execution time: 38201 milliseconds.
But when I do it using version 0.41 excution stops and waits for something:
09.09.2012 14:43:58 org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.41
09.09.2012 14:43:58 org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
09.09.2012 14:43:58 org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
09.09.2012 14:43:58 org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
And nothing happens even after 5 minutes of waiting.
Is this a bug or some backward compatibilty changed with version 0.41?
--
Best regards,
Dmitry Panin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120909/545996bf/attachment.html>
More information about the osmosis-dev
mailing list