Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

API fails downloading the Island of Guam #1626

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

API fails downloading the Island of Guam #1626

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: charris
[Submitted to the original trac issue database at 8.35am, Friday, 27th February 2009]

curl http://www.openstreetmap.org/api/0.5/ma . 3428748554

File not found

Change this error message for pages not found in public/404.html

curl: (6) Could not resolve host: ; Host not found curl: (6) Could not resolve host: 3428748554; Host not found
@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 11.21am, Saturday, 28th February 2009]

Your URL appears to be completely bogus, which is the cause of your problem.

What has happened is that curl has tried to download http://www.openstreetmap.org/api/0.5/ma which is not a valid URL so has produced a 404 response.

It has then tried to download 3428748554 which it seems to have interpreted as a hostname (presumably it decided to treat it as http://3428748554/) which is couldn't resolve.

@openstreetmap-trac
Copy link
Author

Author: charris
[Added to the original trac issue at 1.19pm, Saturday, 28th February 2009]

Sorry, I pasted the wrong URL..

When I view the map at

http://www.openstreetmap.org/?lat=13.495&lon=144.832&zoom=10&layers=B000FTF

I selected a small area and with an export XML, it will return "500 - Internal Server Error"

http://api.openstreetmap.org/api/0.5/map?bbox=144.8161,13.4568,144.8909,13.5493

Curl returns the same error.

For other areas for Guam, it can be selected.


If I use JOSM, and select the whole region, I get the following error...

Server returned internal error. Try a reduced area or retry after waiting some time.

@openstreetmap-trac
Copy link
Author

Author: charris
[Added to the original trac issue at 1.28pm, Saturday, 28th February 2009]

http://api.openstreetmap.org/api/0.5/map?bbox=144.747,13.358,144.89,13.594

@openstreetmap-trac
Copy link
Author

Author: charris
[Added to the original trac issue at 9.52pm, Saturday, 28th February 2009]

Downloaded smaller sections for a work around.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant