This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Display the OSM map with only border lines of the world

1

Is there a way to display the OSM so it displays only the of the world? If so, then how?

I am using OSM through OpenLayers.

Any help is appreciated.

asked 27 Jun '17, 11:52

melody_ace's gravatar image

melody_ace
26113
accept rate: 0%

Sounds like a case for a "thematic data extract" actually, but I don't see anything at https://wiki.openstreetmap.org/wiki/Planet.osm#Global_thematic_extracts or http://openstreetmapdata.com/data .

(27 Jun '17, 11:56) SomeoneElse ♦

@SomeoneElse Well, I just want to have a map with only border lines so that the landscape and the sea is in the same color (for example black) and the lines (coastlines/ border lines) are in another color (for example white).

(27 Jun '17, 12:40) melody_ace

One Answer:

1

Use Natural Earth data (it's what OSM uses itself for the smallest scales).

answered 28 Jun '17, 14:33

SK53's gravatar image

SK53 ♦
28.1k48268433
accept rate: 22%

Source code available on GitHub .