Let me be more clear. These are 4 disjoint paths to get polygons from
the ordered lines NOT steps. Each one of these 4 paths makes polygons
as the end result.
1) LineCloser
2) GeometryCoercer (point) -> PointCollector (break on poly_id)
3) GeometryCoercer (polygon)
4) PolygonBuilder (group by poly_id)
I would think that the LineCloser is the most strait forward way to
make a polygon from a set of lines that already form an ordered set of
edges. The documentation of LineCloser and @Close() states that it
simply adds the first point as the last point and makes a polygon.
This is not the behavior that I have seen. It seems that each one of
the transformers: LineCloser, PointCollector, GeometryCoercer, and
PolygonBuilder, do something to re-order the edges in the resulting
polygon to make the first edge not the one I gave it but the first
edge is almost always the edge that faces south. I suspect there is
common logic/code that while saving a polylgon the vertex closest to
the south west (min xy) is made the first vert in the polygon.
Thanks for looking into this.
Regards, Reed
For insights into what's up at Safe Software and what's on the development
horizon, visit Safe's blog at spatial-etl.blogspot.com.
Safe Software has also made slides available that outline enhancements planned
for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2
of the FME Worldwide Users Conference. To view these slides, visit
www.safe.com/2006uc.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/fme/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/fme/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/