StreetComplete icon indicating copy to clipboard operation
StreetComplete copied to clipboard

Revisit road types AR-measurements are asked for

Open kmpoppe opened this issue 6 months ago • 3 comments

Use case The physical height quest (AR-measure) is currently asked for the ALL_ROADS constant, which includes motorways, primary and secondary roads as well as their links. Even though users are asked to excercise caution when answering quests, insisting on asking AR-measuremeants on highspeed roads doesn't sound like a worthwhile task. If users get annoyed by being asked for a measurement at a place where it is unsafe to do so, they might deactivate the quest, even though it would be fine to use in other "safe" situations.

Proposed Solution Remove ways from AR-measurement quests, where it is unsafe and/or illegal to stop without sufficient reasons.

kmpoppe avatar Jun 19 '25 09:06 kmpoppe

I agree, but the crux is how to properly detect "where it is unsafe and/or illegal to stop".

In my (quite limited) experience, highway=motorway and highway=motorway_link perhaps indeed should always be skipped (at least I cannot imagine when it would be safe to walk across them).

Perhaps we could also skip anything that is explicitly tagged with foot=no[^1]?

But any class of the road which is likely to have a pedestrian crossing is probably just fine for measuring (which for Croatia definitely includes secondary and secondary_link and even many primary roads and their links). As you can just wait for pedestrian green light, and then cross it while measuring; all perfectly safe and legal.


As for general safety, well, one could get hit by a car even on highway=residential or highway=service. Technological limits are not a replacement for common sense and caution (and SC Intro does warn of that specifically).

[^1]: although foot=no only indicates you are not allowed to walk on the road, not that is illegal to cross it. In Croatia for example, you're allowed to cross any road except motorways (and similar roads where non-motor vehicles are forbidden) at any place is there is no marked crossing withing 50 meters, and it is safe to do (which is in surprisingly high percentage of cases: when car traffic is low).

mnalis avatar Jun 19 '25 14:06 mnalis

I would skip motorway and motorway_link and maybe all with foot=no?

I guess this can be sometimes measured from sidewalk, maybe give exemption for sidewalk*=separate ?

And yes for some motorways it could be measured from nearby service ways etc, but losing this can be fine I guess.

matkoniecz avatar Jun 19 '25 16:06 matkoniecz

iirc motorroad=yes and a tag called something with expressway imply foot=no, too

westnordost avatar Jun 20 '25 09:06 westnordost

I guess this can be sometimes measured from sidewalk, maybe give exemption for sidewalk*=separate ?

Better not; StreetMeasure gives instructions against doing that, as it can introduce big errors.

mnalis avatar Jun 20 '25 13:06 mnalis

@kmpoppe Are you interested in making and testing PR for that?

matkoniecz avatar Jun 21 '25 06:06 matkoniecz

Assigned myself, will check tmrw.

kmpoppe avatar Jun 21 '25 15:06 kmpoppe

I guess this can be sometimes measured from sidewalk, maybe give exemption for sidewalk*=separate ?

Better not; StreetMeasure gives instructions against doing that, as it can introduce big errors.

I mean this is for physical height, not width, aka bridges. If the sidewalk runs under the bridge I don't see a reason why the measurement would be worse from there compared to from the center of the road.

RubenKelevra avatar Jul 21 '25 21:07 RubenKelevra