Skip to main content
I would like to filter records from a feature class by the either of the xy coordinates.

 

 

A number of my feature classes have records with mixed coordinate systems (geographic, UTM, and unknown) inside the feature class.  I would like to separate all the geographic records from the UTM coordinates and ignore/discard the unknown coordinate system records.  I have tried to use the GeometryExposer but I couldn't get it to work (I am relatively new to FME Workbench, so I may not be using it correctly).

 

 

I am using FME 2011 on a Windows XP SP 3 system.

 

 

Any help or suggestions would be appreciated.  Thank you,
Hi,

 

 

I think the CoordinateExtractor (might be called CoordinateFetcher in FME 2011) is the quickest way to get a vertex (x, y) of the feature.

 

 

Takashi
Hi,

 

 

as Takashi said, use the CoordinateExtractor (FME2011) to get the X,Y value of the first coordinate of each feature.

 

 

You can then use the AttributeRangeFilter to easily filter out those features which are outside your UTM zone range.

 

 

David
David, Takashi,

 

 

Thank you both very much for your suggestions of CoordinateExtractor and AttributeRangeFilter.  Both worked perfectly.

 

 

Rod

Reply