[OSM-dev] Memory error while converting osm to gml
frederik at remote.org
Thu Apr 2 21:13:26 BST 2009
Iván Sánchez Ortega wrote:
> You should try splitting the planet with Osmosis first, then individually
> converting each of the pieces to GML.
... but first make sure that the tools you wish to process the resulting
GML with are actually capable of handling that amount of data ;-)
Depending on what kind of data is required, one could also create a
PostGIS database (using Osmosis or osm2pgsql), and then make GML from
that using ogr2ogr.
I think that osm2pgsql will process the full planet in a few hours if
you have 16 GB of RAM, or within about a day in "slim" mode if you have
But I warmly recommend getting a country extract first before embarking
on conversion jobs that might well take a week to complete, and then
finding out that one wanted something slightly different ;-)
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the dev