giggls / openstreetmap-carto-de

OpenStreetMap german style (a fork of openstreetmap-carto)
Other
52 stars 19 forks source link

Line 59: Wrong URL of get-shapefiles.py #59

Closed walxo closed 2 years ago

walxo commented 2 years ago

Something wrong with URL in line 59: 'url': 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip', # noqa

Browsers are able to download the file, but running get-shapefiles.py script return an error: Error: download failed. (error code: 406, error reason: Not Acceptable)

Maybe should be: 'url': 'https://naciscdn.org/naturalearth/110m/cultural/ne_110m_admin_0_boundary_lines_land.zip', #noqa

giggls commented 2 years ago

Running curl -v instead of blindly reporting bugs here would have revealed the new URL. I will push a a changed version.