This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Troubleshooting Maproulette

0

Im trying to craft a Maproulette challenge to find parking with access-tags with this query:

{{geocodeArea:bergen}}->.searchArea;
(
  node["amenity"="parking"]["access"!~".*"](area.searchArea);
  way["amenity"="parking"]["access"!~".*"](area.searchArea);
  relation["amenity"="parking"]["access"!~".*"](area.searchArea);
);
out body geom qt;
>;

But when I build the challenge it fails (Status: failed).

How can I troubleshoot what the problem is? The query gives me valid data when ran in Overpass and I can't find any logs or errors at the Maproulette website.

asked 23 Sep '17, 22:09

FredrikLindseth's gravatar image

FredrikLindseth
815132435
accept rate: 13%


One Answer:

1

The geocodeArea in {{geocodeArea:bergen}}->.searchArea; originated with Overpass-Turbo and likely isn't supported by Maproulette. Replacing it with the Overpass API area id will probably get it to work.

The Overpass QL documentation describes area ids as follows:

Note that area ids need to be derived from an existing OSM way by adding 2400000000 to its OSM id or in case of a relation by adding 3600000000 respectively.

answered 24 Sep '17, 02:31

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

That did fix my problem! Thanks.

(25 Sep '17, 20:13) FredrikLindseth

Source code available on GitHub .