[postgis] distance...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[postgis] distance...

gispmpf
Hello all

I think this is a postgis question:

i have defined roads in the database and they are something like this:
                 |3
                 |  
                 |
                 |
                 |
-----------------|
1               2|
                 |
                 |4

The points 1 (x,y) and 2 (x,y) defined "road 1" and points 3 (x,y) and
4 (x,y). But what i need to know is the distance between points 1 and
3. Can i do this using postgis functions?

Thanks
João


------------------------ 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/f00vhB/MkNDAA/ySSFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[hidden email]

 

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