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

Add dedicated icon for memorial benches #3527

Closed
Tomasz-W opened this issue Nov 24, 2018 · 4 comments
Closed

Add dedicated icon for memorial benches #3527

Tomasz-W opened this issue Nov 24, 2018 · 4 comments

Comments

@Tomasz-W
Copy link

Continuation of unfinished #3356.

As memorial benches has partly simple amenity character and partly memorial character, both bench and memorial icon don't show their character properly.

Proposal is to render combination of amenity=bench + historic=memorial by dedicated icon in amenity-brown:

memorial bench

Gist link: https://gist.github.com/Tomasz-W/9ad756936dab43da9383c6586551e2e0

This change was actually approved in #3088 but there was some technical dificulties in a bigger PR back then, so I'm opening this ticket to not forgot about this remaining part.

@jragusa I'm mentioning you as you were an author of original memorial subtags PR.

@jragusa
Copy link
Contributor

jragusa commented Nov 24, 2018

I tried again to resolve this problem but it does not work :/ With the code below, it leaves the generic memorial icon

  [feature = 'historic_memorial'][zoom >= 17] {
    [feature = 'amenity_bench'] {
      marker-file: url('symbols/historic/memorial_bench.svg');
      marker-fill: @memorials;
      marker-placement: interior;
      marker-clip: false;
    }
  }

I have also tried adding bench in dedicated amenity_ section in project.mml and add condition as following:

  CASE 
    WHEN historic IN ('memorial')
      AND amenity IN ('bench')
      THEN 'yes' ELSE 'no' 
  END AS memorial_bench,
  [feature = 'historic_memorial'][zoom >= 17] {
    [memorial_bench = 'yes'] {
      marker-file: url('symbols/historic/memorial_bench.svg');
      marker-fill: @memorials;
      marker-placement: interior;
      marker-clip: false;
    }
  }

But it displays the generic bench icon.

The best answer would be to have historic = memorial + memorial = bench

@polarbearing
Copy link
Contributor

please fix typo in title

@kocio-pl kocio-pl changed the title Add dedicated icon for memotial benches Add dedicated icon for memorial benches Nov 24, 2018
@Adamant36
Copy link
Contributor

@jragusa, do we know what the number of memorial benches tagged are out there? TagInfo says there's 59 uses of memorial=bench. I couldn't find any information on the combination of historic=memorial + amenity=bench though. But memorial benches aren't listed on either of their wiki pages.

It might worth asking in the tagging mailing list, or the memorial discussion page, and closing this issue until its actually decided whats best to use.

@jeisenbe
Copy link
Collaborator

jeisenbe commented Sep 5, 2019

The combination amenity=bench + historic=memorial is only used 220 times. This does not require a unique icon at this time. I'm closing this issue for now.

@jeisenbe jeisenbe closed this as completed Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants