You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Public transport quality assurance callenges for MapRoulette
3
+
4
+
## Current challenges
5
+
6
+
-`large-stop_area-bbox` - Checks the bbox size of all stop_area relations in a certain area and creates tasks to check on those that surpass a certain threshold value
7
+
-`stop_area-names-from-platform-names` - Creates a TagFix-Challenge json-File that proposes to add a name=-Tag to stop_area-Relations where all platforms have the same name
8
+
9
+
## How to use the output of the scripts / this repository
10
+
11
+
A GitHub Action executes the scripts and creates a release with the output files. You can download the files from the [releases page](https://github.com/OPENER-next/PT-QA-MapRoulette/releases).
12
+
13
+
[](https://github.com/OPENER-next/PT-QA-MapRoulette/actions/workflows/release.yml)
14
+
15
+
For usage with MapRoulette, it is recommended that you use the static url that will always point to the latest release.
# Überprüfung großer stop_area BoundingBoxen - Deutschland
2
+
3
+
This challenge checks the bbox size of all stop_area relations in germany and creates tasks to check on those that surpass a certain threshold value.
4
+
5
+
## Maproulette Challenge Description
6
+
7
+
```
8
+
In dieser Challenge werden dir einige Haltestellenrelationen gezeigt, die ungewöhnlich groß sind. Sieh nach, ob sie nur die korrekten Elemente enthalten und verändere die Relation wenn nötig.
9
+
10
+
```
11
+
12
+
13
+
14
+
## Maproulette Task Instruction
15
+
16
+
```
17
+
Diese Haltestellenrelation ist ungewöhnlich groß. Sieh nach, ob nur die korrekten Elemente enthalten sind und verändere die Relation wenn nötig.
# Use this function to determine if a task needs to be created for a given element
11
+
# use this function for filtering things that overpass cannot filter, maybe by using a function from a different file that you specifically implemented for this task
12
+
# if your overpass query already returns all elements that need to be fixed, make this function return True
13
+
defneedsTask(e):
14
+
# An element needs a task if either the vertical or the horizontal bbox edge is longer than a predefined value in meters
15
+
max_distance=1000
16
+
# Calculate the length of the longitude difference of the bbox
This script gets all stop_areas without names from the overpass API. In the query, a virtual OSM object is constructed with a "combined name" of all platforms of this stop_area. If their names are different, the `name=`-tag of this new object will read `< multiple values found >`, and it will not be considered. If their names are equal, this name is written to the `name=`-tag and suggested to be added as the name for the whole stop_area.
4
+
5
+
## Maproulette Challenge Description
6
+
7
+
```
8
+
In dieser Challenge bearbeitest du Haltestellenrelationen, die keinen Namen haben. Alle Steige in dieser Relation (oder zumindest alle, die einen Namen haben), haben den gleichen Namen. Deswegen ist mit hoher Wahrscheinlichkeit davon auszugehen, dass die Haltestelle als ganzes auch so heißt. Wenn der Name sinnvoll erscheint, drücke auf "Yes", um ihn der Haltestellenrelation hinzuzufügen.
9
+
10
+
```
11
+
12
+
13
+
14
+
## Maproulette Task Instruction
15
+
16
+
```
17
+
Das ist der Mittelpunkt einer Haltestellenrelation. Sie hat selber noch keinen Namen. Alle Steige in dieser Relation (oder zumindest alle, die einen Namen haben), haben den gleichen Namen. Deswegen ist mit hoher Wahrscheinlichkeit davon auszugehen, dass die Haltestelle als ganzes auch so heißt. Wenn der Name sinnvoll erscheint, drücke auf "Yes", um ihn der Haltestellenrelation hinzuzufügen.
0 commit comments