Skip to content

simon04/whoots.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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 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

About

A WMS to TMS proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published