[postgis-users] ShootingStar: Rule with comma separated... bug?
Maria Arias de Reyna
marias at emergya.es
Tue May 4 02:14:34 PDT 2010
I'm trying to do a shooting_star calculation following this example:
But I think that it has a bug when reading the rule. If I try to set more than
one restriction on a rule, like
update routing set to_cost = 1000000,rule='9,5' where id = 6;
it only works for the first edge defined on rule (9), not the second edge (5).
Am I doing something wrong or is it a bug?
If I invert the rule:
update routing set to_cost = 1000000,rule='5,9' where id = 6;
it works well for the first edge again (5), but not for the second (9).
María Arias de Reyna Domínguez
Área de Operaciones
Tfno: +34 954 51 75 77 / +34 607 43 74 27
Fax: +34 954 51 64 73
More information about the postgis-users