[Routing] export osm to use it in pgrouting

Daniel Kastl daniel at georepublic.de
Tue Aug 30 14:18:45 BST 2011


osm2pgrouting has problems with large amount of data.
It depends how much memory you have available.

This could be one reason.
Can you make sure that you created a database and loaded all required
functions?
You can also create a routing_template like here:
https://github.com/pgRouting/workshop/blob/master/bin/create_templates.sh


Daniel


On Tue, Aug 30, 2011 at 7:32 PM, Markus <markusin at yahoo.de> wrote:

> Hello,
>
> first thanks for the information:
>
> as I already use pgrouting I compiled osm2pgrouting.
>
> I run the tool with:
> ./osm2pgrouting -file /data/italy.osm -conf mapconfig.xml -dbname routing
> -user postgres -clean
>
>
> I used the data of italy.osm (
> http://download.gfoss.it/osm/osm/italy.osm.bz2)
> and obtain a clean output (http://mypaste.ja-s.de/3547). Unfortunately
> neither vertex nor edge table has been created.
> Do I need to specify something in the config file?
>
> Thanks for any help
>
> Markus
>
> --- Daniel Kastl *<daniel at georepublic.de>* schrieb am *Di, 30.8.2011:
> *
>
> *
> Von: Daniel Kastl <daniel at georepublic.de>
> Betreff: Re: [Routing] export osm to use it in pgrouting
> An: routing at openstreetmap.org
> Datum: Dienstag, 30. August, 2011 11:01 Uhr
>
> *
> *Here is a list of software also the ones mentioned before:*
> *http://www.pgrouting.org/docs/tools.html
>
>
> *
> *
> *
> *Daniel*
> *
>
> *
> *On Tue, Aug 30, 2011 at 5:48 PM, Daniel Berchtold <
> danielberchtold at gmail.com <http://mc/compose?to=danielberchtold@gmail.com>
> > wrote:
> *
>
> *I recently have used osm2po [1] to load some routable OSM data into
> database. It is an easy to use tool.*
> *Next time I will give osm4routing a try, thanks for that information.*
> *
> Daniel Berchtold
>
> [1] http://osm2po.de/*
> *
>
> *
> *On Tue, Aug 30, 2011 at 10:19 AM, Tristram Gräbener <tristramg at gmail.com<http://mc/compose?to=tristramg@gmail.com>
> > wrote:
> *
>
> *I have heard of one person using osm4routing for that purpose.
> https://github.com/Tristramg/osm4routing
>
> If it doesn't fit to your needs, feel free to ask and I'll see if it's
> easy to implement
> *
> *
> On Tue, Aug 30, 2011 at 10:09 AM, Markus <markusin at yahoo.de<http://mc/compose?to=markusin@yahoo.de>>
> wrote:
> > hi all,
> >
> > I would like to export OSM files to use them within pgrouting. That means
> I need a tool that converts them in vertices and edges.
> > Is there already something available?
> >
> > many thanks
> >
> > cheers Markus
> >
> > _______________________________________________
> > Routing mailing list
> > Routing at openstreetmap.org<http://mc/compose?to=Routing@openstreetmap.org>
> > http://lists.openstreetmap.org/listinfo/routing
> >
>
> _______________________________________________
> Routing mailing list
> Routing at openstreetmap.org <http://mc/compose?to=Routing@openstreetmap.org>
> http://lists.openstreetmap.org/listinfo/routing
> *
>
> *
> *
> *
> _______________________________________________
> Routing mailing list
> Routing at openstreetmap.org <http://mc/compose?to=Routing@openstreetmap.org>
> http://lists.openstreetmap.org/listinfo/routing
>
> *
>
> *
>
> *
> *
> *
> *--
> Georepublic UG & Georepublic Japan
> eMail: daniel.kastl at georepublic.de<http://mc/compose?to=daniel.kastl@georepublic.de>
> Web: http://georepublic.de
> *
> *
> -----Integrierter Anhang folgt-----
>
> *
> *_______________________________________________
> Routing mailing list
> Routing at openstreetmap.org <http://mc/compose?to=Routing@openstreetmap.org>
> http://lists.openstreetmap.org/listinfo/routing
> *
>
>
> _______________________________________________
> Routing mailing list
> Routing at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/routing
>
>


-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/routing/attachments/20110830/2e9ec966/attachment.html>


More information about the Routing mailing list