[postgis] distance...

Dave Blasby dblasby at refractions.net
Thu Nov 29 09:41:41 PST 2001


Brenn Erik wrote:
> Yes you can. You can use the PostGIS StartPoint() function to find the
> starting point of each line. Then you can feed the start points to the
> distance() function.

Right - 

	distance(FirstPoint(l1), FirstPoint(l2) )

(there's also a LastPoint() function)

dave

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/gwUrIA/MkNDAA/ySSFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list