<html><body bgcolor="#FFFFFF"><div>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!</div><div><br></div><div>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).</div><div><br></div><div>Richard.</div><div><br></div><div><br></div><div><br>On Jan 18, 2011, at 10:42 AM, lorenzo amato &lt;<a href="mailto:lorenzo.amato@geosdi.org">lorenzo.amato@geosdi.org</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi list<div>I'm trying to import a large osm file (italy.osm from cloudmade) into postgis using the osm2pgrouting tool without success.</div>
<div>I read somewhere in the list (or in the wikies) that osm2pgrouting uses a large amount of memory.&nbsp;</div><div><br></div><div>So i tried to lounch osm2pgrouting on a workstation with 32G RAM ... without success.</div><div>
<br></div><div>I also found this thread:</div><div><br></div><div><a href="http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/discussion/topic/297.html" target="_blank" style="color: rgb(64, 100, 128); "><a href="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</a></a></div>
<div><br></div><div><br></div><div>and this wiki page</div><div><br></div><div><a href="http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/wiki/osm2pgroutingPatchToAppendFile.html" target="_blank" style="color: rgb(64, 100, 128); "><a href="http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/wiki/osm2pgroutingPatchToAppendFile.html">http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/wiki/osm2pgroutingPatchToAppendFile.html</a></a></div>
<div><br></div><div>but some errors occurred whan I tryed to apply the patch.</div><div><br></div><div>Any help?</div></span><div><br></div>Or any other way to import large OSM data for routing?<br clear="all"><br>-- <br>
Lorenzo Amato<br><a href="mailto:lorenzo.amato@geosdi.org"><a href="mailto:lorenzo.amato@geosdi.org">lorenzo.amato@geosdi.org</a></a><br><a href="mailto:lorenzotlc@gmail.com"><a href="mailto:lorenzotlc@gmail.com">lorenzotlc@gmail.com</a></a><br><a href="mailto:lorenzo.amato@nsdi.it"><a href="mailto:lorenzo.amato@nsdi.it">lorenzo.amato@nsdi.it</a></a><br>
<br>Consiglio Nazionale delle Ricerche<br>Istituto di Metodologie per l'Analisi Ambientale - geoSDI<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Pgrouting-users mailing list</span><br><span><a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a></span><br><span><a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a></span><br></div></blockquote></body></html>