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

Only render part of map for which data has been loaded

0

I have successfully setup a tile server and loaded data for one country using the guide found at https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/

When I use this tile server, I do still see the outline of all other countries in the world. The country I loaded data for has details.

Is it possible to prevent the country outline to show ?

Thx

Torben

asked 25 Feb '19, 10:48

TSkov's gravatar image

TSkov
16112
accept rate: 0%


One Answer:

2

The country outlines as well as the land/sea mask come from shape files that you have downloaded as part of the installation procedure. You can modify these shape files either on the command line with ogr2ogr, or in a GUI with QGIS, removing the parts you do not want.

answered 25 Feb '19, 10:59

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .