Routing for mapserver/postgis. A professional Open Source solution?
Leonardo Andrade
leonardo at NOVAGEO.PT
Fri Dec 15 09:03:43 PST 2006
Hi
Pietro Giannini wrote:
> Hi All,
>
> Maybe this isn't the appropriate list to post this question : I
> apologize but I hope somebody can help me.
>
> I'm looking for a professional routing solution using as interface
> mapserver.
> I've successfully installed the cartoweb Pgdijkstra Routing Module
> <http://www.cartoweb.org/contribs.html> for PostgreSQL data source :
> that works well, and can be a perfect solution, but it do not menage
> the one-way streets.
>
It does.
In the document:
http://www.postgis.fr/book/print/360
notice the line:
routing=# update rtest set
cost=length(the_geom),rcost=length(the_geom);
The 'cost' and 'rcost' fields in the graph table represent the cost in
each way.
If you chose a very high value in one of those fields, it will represent
a one-way street.
http://www.postlbs.org/ has more information about this issue.
Cheers,
--leonardo
> Anyone has developed similar solutions and want share they? Or can
> help me to retrieve information, hints, lists about?
>
> Thanks
> Cheers
>
> Pietro
>
> --
> Pietro Giannini
> Bytewise srl - Area GIS
> 41°50'38.58"N 12°29'13.39"E
More information about the MapServer-users
mailing list