[postgis-users] How to get the centerline of a polygon?

Kevin Neufeld kneufeld at refractions.net
Fri Jan 18 08:35:55 PST 2008


Eric,

Are you perhaps after generating voronoi skeletons with your areas?

If so, you may be interested in the free Skeletonizer Utility (SK) 
plugin for JUMP that we developed here at Refractions a while back.
http://www.jump-project.org/project.php?PID=SK&SID=OVER

This utility will generate voronoi skeletons (center lines) given a 
polygon and a set of input/output points.

The attached picture shows the results using a long narrow lake and 
stream input/output points as input.

Cheers,
Kevin

-------------
Kevin Neufeld
Software Developer
Refractions Research Inc.
300-1207 Douglas St.
Victoria, B.C., V8W 2E7

Phone: (250) 383-3022
Email: kneufeld at refractions.net



Eric Yu wrote:
> Hi,
>
> Suppose I have a long shaped polygon, like river area or the road,
> is it possible to get the centerline of the area using PostGIS?
> Or with other GIS library/software? I searched and tried but failed to
> get any solution.
>
> Thank!
>
> Eric
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skeletons.png
Type: image/png
Size: 14314 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080118/514ba0c7/attachment.png>


More information about the postgis-users mailing list