[Cartoweb-users] Pg Dijkstra select question

Till Adams adams at terrestris.de
Fri Apr 7 09:27:00 EDT 2006


Dear Carto Webusers!

Is there any possibility to integrate something like a "WHERE" clause in 
the calculation of a shortest path, e.g.:

SELECT * FROM shortest_path_as_geometry('mytable', source_id, target_id) 
WHERE [attribute] != [value];

??

What is the difference between the "shortest_path_as_geometry()" and the 
"shortest_path()" function?
When I use the same source_id and target_id, I get two different 
results, e.g. 177 and 188 rows??

Thanks in advance and have a nice weekend!

Till

-- 
******************************************
*  released: AmeiN! ArcMap-Export-2-UMN  *
*        LiveLinux 'WebGIS on CD'        *
*        http://www.terrestris.de        *
******************************************

------------------------------------------

Dipl. Geogr. Till Adams
terrestris, H. Paulsen& T. Adams GbR
Siemensstr. 8 * 53121 Bonn
Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
info at terrestris.de * http://www.terrestris.de



More information about the Cartoweb-users mailing list