Skip to main content

Hi there,

I am struggeling how to solve the problem.

I have got 80000 Polygones and need to filter them into a smaller groups.

see the screenshot:

they have one attribute, lets say "CODE" with which I could filter them (01001; or 01002 etc.).this should gives about 430 groups

Of course I do not want to filter them manually. is there any option to filter them with something like a batch filter?

To find the same values > when the same value > write them in the 1 group, or somethng simmilar.

 

 

after that need to write theese "group infos" into a polygone geometry.

 

I have a polygones which have the same attribute "CODE" (01001; 01002...) was thinking again about "featuremerger"

But I do need to keep for example all 13 features from CODE 01001 and so on.

 

Any Idea how could I achieve this?

Have you tried the AttributeValueMapper - that might be what you need. If you just want the as seperate files you can use the Fanout option in the writer of specify the Featuretype name to match the code attribute and you will get one file per group.


Have you tried the AttributeValueMapper - that might be what you need. If you just want the as seperate files you can use the Fanout option in the writer of specify the Featuretype name to match the code attribute and you will get one file per group.

Hi @virtualcitymatt

thanks for respond. I have to define the "source value" and "destination value", haven´t I?

That is what I do not want to do because it should be about 430 defined "destination values". thats a pretty much to define it by myself.

Need to automate it somehow.


Hi @virtualcitymatt

thanks for respond. I have to define the "source value" and "destination value", haven´t I?

That is what I do not want to do because it should be about 430 defined "destination values". thats a pretty much to define it by myself.

Need to automate it somehow.

There is an import wizard you can use. If you have the CODE and "group infos" information in an excel table then you can just import that.

 

Perhaps I don't fully understand - if you just want the data in seperate files then you should use the dynamic writing option - use the CODE attribute at the feature type name.

 

Also in addition there are a number of transformers which you can use a GroupBy attribute to process by. This allows you to process these groups individually which is pretty handy

There is an import wizard you can use. If you have the CODE and "group infos" information in an excel table then you can just import that.

 

Perhaps I don't fully understand - if you just want the data in seperate files then you should use the dynamic writing option - use the CODE attribute at the feature type name.

 

Also in addition there are a number of transformers which you can use a GroupBy attribute to process by. This allows you to process these groups individually which is pretty handy

Ah ok, now I see what you mean. I do not need them as separate files, just to separate them. But probably need to separate them into files as I can not find any other sollution :-)

thanks

 


Reply