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
[EMAIL PROTECTED] * http://www.terrestris.de

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to