[pgrouting-users] Re: Error whith
daniel at georepublic.de
Sat Aug 20 03:41:12 EDT 2011
On Fri, Aug 19, 2011 at 11:50 PM, Jules Kouadio <sekedoua at gmail.com> wrote:
> *Hi everybody.
> After compiling pgrouting whith success, i begin my fist test whith the
> shortest_path() function. My data come from open street map. I've insert it
> in my database whith ./osm2pgrouting.
> But a get an error when i execute this request:
> SELECT * FROM shortest_path('SELECT gid as
> id,source::integer,target::integer,length::double precision as cost FROM
> ways',965,14, false, false);
> ERROR: Start vertex was not found.
> Do you know where is the problem ?
Start vertex was not found ... that's the problem. You need to have "965"
and "14" in "source" and "target". Maybe you took the road link id (gid).
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pgrouting-users