Quick thing on the documentation for 1.x-- an extra comma in the Dijkstra (shortest_path) docs. after “AS cost”
SELECT * FROM shortest_path('SELECT gid AS id, source::int4,
target::int4, length::double precision AS cost,
FROM dourol',3, 7, false, false);
```
SELECT * FROM shortest_path('SELECT gid AS id, source::int4,
target::int4, length::double precision AS cost
FROM dourol',3, 7, false, false);
```
Quick answer: “yes”, it’s one comma too much. ![:wink: :wink:](/images/emoji/twitter/wink.png?v=12)
Thanks!
Daniel
···
On Mon, Jul 1, 2013 at 4:34 AM, Stephen Mather <mather.stephen@gmail.com> wrote:
Quick thing on the documentation for 1.x-- an extra comma in the Dijkstra (shortest_path) docs. after “AS cost”
SELECT * FROM shortest_path('SELECT gid AS id, source::int4,
target::int4, length::double precision AS cost,
FROM dourol',3, 7, false, false);
```
SELECT * FROM shortest_path('SELECT gid AS id, source::int4,
target::int4, length::double precision AS cost
FROM dourol',3, 7, false, false);
```
pgrouting-dev mailing list
pgrouting-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
–
Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de