[pgrouting-users] Import large OSM data for routing

lorenzo amato lorenzo.amato at geosdi.org
Wed Jan 19 06:05:56 EST 2011


Richard
Thanks very much for your suggestion.

I'mk going to test osm2po for creating pgRouting compatible tables and it
seems great.

I will post to the list some more considerations at the end of my tests.

Lorenzo

2011/1/18 Richard Marsden <winwaed at gmail.com>

> 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>
> 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>
> 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>lorenzo.amato at geosdi.org
> <lorenzotlc at gmail.com>lorenzotlc at gmail.com
> <lorenzo.amato at nsdi.it>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
>
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20110119/3bdf141d/attachment.html


More information about the Pgrouting-users mailing list