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. |
Can you please share some details what you did?
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.
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
(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.