NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

elad159
367710
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 ♦
1

please post the full command and the error output

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

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

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

@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 5.9.155.152/asia/china-latest.osm.pbf - 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 ♦
32.6k18248554
accept rate: 18%

2

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

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:

×287
×126
×40

question asked: 24 Oct '15, 20:47

question was seen: 5,858 times

last updated: 25 Oct '15, 21:33

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