Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15141 closed enhancement (fixed)

Overpass Download - HTTP 414 Request-URI Too Long

Reported by: mmd Owned by: Don-vip
Priority: normal Milestone: 17.08
Component: Core Version: latest
Keywords: overpass download http get post Cc: mmd

Description

I have a rather long Overpass query, which runs successfully on Overpass Turbo, but fails in JOSM with HTTP 414 Request-URI Too Long. Is there some option to switch from GET to HTTP POST in JOSM? If not, I'd like to propose to switch to HTTP POST like Overpass Turbo does, or at least offer some option to do so.

Attachments (0)

Change History (6)

comment:1 by Don-vip, 7 years ago

Owner: changed from team to mmd
Status: newneedinfo

Can you please post your query?

comment:2 by anonymous, 7 years ago

Sure, here's the query I used in overpass turbo.

Note that although this query points to a different server, the URL parameter is also too long for a HTTP GET request on overpass-api.de. I think the limit is around 81xx bytes.

comment:3 by Don-vip, 7 years ago

Owner: changed from mmd to team
Status: needinfonew

comment:4 by Don-vip, 7 years ago

Milestone: 17.08
Owner: changed from team to Don-vip
Status: newassigned

comment:5 by Don-vip, 7 years ago

Resolution: fixed
Status: assignedclosed

In 12596/josm:

fix #15141 - Make HTTP POST requests to Overpass API - allows longer/more complex queries

comment:6 by Don-vip, 7 years ago

In 12711/josm:

see #15141, see #15167 - use correct message ("Downloading data" instead of "Uploading data") when downloading data from Overpass API / POST

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
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.