On Sun, Apr 24, 2011 at 5:43 AM, Pierre-Alain Dorange <[email protected]> wrote:
> Yes, but they are huge...
> My original place=* for france is 50 MB (not compressed).
>
> France extract if 2 GB compressed, i don't think my python script was
> able to handle such a huge data.

That's why you use osmosis to trim it down to what you want.

The following osmosis command gives me a 34 MB XML file when run on
the France PBF file from geofabrik.

osmosis --read-pbf france.osm.pbf \
             --tf accept-ways "place=*" \
             --tf accept-nodes "place=*"
             --tf accept-relations "place=*"
             --write-xml france_place.osm

Toby

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to