[pgrouting-users] shootingstar_sp_smart and linsestrinct direction

Frederic Junod frederic.junod at camptocamp.com
Thu Jun 23 10:08:55 EDT 2011


Hello,

I'm using the shootingstar_sp_smart function from
https://github.com/pgRouting/pgrouting-contrib/ and I'm having an
issue with the "direction" of the result.

For example, the result of a query (from x to y) is:
  x ---- a ---- b ---- c ---- y

The function return something like:
MULTILINESTRING((x, a))
MULTILINESTRING((b, a))
MULTILINESTRING((c, b))
MULTILINESTRING((c, y))

The first and last line are ok but the two other are reversed.
Is my network ok ?

Regards,
fredj

-- 
Frédéric Junod
Camptocamp SA


More information about the Pgrouting-users mailing list