Open Tex2002ans opened 2 months ago
Needs research in which country or state which colors mean what. I'd also tend towards then tagging what the color means, rather than the color itself.
Needs research in which country or state which colors mean what. [...]
In the US at least, it's a giant hodgepodge all dependent on local jurisdictions. Here's one article:
Fire hydrants are painted different colors [...]
Fire hydrants are reservoirs for life-saving water. Many people are unaware, however, that the paint color and select markings on a specific hydrant convey key information to aid in firefighting and safety. [...]
The standardization of fire hydrant colors
Knowledge of hydrant colors communicates key information that allows snap decision-making before hooking up a fire hose, but this highly codified color system is not uniform across the United States.
[...] The National Fire Protection Association (NFPA) has defined hydrant color coding, yet many jurisdictions have also developed specific color-code charts and rules of their own.
and this much further down:
A lack of uniformity and the San Francisco example
The lack of uniformity in color coding can result in minor or major local digressions from NFPA 291. A foolproof color-coding system does not exist nationally, but almost all local fire districts do have a hydrant color code in place. It is unwise to assume that colors strictly follow NFPA 291, and local fire hydrant schema should always be consulted. [...]
I suspect the vast bulk of them DO follow those coloring standards (especially newer hydrants), but it won't be uniform across the country/state/counties/cities.
I'd also tend towards then tagging what the color means, rather than the color itself.
Well, for the US looks like there's:
fire_hydrant:awwa_class=
which matches with the US coloring scheme I initially listed:
AA
= Light blueA
= GreenB
= YellowC
= Red... but like the linked article described, that 1-to-1 "colour
<->type mapping" IS NOT necessarily true.
AND where hydrant colour
s can be answered by anybody at a glanceâthat more technical type of quest DEFINITELY seems like something the normal person can't answer without (local) firefighting-specific knowledge.
(At least as far as the US is concerned. Maybe other countries have more uniform hydrant colors/standards.)
Personally, I think getting the colors tagged would be a great first step. THEN, if someone with more domain-specific knowledge wants to come along, they can quickly use the color(+location/county) data to refine things further with those optional tags.
Note: That article above also references:
Perhaps much more detailed info can be found there too.
(One quick difference I noticed was NFPA listed Class B
as "Orange" color instead of "Yellow" like the AWWA standard.)
Random Side Note: Just today, right after I posted this, I was answering someone's OSM Note, adding some things around a high school. Turns out, the user added all the fire_hydrant:awwa_class
in the area, but not the colors! So I updated them. :)
(Maybe the person was a volunteer firefighter or something.)
And, another strange/random coincidence. This morning, I just listened to this great podcast episode:
I was catching up on my usual podcast backlog, and it played a few hours after I wrote up and submitted this issue!
Must've been a sign that more OSM fire hydrant data has to be added!!! :D
I see, so to summarize:
fire_hydrant:awwa_class
because it is not (guaranteed) to be consistentI also did read the article you linked, but did not quite understand the meaning of the bonnet color. It seemed to only mention the cap color. Or is it usually the same?
As for the quest interface itself, I think it would be better to let the user have define the colors in one quest, because if there was first a quest about only the body color and only later the cap and bonnet color, many users will likely answer "uh..." -> "it has multiple colors". How the UI for this ask-all-the-three-things-at-once quest would look like depends on how much percent of hydrants is single color only. If it is indeed the vast majority, then hiding the ability to color all the three section separately behind the "uh..." seems fine to me. UI could look like a outlined drawing of a hydrant, allowing the user to color each section by tapping on it. Then again, if the body color does just signify whether it is a private or public hydrant (usually), this does not seem like such an important information - this property can usually derived roughly from the location it is in and in an emergency, it seems it would not really matter whether the hydrant is on public or private property. So, we could just ask about the cap/bonnet color.
I think itâs easy to overestimate the degree of standardization based on what firefighting organizations would like to be the case. In practice, municipalities get very creative with hydrant paint jobs, just as with any other street furniture. For example, many a patriotic town has painted up their hydrants in red, white, and blue with Stars and Stripes. How will StreetComplete tag the feature in response to the answer, âItâs complicatedâ?
The good news is that this creativity typically only applies to the pillar; even the most artistic designs tend to have uniform, contrasting cap and bonnet colors so that firefighters can easily use the hydrant. Just donât try to impart any meaning from these colors on a national scale.
In terms of the âspamminessâ question, I think there will be some degree of repetition that users in inner cities will feel more acutely than users in suburbs. Most municipalities have a uniform paint scheme citywide, or per neighborhood.
This quest should only be active for areas where it's sure that the color has a meaning. The meaning may vary, but then it's better to ask for the color (so it's "Easily answerable by any pedestrian from the outside") and assume that the users of that information (fire departments) know what the color means.
It should be enabled only the US and any other country that follows the AWWA / NFPA standard. Probably not a lot, because who else uses gallons?
I would probably say it should be enabled:
But... it might also be a good idea to start US first, then expand/refine quest as needed (?).
According to taginfo's bonnet:colour
Map + cap:colour
Map, looks like it is currently:
I have no idea what other types/shapes of hydrants exist in other countriesâbut in the US, so far I've only seen pillars that look similar to the 2 under pillar:type
in the OSM Wiki.
Perhaps the OSM forums can get more varied input from users around the world.
(I have yet to see a "wet barrel" type in multi-colors yet... but I haven't done much armchair mapping in the South/West United States yet.)
- the colors should be tagged rather than the
fire_hydrant:awwa_class
because it is not (guaranteed) to be consistent
Correct.
- there are chiefly 4-5 different colors used on the caps / bonnet to signify different water flow, deviations exist
Yep, pretty much.
From what I have seen so far, there are:
Just yesterday, I also stumbled across a city near me with yellow
hydrants + orange
caps. (Near an industrial / large commercial area. So probably needed the higher flow.)
- private hydrants have a red body, public hydrants have a yellow (or white/gray/... reflective body)
Some jurisdictions red
= private hydrant.
But red
might just mean "lowest flow":
(For example, my town is all yellow
hydrants... but the 3 towns next to me have all red
hydrants. Very similar make-up in all 4 towns. Only thing I can think of is different counties or fire departments.)
I also did read the article you linked, but did not quite understand the meaning of the bonnet color. It seemed to only mention the cap color. Or is it usually the same?
From what I have seen so far, it's mostly:
Body | Bonnet/Top | Coupling/Caps |
---|---|---|
1 color | <-- Same | <-- Same |
1 color | Different | <-- Same |
1 color | Different | Same --> |
1 color | <-- Same | Different |
So these 4 cases might all be equivalent:
green
.Orâfor "easier visibility", "easier to see in the snow", etc.âall their hydrants might be painted a base yellow
(or other bright/stand-out color), but:
green
.green
.green
.Again, every jurisdiction is going to assign color to different things, but the colors would tell SOMETHING key to those firefighters who need to use it.
Note on Caps/Coupling Colors: Let's say there are 3 couplings, they might not all be the same color/type. So:
So, in those jurisdictions, they might do:
So support for 2 cap:colour
colors might be needed, but not a high priority. (Especially if it confuses/clutters + messes up the UI/UX/data.)
Side Note: Like @1ec5 said, there are also just purely cosmetic changes too. Like all a town's hydrants might be:
red
with white
bonnetsred
with white
bonnets + blue
capsred
with white
caps + blue
bonnetsjust because they think it "looks pretty" or "patriotic" or "matches the town colors/aesthetic" or something.
As for the quest interface itself, I think it would be better to let the user have define the colors in one quest, because if there was first a quest about only the body color and only later the cap and bonnet color, many users will likely answer "uh..."
Hmmmmm...
So maybe a potential two-step process, where the "fast track" is the 100% same color.
Something like:
Then have a:
After you click on it, you get an expanded popup with...
3 words + 3 colored squares right next to it:
You then:
That gives you a chance to verify.
So, the "fast track" would just tag:
colour
and the "slow track" would tag:
colour
bonnet:colour
cap:colour
UI could look like a outlined drawing of a hydrant, allowing the user to color each section by tapping on it.
Hmmmmmm... that sounds good.
Or maybe just simple pictures/icons?
Maybe something roughly like this:
And as a nice-to-have:
Maybe the "highlighted color" on the little hydrant icons can change to match your selected color
box.
In terms of the âspamminessâ question, I think there will be some degree of repetition that users in inner cities will feel more acutely than users in suburbs. Most municipalities have a uniform paint scheme citywide, or per neighborhood.
I agree. But if it remembers your previous color selections, then that could make it as easy as:
In one walking trip, I doubt you'd be seeing more than 1 or 2 differently colored hydrants per session. So once you set it for the day, it'll probably just be a quick:
Side Note: I am also reminded of EveryDoor's recent 5.1 release where he added a little row that looks at / remembers previous selections:
I use Every Door to quickly survey hundreds of amenities, and this one thing has been bugging me: for every new building I had to enter both
addr:floor
andlevel
tags, remembering how floors are numbered in the country. Now Every Door looks around and suggests values, so you can mark the shopâs floor with a single tap.
For repetitive tasks like this, I think remembering last value as a "fast track" would be a huge positive. :)
Please be brief and succinct. The more text we have here that isn't to the point, the less likely it is that someone will pick this up to implement it, especially given that the UI is not trivial.
Again, the useful purpose does only exist for countries which follow AWWA / NFPA. It is irrelevant whether some hydrants have a colour
attribute in Europe.
If single-color hydrants are (by far) most common, the UI would look like this:
first, as "fast-track": a simple image-select (e.g. like for surfaces) but with colors for the whole hydrant
There is an item in "Uh..." named "It has several colors..." to switch to the detailed UI, which shows a hydrant that looks like something from a children's coloring book. On tapping the areas (bonnet / cap / body), a dialog with an image-select (but for colors) pops up with which one can select the color. It must be clear to the user that the different areas of the illustration are tappable. (At least show a "tappable" hint animation, like for the street side select). The OK button only appears after all three areas have been colored.
(example picture, doesn't need to be outlined, could be filled areas, too)
Consistent to other quests, e.g. the building levels form, at least in the detailed UI, there can be one "last answer"-button on the top left which allows you to apply the same colors as last time to the current hydrant.
It remains to be determined whether a fast-track UI makes sense or not.
One issue came up in the chat. How to tag hydrants that are painted more creatively?
I expect that this is not a common situation, but still there must be some way that they can be tagged so that the quest is not asked again. See quest guidelines:
đ¤ No unanswerable quests: All generated quests need to be actually answerable (no false-positives). This means that any answer given by the user must result in something being tagged. For example, a quest that asks for the website of a place must be able to tag the element somehow if the user answers that the place has no website - otherwise, the next user will be asked the same question. Sometimes, due to the nature of how things are tagged in OSM (such as the one given in the example) it is unfortunately simply not possible to fulfill this.
colour=many
? artwork_type=graffiti?
Graffiti? Some are specifically approved.
AFAIK grafitti can be legal or outright paid for. See https://wiki.openstreetmap.org/wiki/Tag%3Aartwork_type%3Dgraffiti
I think even the local firefighters would take offense at OSM calling these designs âgraffitiâ. The more elaborate designs could be characterized as artwork, so StreetComplete could dual-tag tourism=artwork
and ignore that tag in future passes. But Iâm not sure about more basic patterns like tricolors and American flags. As with flag:colour
, you might need to account for a semicolon-delimited list of colors.
colour=many?
That one doesn't seem to be used; but there are few dozen uses of colour=multi
artwork_type=graffiti?
I usually mark such as artwork_type=streetart, specifically because neither more specific graffiti
/ mural
seem appropriate.
Note 1: Today, I stumbled across these 2 "non-standard" tags in taginfo:
colour:cap
colour:bonnet
They aren't in the Wiki. And looks like the majority of these were added back in 2013, with a slight bump in 2022.
Just like bonnet:colour
+ cap:colour
, they seem to mostly be relegated to the handful of "popular" colors too.
Note 2: Another thing I recently came across:
I was fixing Notes in New York / Kansas City, and some of these rundown areas had hydrants that looked real "abandoned".
In some countries, the color of fire hydrants can tell important information (flow rate being the biggest).
For example, in much of the US, the OSM Wiki on
emergency=fire_hydrant
says this coloring system may apply:According to
emergency=fire_hydrant
on taginfo, there are:~2 million
emergency=fire_hydrant
.fire_hydrant:type=pillar
~156k have a
colour
.General
Affected tag(s) to be modified/added:
emergency=fire_hydrant
+colour
and these 2 lower-priority optional quests too (see Notes below):
bonnet:colour
bonnet:colour
(~16.6k usages) so far.cap:colour
cap:colour
(~14.6k usages) so far.Question asked: "What is the color of this fire hydrant?
Checklist
Checklist for quest suggestions (see guidelines):
Ideas for implementation
Element selection: This quest can be asked on:
emergency=fire_hydrant
that DOES NOT have acolour
on it.fire_hydrant:type=pillar
only.Metadata needed: N/A.
Proposed UI: The UI could have:
Notes:
colour
should probably be limited to 1 color only.Most Popular Fire Hydrant Colors
According to taginfo...
Ranking most->least popular, the fire hydrant
colour
s are:red
yellow
orange
gray
blue
green
silver
colour=#ff0000
colour
s listed.)Personally, since I began mapping, I have seen mixes of:
Yellow
Red
Yellow or Red (with Green top/caps)
Silver (with Light Blue top/caps)
Optional Quests
These pillar-type hydrants tend to have 3 main parts:
While most hydrants are 100% painted the same color, sometimes the bonnet's color is used to represent the flow rate (or what size pipes it's connected to) instead!
Bonnet Color
For example, here is photos of a:
red
hydrant with agreen
bonnetyellow
hydrant with agreen
bonnetNote: No idea how much spam this quest might cause though (and how to deal with making quest not pop up or create "redundant data" on the "100% painted-same-color" ones...)
This might also cut down on people who might be confused and press "Uh..." on main Hydrant Color quest, because they might think Yellow/Green or Silver/Blue is "multi-colored", and they should only be limited to 1 for that quest type.
Note 2: Instead of being limited to the 7 popular colors above... these may have extra colors like
black
orwhite
.Cap Color
If bonnet color gets added, then likely the person would also want to answer this one.
For example, here is a...
red
hydrant withwhite
bonnet/capsblue
hydrant withwhite
bonnet andred
capsI'm not too sure how popular they are in the real-world... but:
With multi-color caps... OSM so far lists:
yellow;black
red;silver
But, for the most part, I see:
I suspect that's how the VAST majority of real-life hydrants are.
Side Note: Looks like there can be a huge mix of "non-standard" colors too:
(But so far, I don't see any proof of those crazy colors making its way into OSM... yet...)
So...:
The 7 most popular colors ONLY would probably be fine.
For bonnets/caps, perhaps the 7 most popular up top.
colour
square in the very first position?colour=red
hydrant would auto-insertred
square in 1st slot for a bonnet/caps quest.Use-Case: The hydrants in my area are mostly just 100% yellow or 100% red. Would be nice to be able to quickly add that info while on-the-ground (and answering the other 2 fire hydrant quests) though. As of now, I've been adding the color in iD when I get back home.