[Imports] ogr2osm updates

emux devemux86 at gmail.com
Tue Feb 5 17:24:34 UTC 2013


Hi Paul,

I try ogr2osm with a large shp file of a country detailed road network but 
python stops the process at 'Parsing data' with 'MemoryError'.
The shp file has size: shp is 180MB and dbf is 1.6GB with over 1.1 million 
rows.
I use python32 at Win7 64bit.

I know it is quite big. I only managed to produce the osm with the help of 
java shp-to-osm https://github.com/iandees/shp-to-osm which seems to split 
the process with max nodes per osm file.

At http://wiki.openstreetmap.org/wiki/Ogr2osm I read 'In March 2010 
Ivansanchez was reported to be working on a revamped version of ogr2osm 
that would be much slower (10x) but would hold all the data in a SQLite 
database instead of in memory. pnorman's ogr2osm will work on very large 
files, given enough ram'.
Is there a ogr2osm version which works with large files? And what are 
actually the limits of your version?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/imports/attachments/20130205/24ad194e/attachment-0001.html>


More information about the Imports mailing list