WhooTS - the tiny public wms to tms proxy

What is it?

Its a simple WMS to Google/OSM Scheme TMS proxy. You can use WMS servers in applications which only use those pesky "Slippy Tiles"

Usage:

http://whoots.mapwarper.net/tms/z/x/y/{layer}/http://path.to.wms.server

e.g
http://whoots.mapwarper.net/tms/!/!/!/2013/http://warper.geothings.net/maps/wms/2013
http://whoots.mapwarper.net/tms/z/x/y/870/http://maps.nypl.org/warper/layers/wms/870

Using this WMS server:
http://hypercube.telascience.org/cgi-bin/mapserv?map=/home/ortelius/haiti/haiti.map&request=getMap&service=wms&version=1.1.1&format=image/jpeg&srs=epsg:4326&exceptions=application/vnd.ogc.se_inimage&layers=HAITI&

http://whoots.mapwarper.net/tms/!/!/!/HAITI/http://hypercube.telascience.org/cgi-bin/mapserv?map=/home/ortelius/haiti/haiti.map

http://whoots.mapwarper.net/tms/19/154563/197076/870/http://maps.nypl.org/warper/layers/wms/870

Openstreetmap Potlatch editing example

Map Warper http://mapwarper.net

WMS Link: http://mapwarper.net/maps/wms/2013

http://www.openstreetmap.org/edit?lat=18.601316&lon=-72.32806&zoom=18&tileurl=http://whoots.mapwarper.net/tms/!/!/!/2013/http://mapwarper.net/maps/wms/2013

NYPL Map Rectifier http://maps.nypl.org

http://www.openstreetmap.org/edit?lat=40.73658&lon=-73.87108&zoom=17&tileurl=http://whoots.mapwarper.net/tms/!/!/!/870/http://maps.nypl.org/warper/layers/wms/870

Telascience Haiti http://hypercube.telascience.org/haiti/

http://www.openstreetmap.org/edit?lat=18.601316&lon=-72.32806&zoom=18&tileurl=http://whoots.mapwarper.net/tms/!/!/!/HAITI/http://hypercube.telascience.org/cgi-bin/mapserv?map=/home/ortelius/haiti/haiti.map

Example Outputs

http://hypercube.telascience.org/cgi-bin/mapserv?bbox=-8051417.93739076,2107827.49199202,-8051265.06333419,2107980.36604859&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:900913&width=256&height=256&layers=HAITI&map=/home/ortelius/haiti/haiti.map&styles=

http://maps.nypl.org/warper/layers/wms/870?bbox=-8223095.50291926,4973298.80834671,-8222789.75480612,4973604.55645985&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:900913&width=256&height=256&layers=870&map=&styles=

Important Notes

* Use only a WMS that supports SRS EPSG:3857
* Tiles are Google / OSM Scheme

About: Made with Rack and Ruby by Tim Waters tim@geothings.net Blog
Code available at: github