diff --git a/app/src/main/java/de/westnordost/streetcomplete/data/osm/osmquest/OsmQuestDownloader.kt b/app/src/main/java/de/westnordost/streetcomplete/data/osm/osmquest/OsmQuestDownloader.kt index 43b1462532..379f75da0e 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/data/osm/osmquest/OsmQuestDownloader.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/data/osm/osmquest/OsmQuestDownloader.kt @@ -86,21 +86,21 @@ class OsmQuestDownloader @Inject constructor( if (geometry is ElementPolylinesGeometry) { val totalLength = geometry.polylines.sumByDouble { it.measuredLength() } if (totalLength > MAX_GEOMETRY_LENGTH_IN_METERS) { - Log.d(TAG, "$questTypeName: Not adding a quest at ${pos.toLogString()} because the geometry is too long") + Log.d(TAG, "$questTypeName: Not adding a quest for ${element.toLogString()} at ${pos.toLogString()} because the geometry is too long") return false } } // do not create quests whose marker is at/near a blacklisted position if (blacklistedPositions.contains(pos.truncateTo5Decimals())) { - Log.d(TAG, "$questTypeName: Not adding a quest at ${pos.toLogString()} because there is a note at that position") + Log.d(TAG, "$questTypeName: Not adding a quest for ${element.toLogString()} at ${pos.toLogString()} because there is a note at that position") return false } // do not create quests in countries where the quest is not activated val countries = questType.enabledInCountries if (!countryBoundaries.isInAny(pos, countries)) { - Log.d(TAG, "$questTypeName: Not adding a quest at ${pos.toLogString()} because the quest is disabled in this country") + Log.d(TAG, "$questTypeName: Not adding a quest for ${element.toLogString()} at ${pos.toLogString()} because the quest is disabled in this country") return false } diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/crossing_type/AddCrossingType.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/crossing_type/AddCrossingType.kt index 9e0ae15c09..19cfcdecab 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/crossing_type/AddCrossingType.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/crossing_type/AddCrossingType.kt @@ -7,7 +7,7 @@ import de.westnordost.streetcomplete.data.osm.mapdata.OverpassMapDataAndGeometry class AddCrossingType(o: OverpassMapDataAndGeometryApi) : SimpleOverpassQuestType(o) { - override val tagFilters = "nodes with highway = crossing and (!crossing or crossing = island)" + override val tagFilters = "nodes with highway = crossing and (!crossing or crossing = island) and foot!=no" override val commitMessage = "Add crossing type" override val wikiLink = "Key:crossing" override val icon = R.drawable.ic_quest_pedestrian_crossing