https://github.com/seemk/tilesweep
OpenStreetMap tile server
https://github.com/seemk/tilesweep
openstreetmap
Last synced: about 2 months ago
JSON representation
OpenStreetMap tile server
- Host: GitHub
- URL: https://github.com/seemk/tilesweep
- Owner: seemk
- License: mit
- Created: 2016-04-05T17:37:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T19:10:08.000Z (over 6 years ago)
- Last Synced: 2025-02-25T14:50:55.808Z (2 months ago)
- Topics: openstreetmap
- Language: C
- Homepage:
- Size: 21 MB
- Stars: 24
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TileSweep
An OpenStreetMap tile server.
Features:
* Prerendering based on polygon and zoom levels selection.
* Offline tile cache (tiles can be prerendered and served without Mapnik)
* Efficient disk usage## Building
Requirements:
* libmapnik (>= 3.0.12)```
$ mkdir build && cd build
$ cmake ..
$ make
```
## Usage
```
$ cd bundle
$ ./tilesweep -c conf.ini
```
Open your browser and go to http://localhost:8080 for the control panel.The tile URL is http://localhost:8080/tile/X/Y/Z/256/256 (or /512/512).
## Configuration
```
plugins=/usr/lib/mapnik/3.0/input/ ; Mapnik plugins directory, requires postgis plugin
fonts=/usr/share/fonts
host=127.0.0.1
port=8080
tile_db=tiles.db
mapnik_xml=/path/to/openstreetmap-carto/mapnik.xml ; Path to Mapnik's XML stylesheet
rendering=1 ; 1 = Use mapnik, 0 = serve cached tiles
```
## Fresh installationIf you don't have OSM data and mapnik.xml yet, refer to https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/ how to get these. Skip ```Install mod_tile and renderd``` and everything under ```Setting up your webserver```.