NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have read the question and answer for "Can I download only a subset of data in JOSM?" and have tried to do what is suggested. When I want to download a location by using a url as mentioned, JOSM gives me an error "Failed to open a connection to the remote server 'https://api.openstreetmap.org/api/0.6/'. Host name 'api.openstreetmap.org' could not be resolved. Please check the API URL in your preferences and your internet connection.". This error message is the first mentioned when I refer to the help button, but to resolve it says I should check the url and make sure my preferences are set to the api.openstreetmap.org url which is what it was. Any help will be very much appreciated.

asked 01 Jul '15, 17:00

BmanS's gravatar image

BmanS
56447
accept rate: 0%

Can you please share some details what you did?

(02 Jul '15, 06:29) iii
2

Can you try the URL https://api.openstreetmap.org/api/0.6/ in a browser ? Does that work ? Does your browser use a proxy to go through a firewall and access the internet ? If so, you should configure that same proxy in JOSM.

(02 Jul '15, 07:31) escada
1

When I try the URL it gives me this error, "Couldn't find a file/directory/API operation by that name on the OpenStreetMap server (HTTP 404)". which I believe is normal

(02 Jul '15, 10:49) BmanS
2

(just in case of confusion) https://api.openstreetmap.org/api/0.6/ is expected not to give anything other than "Couldn't find a file/directory/API operation by that name on the OpenStreetMap server (HTTP 404)".

However if you try a request that's supposed to work, such as http://api.openstreetmap.org/api/0.6/changeset/32344153 , you should get some valid data.

(02 Jul '15, 12:25) SomeoneElse ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×622
×18

question asked: 01 Jul '15, 17:00

question was seen: 3,666 times

last updated: 02 Jul '15, 12:25

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum