Latimerias Posted June 29, 2021 Share Posted June 29, 2021 Im working with osm data and which has a "building" attribute that contains values like garage, residential, apartments etc... and there is usually varying values depending on the location that the data is taken from. What im trying to do is create a group for each value that is named with the value. For example i have an osm file with the building attribute and a value of "garage" which needs to be turned into a group called garage, referencing the value for its name. I know i can reference attribute values as groups by doing @building=garage but then its not procedural and would not create a group for each value type. Not really sure how to do this and would appreciate any input! Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 29, 2021 Share Posted June 29, 2021 partition... here's a mock up file, in group, it has groups based on attrib so you can pick from dropdown group from attrib.hipnc 3 Quote Link to comment Share on other sites More sharing options...
Eyeracker Posted June 30, 2021 Share Posted June 30, 2021 (edited) Here is the Vex version: groups_from_attrib.hip Edited June 30, 2021 by Eyeracker 1 1 Quote Link to comment Share on other sites More sharing options...
Latimerias Posted June 30, 2021 Author Share Posted June 30, 2021 Amazing!! Exactly what i was looking for thankyou so much. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.