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

house name and house number answer at once #3582

Merged
merged 12 commits into from Dec 12, 2021

Conversation

matkoniecz
Copy link
Member

@matkoniecz matkoniecz commented Dec 9, 2021

Add another answer "House number and a name" which gives a two field form, for house name and house number.

fixes #2540

Tested case where housenumber is entered, form switched to housename - it record just housename as it should

screen
screen02
screen03

NOTE: PR code needs one filler string in unrelated quest to compile

Add another answer "House number and a name" which gives a two field form, for house name and house number.

fixes streetcomplete#2540
@andrewharvey
Copy link
Contributor

Awesome, any thoughts on how SC could help capture those housenames not captured by SC originally because the mapper could only enter the number?

@smichel17
Copy link
Member

Currently: only solution is to wait for resurvey.

I can't think of anything which could be done for this specifically, but in general, either the layers feature or my proposed alternative, "bulk edit mode" (#2461 (comment)) would allow editing at times when a quest would not normally be shown.

@matkoniecz
Copy link
Member Author

Awesome, any thoughts on how SC could help capture those housenames not captured by SC originally because the mapper could only enter the number?

This is likely not feasible to do as a quest. Asking for housenumber for all buildings with house name where someone answered with partial info instead of making note is not a good idea as vast majority has just housename. Unless in some regions it is safe to assume that building always has house number and house name is a possible addition.

Copy link
Member

@smichel17 smichel17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

@peternewman
Copy link
Collaborator

Currently: only solution is to wait for resurvey.

I don't believe there is a resurvey and don't see any code for one either. But I can think of very few cases when a house number or name would change either.

I can't think of anything which could be done for this specifically, but in general, either the layers feature or my proposed alternative, "bulk edit mode" (#2461 (comment)) would allow editing at times when a quest would not normally be shown.

There is some potentially valid tagging for it:
https://wiki.openstreetmap.org/wiki/Tag:noname%3Dyes

But aside from asking for every house as others have said I can't think of a sensible way to filter it.

idea by FloEdelmann
Copy link
Collaborator

@peternewman peternewman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an observation, this quest includes:
Housenumber
HouseNumber
HOUSENUMBER
House number

And similar for house name.

I appreciate the OSM key is addr:housenumber and the English is "House Number", but would it be worth being consistent and either using housenumber/HOUSENUMBER/Housenumber throughout, or treating it as two words everywhere apart from when it's the actual OSM key (i.e. houseNumber/HOUSE_NUMBER/HouseNumber).

Likewise, but not as bad, for house name.

app/src/main/res/values/strings.xml Outdated Show resolved Hide resolved
matkoniecz and others added 2 commits December 10, 2021 17:55
@matkoniecz
Copy link
Member Author

@smichel17 @FloEdelmann @peternewman Thanks for reviews here and elsewhere!

Copy link
Member

@westnordost westnordost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, also review by me. A few things could be simplified. There is one UI issue I see (IMO).

Copy link
Member

@smichel17 smichel17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Member

@FloEdelmann FloEdelmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me now. Thanks @matkoniecz for implementing the feedback!

@westnordost westnordost merged commit 0fd562f into streetcomplete:master Dec 12, 2021
@Cj-Malone Cj-Malone mentioned this pull request Dec 12, 2021
@matkoniecz matkoniecz deleted the named_number branch February 20, 2022 10:48
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

Successfully merging this pull request may close these issues.

Add another answer "House number and a name" which gives a two field form, for house name and house number.
6 participants