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!
_______________________________________________ Imports mailing list [email protected] https://lists.openstreetmap.org/listinfo/imports
