WhooTS a small wms to tile proxy – WMS in Potlatch

WhooTS is a small and simple wms to tiles proxy / redirect system.

Essentially it enables the use of WMS in applications that only accept Tiles (google / Openstreetmap scheme) – WMS is now in Potlatch!

How to use it?

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

Example:

a mapwarper map:

http://whoots.mapwarper.net/tms/!/!/!/2013/http://warper.geothings.
net/maps/wms/2013

viewing it in Potlatch, the OpenStreetMap editor:

Goes to:

Caveats:

Its’s quite simple, does not do any caching, it just redirects a tile url to an equivalent WMS request. It would only work with WMS servers that accept EPSG:900913 projections, and at the moment, it outputs OSM / Google Tile scheme, not a proper TMS tile scheme.

It’s written in Ruby with the Sinatra micro web application framework. The code is available on GitHub too. http://github.com/timwaters/whoots