[postgis-users] shortest distance of a line to boundary

Stephen Woodbridge woodbri at swoodbridge.com
Tue Jul 6 08:30:44 PDT 2010


ahmet temiz wrote:
> hello
> 
> I have lines within polygons.
> 
> how can find the shortest distance from the lines that are within the
> polygons to boundary of these polygons ?

You could extract the polygon rings and then compute the distance to 
each of those from the interior lines.

-Steve



More information about the postgis-users mailing list