Tagged Questions
19
votes
1answer
660 views
Nearest Neighbor problem in Postgis 2.0 using GIST Index (<-> function)
I'm trying to use Postgis 2.0 new function <-> (Geometry Distance Centroid) in order to calculate, for each row of my table (cosn1), the distance to the nearest polygon of the same class.
I was ...