All Projects → Geovation → Tiler

Geovation / Tiler

Licence: mit
A no nonsense Vector Tile pipeline

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tiler

Vector Datasource
Tilezen vector tile service - OpenStreetMap data in several formats
Stars: ✭ 427 (+223.48%)
Mutual labels:  tile, geojson, vector-tiles
Mapshaper
Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files
Stars: ✭ 2,813 (+2031.06%)
Mutual labels:  geojson, shapefile
Tilehut
A modest, but cozy home for your map tiles
Stars: ✭ 132 (+0%)
Mutual labels:  tile, vector-tiles
GeoConvert
Converting between Geojson and GIS file formats
Stars: ✭ 32 (-75.76%)
Mutual labels:  geojson, shapefile
Mapbox Gl Native Android
Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
Stars: ✭ 135 (+2.27%)
Mutual labels:  geojson, vector-tiles
Agstoshapefile
Convert ArcGIS Server Dynamic Map Service to GeoJSON and Shapefile
Stars: ✭ 172 (+30.3%)
Mutual labels:  geojson, shapefile
gb-convert
Gameboy tile conversion and map editor tool
Stars: ✭ 26 (-80.3%)
Mutual labels:  converter, tile
Tippecanoe
Build vector tilesets from large collections of GeoJSON features.
Stars: ✭ 1,986 (+1404.55%)
Mutual labels:  geojson, vector-tiles
Leaflet.vectorgrid
Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
Stars: ✭ 436 (+230.3%)
Mutual labels:  geojson, vector-tiles
Magellan
Geo Spatial Data Analytics on Spark
Stars: ✭ 507 (+284.09%)
Mutual labels:  geojson, shapefile
leaflet-geojson-selector
Show GeoJSON Layer like as Interactive Menu List
Stars: ✭ 88 (-33.33%)
Mutual labels:  vector-tiles, geojson
Geotools
Official GeoTools repository
Stars: ✭ 1,109 (+740.15%)
Mutual labels:  geojson, shapefile
Mapbox Gl Native
Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
Stars: ✭ 4,091 (+2999.24%)
Mutual labels:  geojson, vector-tiles
Mapbox Gl Js
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
Stars: ✭ 8,017 (+5973.48%)
Mutual labels:  geojson, vector-tiles
Gis Dataset Brasil
Geographic Information Systems (GIS) Dataset Brasil - Coleção de shapefiles, GeoJSON e TopoJSON prontas para uso
Stars: ✭ 121 (-8.33%)
Mutual labels:  geojson, shapefile
Kepler
The open source full-stack geosocial network platform
Stars: ✭ 125 (-5.3%)
Mutual labels:  geojson
Mapchete
Tile-based geodata processing using rasterio & Fiona
Stars: ✭ 129 (-2.27%)
Mutual labels:  tile
Docker Workshop
Introduction to Docker tutorial
Stars: ✭ 124 (-6.06%)
Mutual labels:  docker-container
Svgurt
Image -> SVG Vectorizing Tool - Live at:
Stars: ✭ 124 (-6.06%)
Mutual labels:  converter
Docker Webui
Dockerized docker-webui ->
Stars: ✭ 129 (-2.27%)
Mutual labels:  docker-container



A no nonsense Vector Tile pipeline

The purpose of Tiler is to create an easy to use, command line orientied pipeline for taking vector data in formats such as Shapefiles, and transforming them into raw Vector Tiles and MBTiles files (if required).

Tiler exists as a Docker container that unifies several technologies to streamline the creation of vector tiles.

CircleCI Badge

Blog Posts

Setup

Setup requires installation of Docker and a few Docker commands to get started. We've provided a nice little set of instructions in the SETUP file.

Using Tiler

Tiler provides a selection of scripts for converting between various formats and validating them (see the tiler-scripts folder). The primary and simplest way to use Tiler however is to use a config file placed in tiler/tiler-data/configs. Here is an example config file which references a shapefile and a table in a PostGIS database:

{

    "outdir" : "/tiler-data/tiles/",
    "tileset" : "states",
    "simplification" : 5,
    "validate" : false,
    "data" : {

        "states" : {
            "type" : "shapefile",
            "databaseInsert" : true,
            "paths" : ["/tiler-data/test-data/states/states.shp"],
            "minzoom" : 0,
            "maxzoom" : 5
        },

        "capitals" : {
            "type" : "postgis",
            "query" : "select * from capitals"
            "minzoom" : 2,
            "maxzoom" : 10
        }

    }

}

This would be saved as tiler-data/configs/states.tiler.json. For full documentation of the tiler config, consult the CONFIG file in this repo. The file provides the location of the files you wish to translate, along with the output directory and if you want any simplification to occur. "data" is an object full of layers you wish to be ingested into the tiles. In this case the layer has multiple files that they use to generate that layer ("paths"). You can also provide a minimum zoom ("minzoom") and a maximum zoom ("maxzoom") for each layer.

At the moment "type" can be shapefile or geojson, postgis and gml.

Once your config file is setup, and you have followed the setup instructions you can run:

./run.sh states

To generate the set of uncompressed vector tiles and an .mbtiles file.

Tests

Running Tests

A set of tests are provided that can be run using nosetest.

./run.sh --test

Vector Tile Demo

A worked example; we could run the states config file as such:

./run.sh states

After having ran this, there would be a set of states tiles in the tiler/tiler-data/tiles/states directory. You can then run a web server (i.e. python -m SimpleHTTPServer or live-server) from the host, with the tiler directory as the root. You can then navigate to the demos folder to try out those demo pages.

Demos are provided using Leaflet.VectorGrid and also Mapbox GL for you to display your tiles when you're done. You will need to specify your own styling in these examples.

Roadmap

See our contribution guide here Check out the roadmap here

Credits

This project was made possible thanks to building on a fantastic set of previous previous software:

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].