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_Ale... |
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). answered 09 Jan '17, 09:32 SK53 ♦ 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. answered 18 Jan '17, 09:26 pnorman 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...
|