-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Camping site quests #4213
Camping site quests #4213
Conversation
It is in the draft state - do you expect review of what is prepared? Or is it request for help with some part (which one)? |
This comment was marked as resolved.
This comment was marked as resolved.
Code is tested and looks to work OK to me, so ready for review. |
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
I have some quest filter formatting suggestions (to be consistent with existing quest filters) that I'll apply directly; please feel free to overwrite them again if they're not perfect.
I'm not approving, since real icons are still missing.
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampDrinkingWater.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampPower.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampShower.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampType.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampType.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampDrinkingWater.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampPower.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampShower.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampType.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some improvements/suggestions and comments.
app/src/main/java/de/westnordost/streetcomplete/quests/camping/CampType.kt
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampType.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampDrinkingWater.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampDrinkingWater.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampDrinkingWater.kt
Show resolved
Hide resolved
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
Co-authored-by: Mateusz Konieczny <matkoniecz@gmail.com>
(Just ping me if this is ready for final review. I haven't been following this PR. As usual, icons are not required, I'll make them if they are missing.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested in emulator, I have this suggestion mentioned above - but not 100% sure is it useful
recently I was talking with friends and it turns out that in some regions even "is this camping site paid" maybe would be a viable quest
Thanks @westnordost, I've tried playing with icons but got stuck at transparency/fill issues, so I'd appreciate if you can take care of icons when you do final review! Other than that, I think it's as finished as I could make it.
|
In my limited experience of near-to-Croatia parts of Europe it does seem spammy (see #4198 (comment)), but I guess it might differ worldwide. If |
I strongly feel this PR shouldn't be merged with the backcountry answer in its current state; leaving a note when required occasionally would be better than the current other answer which can result in incorrect tagging. Looking at taginfo, more than a quarter of |
@peternewman I'm not sure of which incorrect tagging are you talking about, can you provide an example of what would be marked incorrectly in which case? I understand that it might be argued that some additional tags might be asked for backcountry camps too; but surely there is no incorrect tagging if tourism=camp_site gets tagged only with additional Or did I misunderstand your point? You may try this debug .apk if you wish to quickly check what the quest actually tags on which answer and/or wish to provide a screenshot of the problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions to clarify the backcountry behaviour
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampType.kt
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/CampType.kt
Show resolved
Hide resolved
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampType.kt
Outdated
Show resolved
Hide resolved
Apologies, I'd got caught out by your
This bit is currently untrue looking at the quest filters, you'll still be asked about water, showers and power even if its tagged as backcountry (where they are less likely and its possibly spammy). |
…/CampType.kt Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
…/AddCampType.kt cleaner BACKCOUNTRY matching Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
…/AddCampType.kt Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
Thanks, I've added you code-readability improvements!
Ah yes. I've had a mind about disabling quests for them, but after more careful reading of https://wiki.openstreetmap.org/wiki/Key:backcountry I've decided to still ask for them, as it seems at least some of them are still possible (just less likely, i.e. assumed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, clean implementation. I have nothing else to add other than the tweaks on the wordings. I will do the icons after merging.
app/src/main/java/de/westnordost/streetcomplete/quests/camping/AddCampType.kt
Show resolved
Hide resolved
From not-a-native-speaker: I would have no idea what "RV" is, even with context. |
Okay |
Also as a non-native speaker: RV is clear for me. |
🤷 I changed it to "motorhomes, travel trailers, ..." or something |
This implements some (but not all) of requested quests for tourism=camp_site, thus it mostly fixes #4198:
drinking_water=*
yes/no
questpower_supply=*
yes/no
questshower=*
yes/no
questWho may camp here?
(Tents only
/Caravan only
/Both
) for setting tents=* and caravans=* (with OtherAnswer available to set backcountry=yes)Help needed with icons: This PR reuses icon for
ic_quest_drinking_water
(which might be OK as it is, or it might benefit from being separate icon, e.g. if all icons have tent+some_image), but has only placeholder icons foric_quest_camp_power_supply
,ic_quest_camp_shower
andic_quest_camp_type
. Artistically inclined people are invited to fix those!