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

render military areas and prisons on top of buildings and roads #1285

Open
kocio-pl opened this issue Feb 2, 2015 · 16 comments
Open

render military areas and prisons on top of buildings and roads #1285

kocio-pl opened this issue Feb 2, 2015 · 16 comments

Comments

@kocio-pl
Copy link
Collaborator

kocio-pl commented Feb 2, 2015

We have inconsistent hatching rules for amenity=prison and landuse=military (I don't know if there are some other hatched objects right now): one is rendered as the lower layer than buildings, grass and parking, while the other is rendered above all these elements, but - as far as I can see - below the highways.

See the example here:
https://www.openstreetmap.org/#map=19/52.20806/21.01130

Do we want to have general rules for layering hatchings (I guess we do) and how should they be defined - or maybe we want to express something by using different patterns?

@matthijsmelissen
Copy link
Collaborator

Do we want to have general rules for layering hatchings (I guess we do) and how should they be defined - or maybe we want to express something by using different patterns?

We don't, and we should :)

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Feb 2, 2015

I meant "we do want to". =}

One more, but so basic thing, that I have even not checked - the geometry (hatching density and angle) is different...

@polarbearing
Copy link
Contributor

The angle is intentional, it is vertical on the prison (symbolising the bars), and 45 deg on the military. Please consider the optical illusion from the oblique buildings in your example if you don't see it vertical.

The density is 3px line in a 16x16 png, both in the vertical and the 45 deg version, the perceived difference comes from the different angle.

@kocio-pl
Copy link
Collaborator Author

kocio-pl commented Feb 3, 2015

You are probably right about all those optical effects, however I'm skeptic if we want such distinction at all - I think the color+icon tandem is enough. In my view "cool" symbolism was taken not considering consistency of hatched areas.

Nevertheless there's still the problem of layering - key options are:

  1. Hatching above all the objects
  2. Hatching beneath all the objects

On military area we have probably 1a - hatching above most objects except highways. Now we need to decide (and justify it somehow). I would say 1. is preferable to me.

@pnorman
Copy link
Collaborator

pnorman commented Feb 3, 2015

I need to add another landcover overlay for #1242 that lies above landcover but below buildings

@matkoniecz
Copy link
Contributor

@matkoniecz matkoniecz changed the title Inconsistent hatching rules render military areas and prisons on top of buildings and roads Sep 11, 2015
@kocio-pl
Copy link
Collaborator Author

@pnorman

I need to add another landcover overlay for #1242 that lies above landcover but below buildings

This issue is closed now - do you still plan to do it?

@Tomasz-W
Copy link

@jragusa Can you make a PR similar to #3469 for amenity=prison overlay? There is also sill a problem with platform areas: #1285 (comment)

@jragusa
Copy link
Contributor

jragusa commented Oct 30, 2018

@Tomasz-W yes I will take a look this week

@jragusa
Copy link
Contributor

jragusa commented Dec 10, 2018

1 month later...
https://www.openstreetmap.org/way/202172020
before
gendarmerie_before
after
gendarmerie_after

I moved the layer id: landuse-overlay after id: nature-reserve-boundaries

@polarbearing
Copy link
Contributor

I'm not sure that is an improvement. I remember it was a conscious decision a while ago to keep the roads above the hatching and the outline.

  • the privacy of the road is marked with dashes, that interferes now with the hatching
  • the boundary appears like a barrier on the road, a good example is the west entrance above, which can be accessed from the public road, while the gate is behind the parking.

@Adamant36
Copy link
Contributor

Can the outline be gotten rid of or is it necessary for the hatching or something? That might be one solution. I know it makes it easier to make out the area at higher zoom levels, but the hatching and color might be enough on its own. Especially if similar colors like retail are moved away from having red tints.

@jragusa
Copy link
Contributor

jragusa commented Dec 13, 2018

I realise that I need to resolve firstly this issue before to work on #688, otherwise buildings will also appear over landuse-overlay.

@polarbearing
Copy link
Contributor

Can the outline be gotten rid of or is it necessary for the hatching or something?

The outline is probably independent of the hatching. But we are looking for more potential outlines, see #3045, thus the problem should be addressed. I'd assume roads are rendered relatively late, so it should not be too difficult to get the outline under it.

It might help to clarify in what order things are desired to render here.

@Tomasz-W
Copy link

I would render outlines over highways to make them constant and alle readable. Overlay should be an overlay.

Examples of outlines "broken" by highways above:
https://www.openstreetmap.org//#map=19/52.40036/16.99424
https://www.openstreetmap.org/#map=19/52.25432/21.02380

@polarbearing
Copy link
Contributor

Rendering tourism outlines earlier was a concious decision in #3037 to solve the problem that the outline was hiding linear barriers. It was discussed at that stage that highways should paint over the outline.
The examples above are fine for me, no need to change. As there are no barriers mapped, apparently there is a wide pedestrian way across the boundary into the tourism area, so map painting and reality would match perfectly.
The current rendering order makes a gate on the crossing point of boundary and road well visible. Having the dark outline above the road makes them hard to see.

In the examples there are also several mapping errors, e.g. a toll booth at the zoo entrance (n261283122), or missing gates (it makes no sense to have one gate in the middle and free entrance left and right)

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

8 participants