[postgis-users] closest points of two polygons

Robert Nuske rnuske at gwdg.de
Thu Jun 14 04:54:46 PDT 2007


Hi Martin,

can you give me any pointers how to go about it?

thanks, 
  robert



Am Mittwoch, 13. Juni 2007 23:11 schrieben Sie:
> Yes, there is a JTS function which does this.
>
> The deterimination of which two points are closest in two geometries is
> computed as part of the distance operation.  It just usually isn't
> exposed.  Should be an easy addition to make to PostGIS, I would think.
>
> Robert Nuske wrote:
> > Hi All,
> >
> > is there a way to get the closest points of two polygons?
> > Basically the points on the polygons, which are used for the distance
> > calculations.
> >
> > I couldn't find anything among the postgis-functions (which might be
> > caused by my greenness) that would return the two closest points. But
> > isn't there a function in geos/JTS doing just that.
> >
> > I hope somebody can suggest a nice and easy way to obtain the points on
> > the boundaries of two polygons with the shortest distance.
> >
> > Any help is more than welcome.
> >
> > cheers,
> >   robert
> >
> >
> >
> >
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users

-- 
____________________________________
 
  Robert Nuske  
  Institute for Forest Biometrics &   
  Applied Computer Science  
  Buesgenweg 4  
  37077 Goettingen  
  GERMANY  
  
  Phone: +49-551-39-2362  
  Fax :  +49-551-39-3465  



More information about the postgis-users mailing list