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

2008-01-20 Thread Eric Yu
Kevin and Martin, Thanks for your suggestion! I will try the plug-in. It looks amazing. Eric On Jan 19, 2008 12:35 AM, Kevin Neufeld <[EMAIL PROTECTED]> wrote: > Eric, > > Are you perhaps after generating voronoi skeletons with your areas? > > If so, you may be interested in the free Skeletoniz

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

2008-01-18 Thread George Silva
Amazing this skeletonizer. I will definetly give it a try, and will give a try with JUMP. On 1/18/08, Martin Davis <[EMAIL PROTECTED]> wrote: > > Have a look at this: > > http://www.jump-project.org/project.php?PID=SK&SID=OVER > > Eric Yu wrote: > > Hi, > > > > Suppose I have a long shaped polygo

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

2008-01-18 Thread Martin Davis
Have a look at this: http://www.jump-project.org/project.php?PID=SK&SID=OVER 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

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

2008-01-18 Thread Kevin Neufeld
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 v

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

2008-01-18 Thread Mark Fredrickson
If you could break your rope into a series of smaller polygons such that each new polygon has two opposite edges that are from the original polygon, you could take the centroids of all these points and create a linestring. If you could make these polygons infinitely small, you'd have the "true" cen

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

2008-01-18 Thread Eric Yu
Thanks for your comments. The questions you asked are exactly what I faced while I was searching for answers. It is easy to draw a centerline by human, but I don't even know where to start. My initial idea was like this: (Imagine we have a polygon, shaped like a rope, lying on the plane) 1. First

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

2008-01-18 Thread Stephen Woodbridge
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. I think the problem to start with is how are you going

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

2008-01-18 Thread Eric Yu
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-user