Hi there, I am trying to cut a large number (hundreds) of polygons out of a planet file, using the --tee option in osmosis to do it all in one go. It fails with a heap space error. My heap space is set to 2G. My command looks like this:
osmosis-0.39/bin/osmosis \ --rb planet/us-110821.pbf \ --tee 512 \ --bp file="poly/us_metro_central_cities/Abilene.poly" \ --wb file="out/Abilene.pbf" \ --bp file="poly/us_metro_central_cities/Aguadilla.poly" \ --wb file="out/Aguadilla.pbf" \ --bp file="poly/us_metro_central_cities/Aiken.poly" \ --wb file="out/Aiken.pbf" \ --bp file="poly/us_metro_central_cities/Akron.poly" \ [.......] --bp file="poly/us_metro_central_cities/Yuma.poly" \ --wb file="out/Yuma.pbf" What I'm trying to do is extract OSM data for each of the central cities of the US metro areas[1]. If there's a better way to do that, I'd love to hear about it. [1] http://www.census.gov/geo/www/cob/ma_metadata.html#cc -- martijn van exel schaaltreinen.nl _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

