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

I am searching for a OSM file with the country's boundaries only.

The boundaries could be simplified to save file size.

How can I create such? Or download a ready made one?

EDIT: Country names and maybe the capital cities would be nice as well.

EDIT2: The final aim is to get a OsmAnd basemap - but without all the streets, so it becomes very small in size and provides just a rough overview of the world.

asked 08 Jan '17, 14:40

AddisMap_Alexander's gravatar image

AddisMap_Ale...
1.1k314062
accept rate: 0%

edited 06 Feb '17, 20:57


Use Natural Earth shapefiles http://www.naturalearthdata.com/downloads/

These can be converted to OSM formats using ogr2ogr or possibly read into JOSM. (Low zoom levels on the main slippy map use this data already).

permanent link

answered 09 Jan '17, 09:32

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

I downloaded http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/10m/cultural/ne_10m_admin_0_countries.zip and opened in in JOSM via the OpenData plugin. How can I convert the tags to proper OSM country tags (with the names)

(09 Jan '17, 09:45) AddisMap_Ale...

Either manually (which is what I tend to do) or programmatically using ogr2osm http://wiki.openstreetmap.org/wiki/Ogr2osm (and possibly ogr2ogr too).

(10 Jan '17, 09:05) SK53 ♦

If you're after simplified country data, a source like Natural Earth is a better option. If you particularly want all the OSM border data and just the border data, the osmborder_filter program from https://github.com/pnorman/osmborder is able to generate this.

permanent link

answered 18 Jan '17, 09:26

pnorman's gravatar image

pnorman
2.4k52140
accept rate: 18%

That looks good ... I want to have the OSM-tagged data ... so 60 minutes later I have 600 MB file with the borders and I fail to simplify them with Osmosis ... https://help.openstreetmap.org/questions/54521/cant-get-osmosis-to-read-a-pbf

(06 Feb '17, 20:27) AddisMap_Ale...

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:

×129

question asked: 08 Jan '17, 14:40

question was seen: 6,544 times

last updated: 06 Feb '17, 20:57

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