[postgis-users] about st_distance

fsalas fsalas at geocuba.cu
Fri Oct 3 04:01:59 PDT 2008


Hi,

I need to know about obtain distance between polygon( parcels) and point

I Use the next sentences 

SELECT p.gid as id_parcela,tipo as tipo_Pozo FROM selepozo(1,1) po,parcelas p WHERE ST_distance(p.the_geom, po.the_geom) < 1

I have some questions 

This distance is between centroide of parcels to point or between border of parcels to point ?



Best Regards,

Francisco Salas 


___________________________________
Dpto de Sistemas Informáticos
Oficina Central Grupo Empresarial GEOCUBA
Este mensaje esta libre de virus. 
Revisado por Kaspersky Antivirus
----------------------------------------------------------------------
Engine version:  4.0.1.14
Engine date:  2002/06/25
Definition count:  1148493
Definition date:  2008/10/03
MDAV version: 2.2.8

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20081003/e3b5f8cb/attachment.html>


More information about the postgis-users mailing list