[Routing] Gosmore routing server

Lambertus osm at na1400.info
Fri May 23 10:59:36 BST 2008


Nic Roets wrote:
>> QUERY_STRING='flat=5.65922&flon=53.04821&tlat=5.66875&tlon=53.02616&fastest=1&v=motorcar'
> 
> flat is short for "from latitude", but you inserted a longitude.
>
Ok, that was really dumb of me. Corrected the mistake and ran the query 
(and a few others):

QUERY_STRING='flat=53.04821&flon=5.65922&tlat=53.02616&tlon=5.66875&fastest=1&v=motorcar' 
./gosmore

This time it took somewhat longer until Gosmore returns with just 
'Content-Type: text/text'. Can I assume it was unable to find a route? 
Perhaps due to the 'malformed junctions' as you mentioned before?


>> Also, I wonder about the list of coordinates in you example. Are those
>> coordinates of junctions? How would one use those coordinates to e.g. plot a
>> route on an OpenLayers map?
> 
> Those are the list of all nodes visited along the way.
> 
That's great, thanks.





More information about the Routing mailing list