-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
Add quest to determine the type of a building #774
Conversation
Is it really "important data that is used by many data consumers"? Is it even used by any data consumers (except StreetComplete itself?). I would move quest priority down to "5. may be shown as missing in QA tools". As it is now it would block even AddHousenumber quest. EDIT: I have seen some uses of that, but very minor One more serious use that I have seen is someone making flood preparation plans - and they were using OSM data to supplement official data. Official data was outdated and based on construction permit, so was missing illegally build houses. They were praising OSM data and mentioned that their problem was distinguishing houses from apartment buildings from industrial buildings or sheds. Here |
I think that farm_auxiliary value would be useful in rural regions (to avoid chicken coop tagged as barns). I may look for an image if that would help. |
I think that app/src/main/res/authors.txt should be also updated - https://github.com/westnordost/StreetComplete/blob/master/app/src/main/res/authors.txt is useful in documenting sources of images. |
Yepp, I already have all sources in a seperate text file but I forgot to add them... I will do this now!
I think you are right, maybe it is not important data that is used by many data consumers but for StreetComplete it is necessary to know what kind of building it is to display the housenumber quest. This is why I selected such a high importance... But it can of course be changed... |
In situation where we have two buildings close to each other, one tagged building=house, second building=yes, both without address I would prefer SC to ask about houseumber before asking question that potentially may allow second housenumber. Currently quest for chicken coop tagged as building=yes will get higher priority than house number quest where it is known that house number is missing. |
Mh, I won't properly look at this PR for some time, as the feature is not planned until v5 and will stir up quite some trouble again. From looking at it, I see a few issues here:
|
I think that it is true, building is a freeform value. I looked in #25 (comment) at stats and 14 values covers more than 98,7% of cases (according to the current stats) with remaining values that are rare enough to be handled with notes or are invalid. I think that looking later at notes and adding the most popular building types that are reported will allow to make 99,5%+ of buildings taggable directly in StreetComplete, other cases requiring a note. After looking again at my list I would recommend adding support for some building values (farm_auxiliary, transportation) to this PR. |
I merged this quest into my fork to test it, my initial comments: I think that it would be desirable to provide explanation of difference between house, residential and apartments. Is it OK to tag kindergarten as schools? If not, what should be used? Maybe "explain XYZ" in can't say menu?
This quest is likely to expose/cause performance issues - either fixing them or limiting how many objects are downloaded may be necessary. Either building=civic page ( https://wiki.openstreetmap.org/wiki/Tag:building%3Dcivic ) should be updated (if this tag is OK) or this value dropped from available. |
It is not obvious that "church" answer should be used for building that were constructed as church and now are used as hotels/warehouses/whatever. (with the same applying to other building values) |
There are also places of worship? (As they tag it in osm, AFAIK) Maybe we could also hide the other types in a long-tap, see #775. |
That's true! As you proposed I reduced the priority to 5.
Yes I know, pictograms are always better than photos... But the pictograms should be in the style of StreetComplete, shouldn't they? And I'm horrible at creating those pictograms...
Maybe we can bypass this by removing detached from the quest because
Good idea! 👍
What do you think may be a good limit? About 500? |
Don't bother. |
Mhh, I'd say this would not be good. These buildings should be tagged correctly from the beginning (no one would look at the value later on to control it). And describing/showing this case (in a pictogram) is quite easy as well. |
@ENT8R thank you for tackling this 👍 Some feedback/suggestion:
|
And should stay to make also weird cases taggable.
Is it improving anything? |
I would consider adding building=office with "Office" label (not all offices are commercial and building=office seems to me better than building=commercial). |
residential should stay (with added mention 'generic') and all residential-like values (house/apartments/...) should be together/on the same line
building=office is marked as deprecated. i agree we need to somehow separate label for office, either public-civic or private-commercial and that is hard in a single quest:
|
Shop is an easier word. I knew shop long before I knew what retail means, even today it wouldn't be in my active dictionary. |
According to my test this quest after answering is never able to apply answers. I created PR to fix this (after ENT8R accepts it it will become part of this PR): ENT8R#2 EDIT: PR merged in |
adding building tag always collided with present building=yes
What you think about adding also farm_auxiliary value (to avoid chicken coop tagged as barns)? |
Did you look at the reworked street surface quest yet? Would perhaps an idea for this quest as well. |
I just tested it a few days ago... By using this QuestAnswerFragment one could select |
Should the overpass query also search for nodes which are tagged as |
That's really quite an edge case. I do not think that it needs to be covered by making the question more complicated. If surveyors spot an odd case (i.e. a church that is now an office building) and they are not sure, they'll leave a note.
Am 24. April 2018 15:54:13 MESZ schrieb ENT8R <[email protected]>:
…> switch to tagging building:use rather than building tag
but with doing this, this quest does not unlock any other quest which
needs a specific `building=*` value...
> make clear that church used as warehouse should be tagged as
building=church, not building=warehouse
I'd prefer this solution, but how should we do this?
What about asking "What is the (original) purpose of this building?"?
|
I am pretty sure that with current question they would tag according to the current use (at least I would do this if I would be unaware how code works). |
@ENT8R well, my point was more: a value which is like a category should still show up as task for other users of SC to add a more fine selection. Most houses or apartment buildings are currently tagged as "residential". We don't fix those buildings when we choose to not include them in this quest. Farm on the other hand is fine as a value for the main building where people live on a farmyard, according to the wiki - which sounds reasonable to me. Why do you think that's a category? Religious buildings? I don't care IMHO. There most of the time already tagged with specialized tags and there are very few. All cities have more garages than religious buildings. :) I still want to vote against the "detached" value even included here. The information have no real value to anybody, when added and there are nearly no uses. This looks like we blow up the complexity on the quest and the parsing for a redundant information: If a building is detached can be determent by the shape of the building and the space between this building and others. |
Theoretically yes, but what if the area is bad mapped and a house which should be connected to another house is not connected...
I would not include them in this quest because this would probably add too much complexity, but if it was accepted, this should be a new quest. The same was proposed by @matkoniecz for the surface quest in #279 to determine values like |
As for detached: I only knew iD has also a special icon or so. But maybe I confused something here, because on iD you also have "houses for multiple families" (in German: Mehrfamilienhäuser). I guess now they are tagged as apartments. |
@rugk single-household and multi-household buildings are seperated, "house" and "appartments". I don't think we need a further seperation if the building shares a wall with a different building, when it's a single-household building. But if so, You can say: I will go to my appartment, you can say: I will go to my house, but you won't say: I go to my detached. So it's actually not a real building type in my opinion, but a detail which we might want to collect, but with a subtag: The main idea is here to collect maybe even more values, like "Doppelhaushälfte" |
So it seems that is a bad tag design, so actually an OSM problem. Maybe escalate it and your suggestion to the OSM wiki, mailing list or wherever it is appropriate. As for this quest, I think I know agree that detached does not have to be a separate selection for the user. (although it would not hurt/have any disadvantage, IMHO) |
If I understand the description in the wiki correctly, the distinction between The picture from Washington shows according to Wikipedia "row houses" (= I agree that the difficulty with
For StreetComplete however, it is only relevant whether the distinction can be conveyed to the user cleary in one or a few words. |
@westnordost good point. I think we should discuss this in the osm community before going forward and add this feature at all. Since the tagging on this topic - which is basically like at least 50% of the buildings is a bit unclear. I think if we add this feature, the special tags on buildings might explode, so better discuss it in advance than too late. :) @ENT8R would you be so kind and start a thread somewhere to get some more users of OSM involved in this discussion? |
Is the tagging mailing list the best to discuss something like this? |
@ENT8R So the answer was yes. That's the best place. :) |
Ok, I am kinda back from a little hiatus. Reasons for that included:
The weather remains still a problem but maybe you can help with the latter. Can/should some tags maybe be left out? I.e. what's the difference between a hut and a cabin? |
I considered making my own simplified version that is not bothering with tagging more detailed than building=residential - especially for older houses in the Old Town answering this in detail as proposed here requires ridiculous survey, as I have no idea whatever given building was originally used by single family, multiple families or is it certainly build as a residential building. I thought about tagging building:use and changing address and roof quests to support building:use tag. |
I think the following building types should be removed:
|
Also, it may be worth a thought to include some man_made stuff. It may happen often that people who draw from satellite imagery just tag everything as building=yes first, even though it may be i.e. a silo or something in reality. Someone willing to look into what could be candidates for inclusion? |
Actually the building type of schools in general is not really a typical one, they can have any building. Mostly the common thing should be that it is just standalone. But of course the building tag does not only tag the outer appearance of a building, but to some extend also how it us used. |
Taking this over, by the way. Perhaps I or @ENT8R should create a new PR to clear all the comments, it has gotten a bit long here. In my commit yesterday, I...
Things to clear up (with the community), with which I could use some help:
|
For now I asked on https://wiki.openstreetmap.org/wiki/Talk:Tag:building%3Doffice#why_this_tag_is_discouraged.3F |
I still think that there is major problem with asking about current usage, not original building purpose. |
Thank you! And BTW: the icons look amazing! I will create a new PR now! Edit: the new PR can be found at #1092 |
Thanks, much appreciated :-) |
I tried to finally fix #25 as this is one of the most wanted features for this app currently...
I am not sure if this is what you meant in the discussion...
It will look like this:
More building types can be added or removed on request 😄