[pgrouting-users] Import large OSM data for routing

Richard Marsden winwaed at gmail.com
Tue Jan 18 14:01:46 EST 2011


Try the osm2po program instead. This can handle large files, and recently I was able to use it to import planet.osm. Osm2po create an SQL script which you then execute. Planet.osm took a few days to import - Italy should be a lot quicker!

Search the archives of this list server - I had a couple of queries which were quickly answered. They may help you, especially if you are new to PostGis and pgRouting (as I am).

Richard.



On Jan 18, 2011, at 10:42 AM, lorenzo amato <lorenzo.amato at geosdi.org> wrote:

> Hi list
> I'm trying to import a large osm file (italy.osm from cloudmade) into postgis using the osm2pgrouting tool without success.
> I read somewhere in the list (or in the wikies) that osm2pgrouting uses a large amount of memory. 
> 
> So i tried to lounch osm2pgrouting on a workstation with 32G RAM ... without success.
> 
> I also found this thread:
> 
> http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/discussion/topic/297.html
> 
> 
> and this wiki page
> 
> http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/wiki/osm2pgroutingPatchToAppendFile.html
> 
> but some errors occurred whan I tryed to apply the patch.
> 
> Any help?
> 
> Or any other way to import large OSM data for routing?
> 
> -- 
> Lorenzo Amato
> lorenzo.amato at geosdi.org
> lorenzotlc at gmail.com
> lorenzo.amato at nsdi.it
> 
> Consiglio Nazionale delle Ricerche
> Istituto di Metodologie per l'Analisi Ambientale - geoSDI
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20110118/04abdb0c/attachment.html


More information about the Pgrouting-users mailing list