A docker image to create vector tiles for contour lines and relief raster tiles of europe (mbtiles).
266
A docker image to create vector tiles for contour lines and hillshade (relief) raster tiles of europe (mbtiles files).
The relief and is based on data from SRTM 90m DEM Digital Elevation Database and OpenSlopeMap.
git clone https://github.com/joe-akeem/contour-tiles.git
cd contour-tiles
docker-compose run contour-tiles
This will build the mbtiles files in the folder ./osm/mbtiles
To inspect the mbtiles files a local tileserver can be started as follows:
docker-compose up -d contour-tileserver
The web interface of the tile server is made available at localhost:8080. A basic style is also available and can be used to view the generated data e.g. as Vector Tiles.
You will notice that there are contour lines for 100 meter and for 20 meter equidistance. The 100 meter equidistance lines will start showing from zoom level 10 while the 20 meter equidistance lines are showing from zoom level 13 upwards.
The contour lines are tagged with three fields:
elev: the elevation of the contour line in meters above sea leveltype: this is currently normal for all contour lines. There are plans to encode the terrain in this field
(e.g. normal, rock, glacier) so you can style the lines differently depending on the terrain (e.g. blue for glaciers).
Content type
Image
Digest
Size
391.5 MB
Last updated
over 5 years ago
docker pull joeakeem/contour-lines