Jump to content

Procedurally create groups from attribute values with corresponding name

Recommended Posts

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!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now