Skip to content
This repository has been archived by the owner on Jul 7, 2018. It is now read-only.

Vector tiles (MVT) from WWF biome data

License

Notifications You must be signed in to change notification settings

lukasmartinelli-alt/wwftiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natural Earth Vector Tiles BSD-3 and ODbL licensed Build Status

Prerendered Natural Earth vector tiles encoded in the Mapbox vector tile specification for use with Mapbox GL or other clients. Currently in heavy development

📂 Download the vector tiles from the releases page.

Mapbox GL visualization of Natural Earth vector tiles

Please also checkout our project to create vector tiles from Open Street Map.

Use Vector Tiles

You can use mbview to take a look at the MBTiles vector tiles locally. To display the vector tiles with Mapbox GL you need a tileserver.

Tileservers:

Run Workflow

The entire project is structured components using Docker containers to work together. Ensure you meet the prerequisites.

Start up the PostGIS database. This will automatically import the Natural Earth data set (can take up to 6 minutes).

docker-compose up natural-earth-postgis

Import the required database schema and helper functions.

docker-compose run db-schema

Export the vector tiles for the planet (can take up to 15min). The exported vector tiles are stored in data/natural_earth.mbtiles.

docker-compose run export-vectortiles

To visualize and work with the vector tiles you can spin up Mapbox Studio in a Docker container and visit localhost:3000.

docker-compose up mapbox-studio

License

The produced vector tiles are licensed under the Open Database License and are made with data originating from Natural Earth.

The source code is Copyright (c) Lukas Martinelli under BSD-3 as defined in License. The vector data source in src/vector-data-source is partially derived from mapbox/natural-earth-tm2 and therefore retains Copyright (c) Mapbox under BSD-3 as defined in License.

About

Vector tiles (MVT) from WWF biome data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published