Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color areas based on various landuse tag values #129

Open
Zero3 opened this issue Apr 22, 2022 · 3 comments
Open

Color areas based on various landuse tag values #129

Zero3 opened this issue Apr 22, 2022 · 3 comments
Assignees
Labels
enhancement Any new feature or improvement style Issues regarding map style (changes in YAML style files)

Comments

@Zero3
Copy link

Zero3 commented Apr 22, 2022

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.

@enzet
Copy link
Owner

enzet commented Apr 23, 2022

Thanks for the issue, I'll take a look.

@enzet enzet added enhancement Any new feature or improvement style Issues regarding map style (changes in YAML style files) labels Apr 23, 2022
@enzet enzet self-assigned this Apr 26, 2022
@enzet
Copy link
Owner

enzet commented Apr 26, 2022

Tags from AreasTab.

Leisure and recreation

  • leisure=park
  • landuse=recreation_ground
  • leisure=recreation_ground (should be the same)
  • leisure=playground
  • leisure=fitness_station
  • landuse=grass
  • landuse=meadow (same as grass)
  • 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

  • landuse=farmland
  • landuse=greenhouse_horticulture (same as above)
  • landuse=farmyard
  • landuse=allotments
  • landuse=orchard
  • landuse=plant_nursery
  • leisure=garden
  • 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

enzet added a commit that referenced this issue Apr 26, 2022
Tag is leisure=recreation_ground.
enzet added a commit that referenced this issue Apr 26, 2022
Tag is landuse=greenhouse_horticulture.
@BudgieInWA
Copy link

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new feature or improvement style Issues regarding map style (changes in YAML style files)
Projects
Status: In Progress
Development

No branches or pull requests

3 participants