[postgis-users] Distance from point inside polygon to closest edge of the polygon

Michael Fuhr mike at fuhr.org
Mon Jul 30 19:07:16 PDT 2007

On Mon, Jul 30, 2007 at 08:43:34PM -0500, Chris Story wrote:
> I am attempting to determine the distance from a point inside a polygon
> to the edge of the polygon. How can I achieve this?

Have you tried distance(point_geom, exteriorring(poly_geom))?

Michael Fuhr

More information about the postgis-users mailing list