Skip to main content
Question

Extract features from an excel file and merge with polygon Some of the rows will have a ‘Y’ against a ward or some wards that the informati


I have a large excel file with multiple columns with different attribute information, some of these columns have information about the local authority wards, for example;

Excel Extract 

Some of the rows will have a ‘Y’ against a ward or some wards that the information relates to.

For each row I want to match fields that have a ‘Y’ and merge with the ward polygon file creating a polygon of the matched wards, so for the above example there with a polygon file with 4 wards.

Any suggestions on the best way to approach this?

 

Thank you in advance.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • June 4, 2021

I'd take a look at the AttributeExploder, this will return a feature for each attribute, with _attr_name and _attr_value. Test for _attr_value = 'Y' and that should return 4 features. You can then featuremerge/featurejoin using the _attr_name field as your join/merge


  • Author
  • June 4, 2021

Thanks I will give that a try

 


Reply


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