Skip to main content

I have some simple polygons in a shapefile where, for texturing purposes, it is important where the first edge is compared to other features. I created a workspace that explodes the polygons and reorders the edges based on the other features. At this point everything looks good.

However, when I use AreaBuilder to rebuild the polygons, on some (most are ok), the edge ordering is not maintained. How can I keep the edge order I want?

EdgeOrdering

hmm, have you tried the area builder with just the points (rather than the lines). That would be something I'd try.


You could also try the LineCloser, or simply the GeometryCoercer set to fme_polygon.


hmm, have you tried the area builder with just the points (rather than the lines). That would be something I'd try.

Thanks, this works - although of course the AreaBuilder doesn't accept points so I used the LineBuilder instead.


You could also try the LineCloser, or simply the GeometryCoercer set to fme_polygon.

I think the problem is that he has 4 line segments and the AreaBuilder is messing up the order which is weird.


I think the problem is that he has 4 line segments and the AreaBuilder is messing up the order which is weird.

Ah yes, I see now. It would be necessary to use a LineJoiner first, to try my suggestions.

I agree that the mixed up order is weird. I've seen something similar when writing and re-reading the same object from SDE, interestingly enough.


Reply