Skip to main content
6 events
when toggle format what by license comment
Aug 13, 2012 at 15:52 vote accept iRfAn
May 31, 2012 at 7:56 comment added vinayan @GetSpatial - great..i have done it using a C# port of JTS and arcobjects..but python would be nice..
May 31, 2012 at 7:32 comment added Get Spatial well that takes care of the order problem. I think the Left and Right ID's could still be used to make sure that the polygon's are attributed with the correct ID tag. I might give it a shot in the next couple of days to put together some code to do this.
May 31, 2012 at 5:45 comment added vinayan @GetSpatial order is no issue in the polygonizer function.this is what is mentioned in the JTS site."Polygonizes a set of Geometrys which contain linework that represents the edges of a planar graph. Any dimension of Geometry is handled - the constituent linework is extracted to form the edges. The edges must be correctly noded; that is, they must only meet at their endpoints. The Polygonizer will still run on incorrectly noded input but will not form polygons from incorrected noded edges." vividsolutions.com/jts/javadoc/com/vividsolutions/jts/operation/…
May 31, 2012 at 5:29 comment added Get Spatial I think you are on the right track here. There are 2 items I think need to be worked out. The first is the order of the lines that would be input into the polygonizer function. They have to be in the correct order or the polygon will likely have twisting issues. I don't know much about that function, so it may not matter. The way the Left_ID and Right_ID could be handy is that you can group based on the ID's to determine what lines should be included in a particular polygon.
May 31, 2012 at 5:18 history answered vinayan CC BY-SA 3.0