https://github.com/tilezen/tileserver
A lightweight tileserver to share code paths with tilequeue for tile generation.
https://github.com/tilezen/tileserver
Last synced: 8 months ago
JSON representation
A lightweight tileserver to share code paths with tilequeue for tile generation.
- Host: GitHub
- URL: https://github.com/tilezen/tileserver
- Owner: tilezen
- License: mit
- Created: 2015-07-15T19:48:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-05-30T17:59:43.000Z (almost 2 years ago)
- Last Synced: 2025-04-11T07:07:05.557Z (11 months ago)
- Language: Python
- Homepage:
- Size: 201 KB
- Stars: 79
- Watchers: 24
- Forks: 27
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vector-tiles - tileserver
README
# tileserver
A lightweight tileserver to share code paths with [tilequeue](https://github.com/tilezen/tilequeue) for tile generation.
## Installation
We recommend following the vector-datasource [installation instructions](https://github.com/tilezen/vector-datasource/wiki/Mapzen-Vector-Tile-Service).
There is a requirements file that can be used to install.
pip install -Ur requirements.txt
Then:
python setup.py develop
## Installation (detailed)
In addition to the dependencies in [requirements.txt](requirements.txt), tileserver requires
* PostgreSQL client-side development library and headers (for psycopg)
* GEOS library
These can be installed on Debian-based systems with
```
sudo apt-get install libpq-dev libgeos-c1v5
```
Then install the python requirements with
pip install -Ur requirements.txt
Then:
python setup.py develop
## Usage
cp config.yaml.sample config.yaml
python tileserver/__init__.py config.yaml