Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12216 closed defect (othersoftware)

Overpass API import — at Version 2

Reported by: Martin_Borsje Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report overpass timeout Cc:

Description (last modified by simon04)

What steps will reproduce the problem?

  1. Build query. e.g user:"gerrit_dankelman"
  2. Show small map tile with data of user in it

Generated code:

[timeout:25];
// gather results
(
  // query part for: “user:gerrit_dankelman”
  node(user:"gerrit_dankelman");
  way(user:"gerrit_dankelman");
  relation(user:"gerrit_dankelman");
);
// print results
out meta;
>;
out meta;
  1. run 'download

What is the expected result?

user data within the bbox

What happens instead?

starts downloading worldwide data of user (I guess) and times out
Message: Failed to download data. Its format is either unsupported, ill-formed, and/or inconsistent. Details (untranslated): runtime error: Query timed out in "print" at line 12 after 34 seconds.

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2015-11-24 00:04:12 +0100 (Tue, 24 Nov 2015)
Build-Date:2015-11-23 23:14:21
Revision:9060
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9060 en) Windows 10 64-Bit
Memory Usage: 211 MB / 989 MB (43 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found

Plugins:
- FastDraw (31772)
- ImportImagePlugin (31772)
- PicLayer (31772)
- apache-commons (31772)
- buildings_tools (31772)
- contourmerge (1014)
- ejml (31772)
- geotools (31774)
- jts (31772)
- log4j (31772)
- merge-overlap (31772)
- opendata (31772)
- reltoolbox (31772)
- reverter (31772)
- tageditor (31772)
- turnrestrictions (31772)
- utilsplugin2 (31772)
- wikipedia (31772)

Last errors/warnings:
- E: Failed to locate image 'images/wfs.png'
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 5: parse error: Unknown query clause>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 5: parse error: Unknown query clause>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 5: static error: Exactly one of the two attributes "name" and "uid" must be set.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>

Change History (2)

comment:1 by Don-vip, 10 years ago

Keywords: overpass timeout added

comment:2 by simon04, 10 years ago

Description: modified (diff)
Resolution: othersoftware
Status: newclosed

This query also fails using Overpass Turbo (http://overpass-turbo.eu/s/dxO). Seems to be an issue of the Overpass API – please report at https://github.com/drolbr/Overpass-API

Note: See TracTickets for help on using tickets.