-
Notifications
You must be signed in to change notification settings - Fork 823
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
Differentiate rendering of minor buildings with lighter fill and lighter outline #3679
Conversation
Minor buildings: garages, sheds, huts, yurts, farm buildings, roofs, service, under-construction buildings
Greenhouses from #738 (comment) on current farmland color: Before After |
Here's a building=construction on landuse=religious, next to a place_of_worship (and some church office buildings) Wamena, GKI Effata |
More areas with large greenhouses in Flevoland, the Netherlands Buitenvaart Luttelgeest |
Tests on all landcovers; minor buildings on the right side of each test square. At z14, lighter minor buildings are slightly more visible on dark backgrounds such as quarry, forest, and construction/brownfield, and cemetery/graveyard, but less visible on religious landuse. At z16, the new minor-buildings fill is close to mud and garages, but the outline makes it clear. |
Much in favour. Thanks for the elaborate examples. Code reads plausible. Good encouragement for mappers to add the building type. |
My comments from #2532 (comment) apply here as well. |
That comment links to another comment!
I’ll copy and paste; less efficient but it will help me to follow the
discussion:
“I am open to the idea to rendering individual types of buildings in a
distinct way - although there are many different ways of doing that other
than using a different color.
“However all discussion on undefined abstract concepts like major and minor
is a waste of time in my eyes.
“Values for the building tag are a mixture of physical characterizations
(like building=church) and use characterizations (like
building=commercial). For any use of these values we need to see if the
individual tags are well defined and consistently used. Combinations of
these two in a common styling would likely be confusing for the map user.
“I am strictly against rendering in a way that encourages mappers to apply
tags to a building that do not actually apply to the building like for
shops which often only use parts of it. See also the comment by @pnorman
regarding the need for spatial queries.
“In any case the rule of differences in meaning and purpose as mentioned in
(#2515 (comment)) should IMO be a guiding principle in any decisions here.”
I agree with this; minor buildings should have a clearly different purpose
and use from most buildings.
@imagico, do you think the list of building values in this PR is
appropriate?
The current list of “minor” buildings is limited to non-habitable
structures used for storage of equipment, goods, plants or animals, rather
than for humans.
The exception may be building=hut, which may be used for small, simple
dwellings made from local materials in less developed countries, so we
might consider removing that from the list.
…On Tue, Feb 12, 2019 at 8:01 PM Christoph Hormann ***@***.***> wrote:
My comments from #2532 (comment)
<#2532 (comment)>
apply here as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3679 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AoxshPXuyMaRiWxpX1Q0ZvcNSQHKtISzks5vMp8KgaJpZM4a1Z1S>
.
|
Oh, a ger or yurt might also be a dwelling, but I believe these are only
used seasonally, not year-round?
On Tue, Feb 12, 2019 at 8:56 PM Joseph Eisenberg <[email protected]>
wrote:
… That comment links to another comment!
I’ll copy and paste; less efficient but it will help me to follow the
discussion:
“I am open to the idea to rendering individual types of buildings in a
distinct way - although there are many different ways of doing that other
than using a different color.
“However all discussion on undefined abstract concepts like major and
minor is a waste of time in my eyes.
“Values for the building tag are a mixture of physical characterizations
(like building=church) and use characterizations (like
building=commercial). For any use of these values we need to see if the
individual tags are well defined and consistently used. Combinations of
these two in a common styling would likely be confusing for the map user.
“I am strictly against rendering in a way that encourages mappers to apply
tags to a building that do not actually apply to the building like for
shops which often only use parts of it. See also the comment by @pnorman
regarding the need for spatial queries.
“In any case the rule of differences in meaning and purpose as mentioned
in #2515 (comment) should IMO be a guiding principle in any decisions here.”
I agree with this; minor buildings should have a clearly different purpose
and use from most buildings.
@imagico, do you think the list of building values in this PR is
appropriate?
The current list of “minor” buildings is limited to non-habitable
structures used for storage of equipment, goods, plants or animals, rather
than for humans.
The exception may be building=hut, which may be used for small, simple
dwellings made from local materials in less developed countries, so we
might consider removing that from the list.
On Tue, Feb 12, 2019 at 8:01 PM Christoph Hormann <
***@***.***> wrote:
> My comments from #2532 (comment)
> <#2532 (comment)>
> apply here as well.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#3679 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AoxshPXuyMaRiWxpX1Q0ZvcNSQHKtISzks5vMp8KgaJpZM4a1Z1S>
> .
>
|
I don't know if that is the case. Both in the sense that this criterion applies to the buildings on your list and in the sense that it does not apply to other buildings (like building=industrial). Keep in mind also that many of the tags you listed could be - like building=church - applied to buildings that were originally constructed for a certain function but do not necessarily serve this function any more. See https://wiki.openstreetmap.org/wiki/Key:building:use. I would probably rather look for rendering individual tags in a distinct yet subtle form at the highest zoom levels rather than distinguishing aggregate classes with fairly non-intuitive meaning at mid zoom levels already. |
Industrial buildings are usually workplaces and most are designed to the same standards as other buildings intended for human occupation. There are probably some industrial buildings that serve as long-term warehouses or storage, but I don't think we should assume this for the entire building=industrial key. There are certainly other values further down the list (with say 1000 to 9000 uses) that could be added to the list. I'm not sure if it's better to be comprehensive or to start with the most common tags only?
I'd be in favor of a distinctive rendering for the most common and most important building values, such as building=retail and building=commercial, but it's not possible to render more than a few of the building values in a distinctive fashion. There are hundreds of values for buildings, or rather thousands: tag info has 10542 values. Garages and sheds both have over 1 million uses, and roof has almost a million. I don't see any need to render these in a prominent way; no one goes looking for sheds or garages. The idea is that there are a number of building values with similar function to garage/shed/roof, including greenhouses, barns, and other agricultural buildings. Construction could benefit from a distinctive rendering, and perhaps roof could also be different. But I believe this PR would be a start to show that they are not finished, fully habitable buildings.
That's true, but in developed countries it's usually illegal to use a garage, shed or barn as an apartment or office, without remodeling the structure to meet building and fire safety codes. |
This was the comment in
|
@imagico, would you prefer that "minor" buildings be rendered the same as other buildings on z14? At z14 with the current commit, the difference is small, because there are no outlines, and the lack of building outline also increases the risk that large buildings (eg greenhouses) could be mistaken for a type of landcover or landuse. |
My intuition is happy with "minor" buildings, but it's good to have some definition and what you proposed works for me - generally not dedicated for prolonged staying of people (garage, roof) or not solid (yurt, roof), additionally with a significant use (like ~10k limit) for practical reasons. I would also think in terms of "support" buildings (security booth is meant for people and can be solid, but the main building it's serving will be office for example, while kiosk selling newspapers is a service in itself). I don't see how we can show more than 3 generalized types of buildings, but if anyone can come with the idea, it would be nice and it can be implemented then. I see the reason is not only to have some basic type feedback, but also to make visual clutter smaller. |
I currently see no meaningful function in showing either the "major" or "minor" categories - for the reasons explained. And to me these are not classifications that naturally derive from tagging practice in OSM, to me these seem to be abstract classifications where developers here have said i want this to be a meaningful classification. Mappers evidently do not see this the same way as illustrated by building=industrial etc. which defy this classification attempt. Also keep in mind that in terms of mapper feedback the main point would be to encourage people to tag more specifically than building=yes. If however the majority of building types including the most commonly used ones are rendered just like building=yes that goal is not really served. |
This is the rare instance where I agree with @imagico. IMHO, its more important if people start doing specific tagging on the main building types (retail, commercial, industrial, residential) then something like security booths. Which are fairly niche. As it is, if buildings are rendered based on major/minor building types, then building rendering would have to be further refined to separate the main four from each either. Which I don't see happening. At least not without more thought before this is Implemented first, but there's only so many brown building shades you can have before the distinctions becomes meaningless. So if major/minor buildings is implemented as currently discussed, it might be a missed opportunity to do something better. I have some ideas of what that I think would be worth testing, but I don't have the time to do it unfortunately. |
I’m in favor of finding a better, more specific rendering for
building=construction (which is a lifecycle class and implies no access,
and may not yet have a roof or walls) and building=roof/gazebo/etc, which
lack walls.
But I see this PR as a first step, which should be refined further.
Re building=yes; since >90% of buildings are tagged with the value “yes”,
it’s not possible to distinguish these at the moment. But the hope is that
in the future we might render “building=yes” as a minor building type, if
tagging becomes more specific.
(In practice, the large majority of buildings tagged building=yes are
houses. These make up a large majority of buildings on the globe, and the
largest number of specific values in the database.)
There is certainly room in the color space between `@building-fill` and
`@major-building`-fill to add another class of buildings such as
apartments, retail, commercial etc, but I thought I remembered that
@pnorman and some other contributors disagreed with the idea of
differentiating these? Perhaps my recollection is mistaken?
Such a change would be much more significant cartographically than this PR,
so I would rather implement the slightly lighter fill and line color for
outbuildings before creating specific renderings for “public buildings” or
retail etc.
However, I’m happy to try that change first if there is consensus.
…On Fri, Feb 15, 2019 at 7:49 AM Adamant36 ***@***.***> wrote:
Also keep in mind that in terms of mapper feedback the main point would be
to encourage people to tag more specifically than building=yes. If however
the majority of building types including the most commonly used ones are
rendered just like building=yes that goal is not really served.
This is the rare instance where I agree with @imagico
<https://github.com/imagico>. IMHO, its more important if people start
doing specific tagging on the main building types (retail, commercial,
industrial, residential) then something like security booths. Which are
fairly niche. As it is, if buildings are rendered based on major/minor
building types, then building rendering would have to be further refined to
separate the main four from each either. Which I don't see happening.
At least not without more thought before this is Implemented first, but
there's only so many brown building shades you can have before the
distinctions becomes meaningless. So if major/minor buildings is
implemented as currently discussed, it might be a missed opportunity to do
something better.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3679 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AoxshJ9cA-G1CB2UD_912cneyCh1xM0Gks5vNefrgaJpZM4a1Z1S>
.
|
Thanks for the work on this, and thanks for providing an excellent pull request description, @jeisenbe . That said, I do not think this change is a good idea for the following reasons.
Note that his reverts part of #1153. |
The statement from @pnorman on building types was in #2515 (comment). |
I do not think this change is a good idea for the following reasons.
That’s ok, I thought there was a high chance of this PR being rejected when
I started working on it.
I don't find the use of a lighter colour to indicate 'under construction'
intuitive
I agree that this wasn’t ideal. Perhaps we can try an outline with no fill,
or a dashed outline, for construction.
Does anyone have a good idea for rendering building=roof other than
transparency? Fill with no outline?
…On Sat, Feb 16, 2019 at 12:14 AM Christoph Hormann ***@***.***> wrote:
The statement from @pnorman <https://github.com/pnorman> on building
types was in #2515 (comment)
<#2515 (comment)>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3679 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AoxshJRV-knMNs06xgwzG8UijLevP4Riks5vNs7EgaJpZM4a1Z1S>
.
|
Fill with lines like military areas have. Only in building color and the lines closer together? That's all I can think of. I thought there was someone working on a similar thing at some point. |
Dashed outlines? |
Wouldn't dashed lines or a striped fill increase visual clutter on the map, and thus decrease overall readability? |
Wouldn't dashed lines or a striped fill increase visual clutter on the
map,
Yes. These could only be used at the highest zoom levels, i.e. z18/z19
…On Sun, Feb 17, 2019 at 8:49 AM bdxd111 ***@***.***> wrote:
Wouldn't dashed lines or a striped fill increase visual clutter on the
map, and thus decrease overall readability?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3679 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AoxshMc9uqHnrJd4l12h-rLlBk3ozpFpks5vOLUdgaJpZM4a1Z1S>
.
|
Closing due to comments in opposition from 2 maintainers (@imagico (several comments above) and @matthijsmelissen #3679 (comment)) and previous comments suggesting that one building color is best from @pnorman in |
Fixes #2532
Also see Issues #68 and #1207
See PRs #434, PR #490, #565, #568, #1153, #3426
Changes proposed in this pull request:
Initial list of minor buildings:
This list of values for the key "building" is based off of tags that have more than 9000 uses in the database, according to Taginfo
Discussion
It was considered to remove rendering of minor-buildings from z14, however, since farm buildings (like barns) are included in the list of minor buildings and these can be fairly large, they should still be shown.
Color comparison
@building-fill
#d9d0c9
; - Lch(84, 5, 68) which has a deltaE of Δ: 4.7 with mud over land -#e6dcd1
.At z15, the
minor-buildings-fill
color is#ddd5cf
- LCH(86, 4, 67) with Δ: 3.7 to mud#e6dcd1
.However at this level the outline color will be shown in
#cec3ba
- LCH(79, 6, 69) which has Δ: 8.9 to mud, so there should not be a risk of confusion.#c5c3c3
Lch(79,1,19) with Δ: 5.9 to@minor-building-fill
#d9d0c9
,and Δ: 7.8 to
@minor-building-line
#cec3ba
#c7c7b4
- LCH(80, 10, 109) has Δ: 6.7 with@minor-building-line
and Δ: 9.6 with@minor-building-fill
. This is improved from the current Δ: 6.9 with building-fill-low-zoom#e0dfdf
has Δ: 11.3 with@minor-building-line
and Δ: 5.1 with@minor-building-fill
, (versus Δ: 5.3 with@building-fill
)#d0d0d0
, with Δ: 7.5 to@minor-building-line
and Δ: 4.8 to@minor-building-fill
, (versus Δ: 5.0 with current@building-fill
)#dfddce
has Δ: 9.6 with@minor-building-line
and Δ: 5.6 with@minor-building-fill
, compared to Δ: 4.8 with the current@building-fill
and Δ: 8.6 with current@building-low-zoom
Other values considered
These are debatable.
"Collapsed" and "ruins" should perhaps not be rendered as a building at all.
"Static_caravans" (aka mobile homes) are similar to houses, but also similar to huts, as are cabins.
Hangars and storage_tanks are large, fairly solid structures, but are not intended for human use.
There are other values in use with fewer than 10,000 occurrences which might be considered in the future, but for this PR the list has been limited to building values with nearly 10,000 or more uses.
It has also been considered to render building=roof and building=greenhouse with transparency, but this can be considered again in another PR.
Test renderings with links to the example places:
Luxembourg, building=construction on landuse=construction at center
(Also at the lower zoom levels a building=construction on landuse=commercial is seen, and some building=garage, but quite small)
https://www.openstreetmap.org/#map=14/49.4984/6.1234
z14 Before
After
z15 Before
After
z17 Before
After
Lohbrugge - residential with garages
https://www.openstreetmap.org/#map=14/53.5093/10.2326.png
z14 before
after
z15 before
after
z17 before
after
Carports
https://www.openstreetmap.org/#map=18/53.48582/10.17360.png
z18 before
after
Farmyard
z14 Before
after
z15 Before
after
z16 Before
after