Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.62 KB

README.md

File metadata and controls

48 lines (28 loc) · 1.62 KB

openrailwaymap-tile-export

Generate vector tiles in MBTiles format from an osm2pgsql database.

This repository contains custom code for generating extracts with railway data for OpenRailwayMap, but you may use it as a basis for your own generation of custom MBTiles extracts.

Installation

Follow the installation instructions.

Usage

Once you installed all dependencies like described in the installation instructions, generating vector tiles is very easy:

To export the data from the database and generate a mbtiles vector tileset, simply run:

   $ make export

To remove all local .mbtiles and .geojson files, run:

   $ make clean

You can also just execute make all to clean up local files, (re-)install the database export views and create the mbtiles:

   $ make all

Contribute

Contributions to this project are welcome, read the contribution guidelines for further details and developer information.

If you would like to report an issue, please use the issue tracker on GitHub.

Authors

This project is maintained by Alexander Matheisen.

Github provides a full list of contributors.

License

This project is licensed under the MIT License. See LICENSE for further information.