-
Notifications
You must be signed in to change notification settings - Fork 821
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
Rendering man_made=works #2700
Rendering man_made=works #2700
Conversation
As previously said multiple times i am against point label rendering of area features based on way_area if those are not at the same time rendered as areas. This would create a bad mapping incentive. |
|
It is not, as far as i can see |
|
I am not aware of any case currently where label styling is based on way_area for features that are not rendered as areas - unless i missed some changes that introduced this. You could formally count place=island since the tag itself is not rendered but it is universally rendered as negative space through the coastline and water areas. |
Sorry, I totally misunderstood you. I think shop=mall is another current example. |
Good point, did not notice that one. Could be fixed by rendering shop=mall (when not also building=yes) like landuse=retail in the landcover layer - see #2702. Same could be done for this one (i.e. rendering it like landuse=industrial). |
👍 for both suggestions. |
works should be inside industrial area. So rendering only the name and not the area fill is on purpose. same as power plant. |
@imagico Would rendering the no-building works area the same as industrial be OK for you? |
That would mean a landuse=industrial without a man_made tag has a different border than with, which is inconsistent. It would also make it more difficult to recognise a mapped barrier=fence/wall. I find rendering the landuse with a fill sufficient. If it is a large plant with a name, it already has the name in way size from the landuse. If there are several small man_made=works in one larger landuse, rendering the small names is sufficient, as @HolgerJeromin pointed out. |
sent from a phone
On 24. Jul 2017, at 08:53, polarbearing ***@***.***> wrote:
I find rendering the landuse with a fill sufficient. If it is a large plant with a name, it already has the name in way size from the landuse. If there are several small man_made=works in one larger landuse, rendering the small names is sufficient, as @HolgerJeromin pointed out.
IMHO this style focuses too much on landuse tags anyway, which leads to many (rendering oriented) mappers adding very few and rough further semantic information, as they have already "drawn everything" with the landuse.
|
This is not correct. |
I think the concerns raised have been resolved. @imagico, is this so? |
After read the code this i think features with only The dimension of this would not be visible, or would it? |
No changes were made since the PR was originally started so the answer is no. |
What is desired solution then? Do we have an agreement here? |
Yes. Because there are no changes in
It wouldn't. |
Oh, i thought that power=plant got a text and outline (example). I was wrong. So with the current PR state, |
Interesting observation about power=plant - did not realize that. That is the same situation as shop=mall. My opinion is as before:
Other possibilities would be rendering with an icon or rendering with a point label independent of way_area for both point and area features. |
Rendering (on plant and works) an outline (same color like industrial outline) would show the dimension of a feature but still give a feedback that an landuse=industrial is missing. |
That would be a good solution, also for offshore wind parks like https://www.openstreetmap.org/way/186609785 where landuse=industrial is just wrong. |
24185b4
to
2f70135
Compare
Thanks for a good example - it's hard to find them, because with so many rules Overpass Turbo is hitting the RAM limits. There's only a name and the outline, no filling, but if you want to make sure, I need another location where there's no industrial area. In the meantime I have removed industrial area filling+outline rendering rule just to show you how would it look like: |
The plant https://www.openstreetmap.org/way/53243836 has no underlying industrial (but should :-) |
But this is a different tag than man_made=works, so it won't fly with this code. Of course we can make another PR for power plants and other possible objects, but for now I'd like just to make sure if name+outline is the way to go for such cases. |
Here you go: https://www.openstreetmap.org/way/29388213 :-) |
One question: does this render nodes with this tag? |
Yes, the original example is a node: |
Btw, this is missing in the changelog |
Also some other things (like pattern on natural=sand), but Paul never did very detailed changelogs IIRC. |
Resolves #887.
Warsaw, z18
Before
After