Skip to main content
Question

Filter by xy Coordinates

  • September 17, 2013
  • 3 replies
  • 77 views

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,

3 replies

takashi
Influencer
  • September 18, 2013
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

david_r
Celebrity
  • September 18, 2013
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

  • Author
  • September 18, 2013
David, Takashi,

 

 

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

 

 

Rod

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings