[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis] distance...
From:       Dave Blasby <dblasby () refractions ! net>
Date:       2001-11-29 17:41:41
Message-ID: 3C067355.8674EB93 () refractions ! net
[Download RAW message or body]

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@yahoogroups.com

 

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic