An open API service indexing awesome lists of open source software.

https://github.com/avin/go-tile-cache

Tiles cache server
https://github.com/avin/go-tile-cache

Last synced: 2 months ago
JSON representation

Tiles cache server

Awesome Lists containing this project

README

          

# GO-Tile-Cache

Tile proxy caching server with gray-scale image converting ability.

## Build

```
go get github.com/astaxie/beego
go get github.com/beego/bee
go get github.com/harrydb/go/img/grayscale
bee pack
```

## Usage

Configure tiles servers in `conf/config.json` file. Use new tile server in your map.
```
http://SERVER-HOST:PORT/?x=310&y=158&z=9&server=SERVER_ALIAS&gs=1
```

## Testing map
```
http://localhost:8080/?x={x}&y={y}&z={z}&server=yandex-vec
```

## Windows run

To run this app as service on Windows:
1. download and unzip http://nssm.cc/release/nssm-2.24.zip
2. run nssm.exe install go-tile-cache
3. browse it to go-tile-cache.exe