mhm.. I think of that (and you may not be the first who asked something like that) then that would need to be programmed as a new type of mouse tool. A cumbersome approach would be to draw lines from source to target (attach the point attributes) and then calculate the length of those.
but did you play around with PostGIS? ..because in postgis you could do a SQL query for that - I think. shall I consider this as a feature request for a new function? (i.e. select a item and select a layer and compute all distances to the selected item and attach those as new attribute) stefan Rahkonen Jukka wrote: > Hi, > > Is it possible somehow to count the distance of features from one > selected feature? I guess that just this calculation is done when > performing spatial query "is within distance", but could it be possible > also to show the distance in addition to making the selection, perhaps > by creating a new layer with distance as an attribute? > > Actually what I am finally aiming at is a tourist guide type query > "select n closest restaurants/toilets/banks/etc. from this place ordered > by distance. > > -Jukka Rahkonen- > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel