[OSM-talk] Osmosis and large bounding polygons

Jeremy Adams milenko at king-nerd.com
Mon Jan 7 23:33:34 GMT 2008


Does anyone have any experience with osmosis and extracting large polygons?  I'm trying to get the united states exported using the files from the maproom.  I can extract a single state in about an hour and a half, but getting the whole country takes exponentially longer than that.  As of right now, it's been running for about three hours and the output .osm file is only about 300MB and that's uncompressed.

By command-line is as follows:

java -Xmx1024m -jar osmosis.jar --rx EnableDateParsing=no file="/home/jadams/planet-latest.osm" --bp file="bin/polygons/united_states2pts.txt" idTrackerType=BitSet --wx file="usa.osm"

I've tried with and without enabledateparsing and idtrackertype and it's not really any faster.

Is this expected performance, or do I have something wrong somewhere?

-Jeremy





More information about the talk mailing list