Skip to main content
Solved

Select by attributes


Forum|alt.badge.img
Hi,   Any alternates for Select by Attributes ??

Best answer by fmelizard

Hi,

 

 

You can use several transformers for that. The tester, testfilter and attributefilter are the most commonly used for this.

 

 

Itay

 

 

 

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

11 replies

david_r
Celebrity
  • January 13, 2014
Hi,

 

 

could you be a bit more specific?

 

 

David

philippeb
Enthusiast
Forum|alt.badge.img+18
  • Enthusiast
  • January 13, 2014
Select by geometrie!

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • January 13, 2014
Take a look at the Reader FeatureType and you'll see a 'Format Attributes' tab. You can expose some of these to select and filter your data as they will give you more to test like what colour (fme_color) or style (autocad_linestyle) is your data set to or what is the layer (fme_featuretype) or filename (fme_basename).

Forum|alt.badge.img
  • Author
  • January 13, 2014
I have a polygon file(.shp). I want the data from one column of the attribute table, and select only specific rows (falling in the same region).

 

 Suppose the column name is CITY and from that CITY column, I want to select only those rows having the city named as California.

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • January 13, 2014
Hi,

 

 

You can use several transformers for that. The tester, testfilter and attributefilter are the most commonly used for this.

 

 

Itay

 

 

 


Forum|alt.badge.img
  • Author
  • January 14, 2014
Thank you everyone for the reply !!!

 

AttributeFilter was the transformer I was looking for.

 

Thanks

Forum|alt.badge.img
  • Author
  • January 14, 2014
But yes...AttributeFilter doesnot give option for "Get Unique Values" !!

takashi
Influencer
  • January 14, 2014
Hi,

 

 

I'm not sure what is the actual requirement. Could you please post simplified data example, including input attribute values and expected result?

 

 

Takashi

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • January 14, 2014
It should since it scans your feature and returns the values found in an attribute. I agree with Takashi, it would be easier to answer if you formulate your question clearly and present some data.

david_r
Celebrity
  • January 14, 2014
Hi,

 

 

if you need a list of all the unique values for e.g. CITY, use the DuplicateRemover transformer.

 

 

That being said, it would be most helpful with more details about what you're trying to accomplish.

 

 

David

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • January 14, 2014
You might try the UniqueValueLogger in the FMEStore, it will report all the unique values that your data has in a field to the Log window to help you understand how to test or filter your data in the best way.

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