Modify

Opened 8 years ago

Closed 8 years ago

#15827 closed defect (othersoftware)

Overpass API query for route_master relations doesn't work

Reported by: contrapunctus Owned by: contrapunctus
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report overpass Cc:

Description

What steps will reproduce the problem?

Download using Overpass Turbo query "type=route_master and route_master=bus in Delhi"

What is the expected result?

Bus route_master relations in Delhi are downloaded.

What happens instead?

A "No data found in this area" message appears. No route_master relations are downloaded.

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: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46
Revision:13265
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13265 en) Linux Debian GNU/Linux 9.3 (stretch)
Memory Usage: 459 MB / 866 MB (42 MB allocated, but free)
Java version: 1.8.0_151-8u151-b12-1~deb9u1-b12, Oracle Corporation, OpenJDK Server VM
Screen: :0.0 1366x768
Maximum Screen Size: 1366x768
Java package: openjdk-8-jre:i386-8u151-b12-1~deb9u1
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
Dataset consistency test: No problems found

Plugins:
+ continuosDownload (68)
+ download_along (33710)
+ pt_assistant (33860)
+ public_transport (33817)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: java.net.SocketException: Socket closed
- E: java.net.SocketException: Socket closed

Attachments (0)

Change History (6)

comment:1 by Don-vip, 8 years ago

Owner: changed from team to contrapunctus
Status: newneedinfo

Did you try to increase the search timeout? I guess there a lot of data in New Delhi and you cannot use the default timeout value.

comment:2 by contrapunctus, 8 years ago

I tried increasing it to 60, then 600. No luck. FWIW the query '(type:relation and type=route and route=bus) in Delhi' works, downloading the relations (as well as their members). This is with the default timeout, and this is probably more data than the route master relations, right?

comment:3 by naoliv, 8 years ago

It's not a problem in JOSM from what I can see, but in your query.
Even directly from overpass there is no data when using type=route_master and route_master=bus in Delhi: https://overpass-turbo.eu/s/vnq

Simply there is no object with type=route_master in Delhi.

Also note that type:relation and type=route and route=bus is way different than type=route_master and route_master=bus

comment:4 by contrapunctus, 8 years ago

Simply there is no object with type=route_master in Delhi.

But...there are, I made them myself :\ I can even download the route_master relations by selecting the child relations and File -> Download parents, or by downloading them from the Parents tab in the relation editor.

One example -
https://www.openstreetmap.org/relation/7930910

comment:5 by floscher, 8 years ago

This is a design decision of Overpass API. It will not resolve relations inside relations: https://github.com/drolbr/Overpass-API/issues/293

comment:6 by Don-vip, 8 years ago

Keywords: overpass added
Resolution: othersoftware
Status: needinfoclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain contrapunctus.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.