Color areas based on various landuse tag values
I suggest using some of the landuse tag values to color areas. For example, landuse=village_green areas should be colored green. There are probably also some other relevant values for the tag.
Thanks for the issue, I'll take a look.
Tags from AreasTab.
Leisure and recreation
- [x]
leisure=park - [x]
landuse=recreation_ground - [x]
leisure=recreation_ground(should be the same) - [x]
leisure=playground - [x]
leisure=fitness_station - [x]
landuse=grass - [x]
landuse=meadow(same as grass) - [x]
landuse=village_green(same as grass) - [ ]
golf=tee(same as grass) - [ ]
golf=fairway(same as grass) - [ ]
golf=driving_range(same as grass) - [ ]
tourism=camp_site - [ ]
tourism=caravan_site - [ ]
leisure=dog_park
Agriculture and industry
- [x]
landuse=farmland - [x]
landuse=greenhouse_horticulture(same as above) - [x]
landuse=farmyard - [x]
landuse=allotments - [x]
landuse=orchard - [ ]
landuse=plant_nursery - [x]
leisure=garden - [x]
landuse=forest - [ ]
landuse=forest+leaf_type=broadleaved - [ ]
landuse=forest+leaf_type=needleleaved - [ ]
landuse=forest+leaf_type=mixed - [ ]
landuse=forest+leaf_type=leafless - [ ]
landuse=vineyard - [ ]
landuse=quarry - [ ]
waterway=dam
When I looked at doing this in a past project, I ended up with two distinct layers:
- a "ground cover" layer representing the material of the ground (grass, tarmac, concrete, bush, etc.) and,
- a "usage" layer, representing meaning that humans invent (landuse like retail or residential, access restrictions, parks, etc.)
I would render the ground cover underneath, and render the usage layer on top, trying to use different techniques to let the groundcover show through. Translucent colours, stripes of colour, patterns of symbols, etc.
The approach worked well, because I could use all sorts of data to determine the groundcover, without worrying about how that data needed to be represented on the map itself. E.g., I would start by painting park areas as grass (guessing that parks imply grass without any further info), then painting gardens, bushland, footways and pedestrian areas over the top, replacing the grass guess where appropriate. Then, the park area is also represented in the "usage" layer on top, showing that the area is "treated like a park".