https://github.com/simon04/whoots.js
A WMS to TMS proxy
https://github.com/simon04/whoots.js
Last synced: about 1 year ago
JSON representation
A WMS to TMS proxy
- Host: GitHub
- URL: https://github.com/simon04/whoots.js
- Owner: simon04
- Created: 2013-01-06T12:43:33.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-06T14:26:31.000Z (over 13 years ago)
- Last Synced: 2025-03-14T06:11:13.092Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WhooTS.js
=========
WhooTS.js is a WMS to TMS proxy, i.e., it rewrites TMS requests into WMS requests, and so enables the usage of WMS servers in applications that only support TMS.
Based on [WhooTS](https://github.com/timwaters/whoots) written in Ruby.
Install & run
-------
```
npm install
node app
```
Usage
-----
* `http://localhost:3000/tms/{z}/{x}/{y}/{layer}/{wms}`
* optional GET parameters with default values (directly used for WMS request):
* * `format=image/png`
* * `version=1.1.1`
* * `srs=EPGS:900913` (e.g., `srs=EPGS:3857`, see notes below)
* * `layers=`
* * `map=`
* * `styles=`
Notes & limitations
-------------------
* Redirects only and does not reproject. Thus, make sure that the WMS server supports `EPSG:900913` (or aliases, then use `?srs={srs}`)
* No caching
License
-------
GNU Public License