NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%


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.
permanent link

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×483
×5

question asked: 23 Sep '17, 22:09

question was seen: 1,718 times

last updated: 25 Sep '17, 20:13

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum