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

  • June 4, 2021
  • 2 replies
  • 26 views

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+44
  • Influencer
  • 3427 replies
  • 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
  • 3 replies
  • June 4, 2021

Thanks I will give that a try