[pgrouting-dev] Problems in Importing .osm to Database

Daniel Kastl daniel at georepublic.de
Wed May 30 07:44:58 PDT 2012


Hi Jinfu,

Look at the "Note" in the workshop:
http://workshop.pgrouting.org/chapters/osm2pgrouting.html#run-osm2pgrouting
When you don't need to care about server security you can set the settings
in pg_hba.conf to trust.

Daniel

On Wed, May 30, 2012 at 8:34 AM, Dave Potts <dave.potts at pinan.co.uk> wrote:

> Hello,
>
> From the text of the error message, it appears your having a problem
> connecting to your database, its not a pgroute package error but rather a
> postgres error.
>
> What happens if you try
>
> psql -d routing -U postgres
>
> This should connect directly to your database without using any of the
> routing software.
>
>
>
>
> Jinfu Leng wrote:
> > Hello all,
> >
> > I created the database "routing" from the "template_routing", and
> > downloaded the .osm file of London. But I got a problem when I was trying
> > yo import this .osm file to the database.
> >
> > command:
> > "osm2pgrouting -file "London.osm" -conf
> > "/usr/share/osm2pgrouting/mapconfig.xml" -dbname routing -user postgres
> > -clean"
> > error message:
> > "connection failed"
> >
> > Any ideas?
> >
> > Thanks a advance.
> > Jinfu
> > _______________________________________________
> > pgrouting-dev mailing list
> > pgrouting-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
> >
>
>
> --
>
>
> _______________________________________________
> pgrouting-dev mailing list
> pgrouting-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>



-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-dev/attachments/20120530/944fb423/attachment.html>


More information about the pgrouting-dev mailing list