This project is an OpenMapTiles add-on layers.
It adds the data layer:
boundary_polygon
: containing polygon for adminstrative area from OSM relationtype=boundary
+boundary=adminstrative
+admin_level=1-9
boundary_label
: containing, OSMlabel
position,admin_centre
position or a point in the largest polygon of the adminstrative area.
Git-clone this project on the root the the OpenMapTiles project:
git clone https://github.com/makina-maps/openmaptiles-layer-boundary_polygon.git layers_extra/boundary_polygon
Add the layer definition to your own openmaptiles.yaml
tileset definition:
layers_extra/boundary_polygon/boundary_polygon/boundary_polygon.yaml
layers_extra/boundary_polygon/boundary_label/boundary_label.yaml
ChangeTILESET_FILE
from the OpenMapTiles.env
to point on it.
All code in this repository is under the BSD license and the cartography decisions encoded in the schema and SQL are licensed under CC-BY.
There is no extra requirement of attribution to this layer than the default OpenMapTiles License.