Skip to content

Generate OpenRailwayMap vector tiles in mbtiles format from osm2pgsql database.

License

Notifications You must be signed in to change notification settings

OpenRailwayMap/openrailwaymap-tile-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Generate OpenRailwayMap vector tiles in mbtiles format from osm2pgsql database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published