Why not ask your question on the new OpenStreetMap Community Forum?

i want to download from ubuntu the map of specific country. i tried to download it from http://download.geofabrik.de/ by using wget "http://download.geofabrik.de/xxxx.osm.pbf"

but i have got an error say unable to resolve host adress... so how can i download from ubuntu(linux) map?

asked 24 Oct '15, 20:47

elad159's gravatar image

accept rate: 0%

edited 24 Oct '15, 22:25

meta: please use spaces between your question tags. Update: thanks!

(24 Oct '15, 20:53) aseerel4c26 ♦

please post the full command and the error output

(24 Oct '15, 20:54) aseerel4c26 ♦

are you able to view http://download.geofabrik.de/ in your browser?

(24 Oct '15, 20:57) aseerel4c26 ♦

@aseerecl4c yes i can view the site geofabrik , the full command is : i write in the command line

sudo wget http://download.geofabrik.de/asia/china-latest.osm.pbf

then i get this:

--2015-10-25 00:23:51-- http://www.download.geofabrik.de/asia/china-latest.osm.pbf 
Resolving www.download.geofabrik.de(www.download.geofabrik.de)... failed:Name or service not know.
wget: unable to resolve host adress 'www.download.geofabrik.de'
(24 Oct '15, 22:25) elad159

I have no clue why you have a "www" in the wget output... Maybe your ISP / country government is playing bad. Are you in China?

You could try this instead: wget - I have replaced the domain by the current IP of the server.

permanent link

answered 24 Oct '15, 22:34

aseerel4c26's gravatar image

aseerel4c26 ♦
accept rate: 18%


well my problem was because of using the "www" as u said.. thnx anyway , i got a new problem if u can help me out there ill be so glad ! :)

(25 Oct '15, 21:00) elad159
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 24 Oct '15, 20:47

question was seen: 5,237 times

last updated: 25 Oct '15, 21:33

powered by OSQA