Valeria Muñoz wrote:
Hi
I would like to implement the service "optimum path between 2 points,"
can someone help me to be able to implement it?. The general idea is
that a user picks a point A and point B and a display on the map the
best route to get from point A to B.
Valeria,
MapServer
frank
thanks for the tips. I use prRouting and create the table
dijsktra_result. Now how can I implement with my mapfile? , how deliver the
data .. have some sample code?
thanks for your help.
2009/1/19 Frank Warmerdam
> Valeria Muñoz wrote:
>
>> Hi
>> I would like to implement the service
Valeria Muñoz wrote:
frank
thanks for the tips. I use prRouting and create the table
dijsktra_result. Now how can I implement with my mapfile? , how deliver
the data .. have some sample code?
thanks for your help.
2009/1/19 Frank Warmerdam mailto:warmer...@pobox.com>>
Valeria Muñoz
...@lists.osgeo.org] On Behalf Of Valeria Muñoz
Sent: Monday, January 19, 2009 2:20 PM
To: Frank Warmerdam
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] optimal path between two points.
frank
thanks for
Valeria,
You should really look at the example provided with:
http://pgrouting.postlbs.org/wiki/WorkshopFOSS4G2007
This is what I started with and then made my own modifications. The
above workshop should walk you through how to setup a pgRouting without
my additional hacks which will only con
Hi Stephen
thanks for the tip... I read the example and implements it with my data.
Now my problem is :how to rescue the data for instructions,distance,time
etc? ..
how can I know whether to turn right or left?
RG.
2009/1/20 Stephen Woodbridge
> Valeria,
>
> You should really look at the ex
Valeria Muñoz wrote:
Hi Stephen
thanks for the tip... I read the example and implements it with my data.
Now my problem is :how to rescue the data for instructions,distance,time
etc? ..
how can I know whether to turn right or left?
Assume you have two segments a->b and a->c and we want t
*Sent:* Monday, January 19, 2009 2:20 PM
> *To:* Frank Warmerdam
> *Cc:* mapserver-users@lists.osgeo.org
> *Subject:* Re: [mapserver-users] optimal path between two points.
>
> frank
>
> thanks for the tips. I use prRouting and create the table
>
This may be cause because you need to check the direction of the line
segments before you create a linestring to pass to the client. If you
route is something like
segment source target
11 3
24 3
37 4
etc
route (1,2,4,3,7,4) or 1,3,3,4) depending on ho
example
the query is optimal path between 887 y 852. :
SELECT rt.gid, AsText(rt.the_geom) AS wkt,
length(rt.the_geom) AS length, calle.gid
FROM calle,
(SELECT gid, the_geom
FROM dijkstra_sp_delta(
Yup, the results from pgRouting look broken. You should repost to the
pgRouting list and describe how you set up your data. What tolerances
you used when you created the vertices_tmp table, etc. This is not
relevant to the mapserver list.
-Steve W
Valeria Muñoz wrote:
example
the query is
Hi,
I agree with Steve, that you better ask this question in the pgRouting
forum or on their list.
Looking at your screenshot my first thought was that your network
topology is not correct, maybe you took a too high "tolerance" value
when you assigned source and target IDs (units meter instead of
12 matches
Mail list logo