Whoots
WhooTS is a WMS to Google/OSM Tiles proxy
Install / Use
/learn @timwaters/WhootsREADME
h1. WhooTS : Rack, Ruby + mini WMS -> TMS Proxy
Whoots is the tiny public wms to tms proxy
Its a simple WMS to Google/OSM Scheme TMS proxy. You can use WMS servers in applications which only use those pesky "Slippy Tiles"
h2. Installation
You need :
- Ruby!
- Rack (gem install rack)
h2. Usage
- Gives OSM/Google Tiles, not true TMS (maybe later)
<b>http://example.com/tms/z/x/y/{layer}/http://path.to.wms.server</b>
defaults to png. Optionally pass in ?format=image/jpeg for jpeg e.g.
http://whoots.mapwarper.net/tms/z/x/y/{layer}/http://path.to.wms.server?format=image/jpeg
h2. Examples
- 1 <code>http://example.com/tms/!/!/!/2013/http://warper.geothings.net/maps/wms/2013 </code>
- 2a. From: 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&
- 2b To: <code>http://example.com/tms/!/!/!/HAITI/http://hypercube.telascience.org/cgi-bin/mapserv?map=/home/ortelius/haiti/haiti.map</code>
- 2c 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=
h2. Notes
- Gives OSM/Google Tiles only, so make sure the WMS server support EPSG:3857
- Doesn't do any caching.
- See public/index.html for more examples and help!
h2. puma
for development: bundle exec puma -C config/puma/development.rb
for production: RACK_ENV=production bundle exec puma -C config/puma/production.rb
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
