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

Fill symbol for area=yes #38

Open
severinmenard opened this issue Aug 10, 2013 · 3 comments
Open

Fill symbol for area=yes #38

severinmenard opened this issue Aug 10, 2013 · 3 comments

Comments

@severinmenard
Copy link

Seems there is no fill symbol for area=yes as JOSM internal style has?

@skorasaurus
Copy link
Contributor

MapCSS, the language in which the HDM-JOSM-Style is written, allows us to style features by the type of object it is, a node, a way, or an area.

So, for example, areas that are tagged highway=pedestrian will be styled like this:
area[highway=pedestrian]:closed {
color: #555555;
width: 1;
fill-color: #ddddee;
fill-opacity: 0.8;
}

This styling applies with or without area=yes tag on it.

In my opinion, I would prefer to code any other instances of using area=yes in this format.

Are there any specific tags which you use area=yes ? I did a search on the presets and only saw highway=platform
(which is deprecated tag, but a separate issue and once we fix that tag, we can add styling for the highway=platform like we did for highway=pedestrian) and barrier=hedge,fence,wall which do not need to use the area=yes tag.

@severinmenard
Copy link
Author

area=yes is used for public square. I think it make sense to render it the
same way than highway=pedestrian

On Sat, Aug 24, 2013 at 5:57 PM, Will Skora [email protected]:

MapCSS, the language in which the HDM-JOSM-Style is written, allows us to
style features by the type of object it is, a node, a way, or an area.

So, for example, areas that are tagged highway=pedestrian will be styledhttps://github.com/hotosm/HDM-JOSM-style/blob/master/HDM.mapcss#L181like this:
area[highway=pedestrian]:closed {
color: #555555;
width: 1;
fill-color: #ddddee;
fill-opacity: 0.8;
}

This styling applies with or without area=yes tag on it.

In my opinion, I would prefer to code any other instances of using
area=yes in this format.

Are there any specific tags which you use area=yes ? I did a search on the
presetshttp://wiki.openstreetmap.org/wiki/Humanitarian_OSM_Tags/HDM_presetand only saw highway=platform
(which is deprecated tag, but a separate issue and once we fix that tag,
we can add styling for the highway=platform like we did for
highway=pedestrian) and barrier=hedge,fence,wall which do not need to use
the area=yes tag.


Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-23211171
.

@skorasaurus
Copy link
Contributor

@severinmenard which tag do you mean by "public square" ? I couldn't find a tag that would be like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants