For some reason when I try to download a large area the file downloaded is a small file called "map.osm.html", which is unusable (zero kb).

Steps to reproduce:

  • Go to openstreetmap.org
  • log in
  • type "paris" in the search field then click the first result "City Paris, Ile-de-France, France"
  • click on "Export on top (green button):

alt text

  • click on the blue button (on the left) "Export:

alt text

  • this is what gets downloaded:

alt text

Question

Is this a known bug, a restriction, a limit? I am a registered user. Am I doing something wrong? Thanks

asked 04 Feb '17, 06:04

fabulousrice's gravatar image

fabulousrice
26112
accept rate: 0%

edited 04 Feb '17, 21:05

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16236548

from which URL did you try to download?

(04 Feb '17, 13:24) aseerel4c26 ♦

I've edited the original question to give you all the details you need ;)

(04 Feb '17, 19:53) fabulousrice

thanks, that's perfect!

(04 Feb '17, 20:37) aseerel4c26 ♦

If you cannot find an answer in the old questions, please ask another question about the root problem you are trying to solve (what you need the download for).

(04 Feb '17, 20:50) aseerel4c26 ♦

First: note that the "export" will give you raw data – not a map.
Second: The export feature of the OSM API is meant for editing purposes only and is restricted in size (you don't need the data of whole Paris to edit single streets or something, only smaller parts are more than enough). In fact the server returns a "HTTP/1.1 400 Bad Request" http status code in its answer. Try a much smaller area (e.g. this, then it works). Technical details for this API call.

If you really need the raw data of a big area there are other ways to get it ("extracts of planet.osm", see also somewhere at "export" questions). The read-only features do not need authentication, so being logged-in does not make a difference.

permanent link

answered 04 Feb '17, 20:46

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16236548
accept rate: 18%

edited 04 Feb '17, 21:06

Your answer
toggle preview

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:

×273
×87

question asked: 04 Feb '17, 06:04

question was seen: 817 times

last updated: 04 Feb '17, 21:06

powered by OSQA