FMETypeSorter
From fmepedia
| This page contains a Custom Transformer created by an fmepedia user. See the attached files list at the foot of this page for the zip file containing this custom transformer. |
Created by: Dmitri Bagh
This transformer sorts features by fme_type, area (area features only) and length (linear features only).
The transformer can be useful when features of different fme_type occupy the same layer (as in MapInfo), or when display order is irrelevant to layer structure (as in DGN). Areas (including ellipses) are output first, lines (including arcs) - second, points - third, text goes last.
Area features are also sorted by their size - bigger areas go below, smaller - on top of them. The same rule applies to lines - they are sorted by length.
