fsalas | 3 Oct 12:59

about st_distance

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
_______________________________________________
postgis-users mailing list
postgis-users <at> postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Gmane