[Gvsig_english] nearest distance between points in polygons

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon May 30 21:57:10 CEST 2011




-----Alkuperäinen viesti-----
Lähettäjä: gvsig_internacional-bounces at listserv.gva.es puolesta: Antonio Falciano
Lähetetty: ma 30.5.2011 16:18
Vastaanottaja: gvsig_internacional at listserv.gva.es
Aihe: Re: [Gvsig_english] nearest distance between points in polygons
 
Il 30/05/2011 13.59, Augustin, Jobst (ZI) ha scritto:
>
> Dear all,
>
> I have three layers, one layer with polygons (urban quarters) and two 
> point layers: a) location of drugstore and b) centroid of the 
> polygons. I'd like to know the nearest distance between a) and b) _for 
> each polygon_. Spatial join work's very well, but did not consider the 
> polygons (I get the distance of the next point in any polygon). I 
> tried to union and intersect the polygon layer with the point layers, 
> but the result was the same. What can I do?
>
> Does anybody know how to do it?
>
Hi,

Perhaps this discussion can give some ideas for somebody. Myself I do not understand much about the thing.

http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg08752.html

-Jukka Rahkonen-

> Hi Augustin,
> you could merge the two point layers (after creating an attribute field 
> in order to distinguish them) and then apply the "Distance matrix" tool 
> available in SEXTANTE. The output will be a table with distances from 
> every point to each other ones, so you have to discard distances between 
> points coming from the same starting point layer. That's all. Hope this 
> helps!

> Regards,
> Antonio

-- 
Antonio Falciano
http://www.linkedin.com/in/antoniofalciano

_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional at listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional



More information about the Gvsig_internacional mailing list