Modify

Opened 2 months ago

Closed 2 months ago

Last modified 7 weeks 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 Changed 2 months ago by Don-vip

Owner: changed from team to mmd
Status: newneedinfo

Can you please post your query?

comment:2 Changed 2 months ago by anonymous

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 Changed 2 months ago by Don-vip

Owner: changed from mmd to team
Status: needinfonew

comment:4 Changed 2 months ago by Don-vip

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

comment:5 Changed 2 months ago by Don-vip

Resolution: fixed
Status: assignedclosed

In 12596/josm:

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

comment:6 Changed 7 weeks ago by Don-vip

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.