pedros007 / mapserver-docker

Docker Image of Mapserver WMS server that renders imagery directly out of an AWS S3 bucket
MIT License
27 stars 9 forks source link

Can this be used for TMS-style HTTP requests? #1

Closed tombh closed 7 years ago

tombh commented 7 years ago

I mean something like /{x}/{y}/{z}?

I'm wondering if such a thing is possible for Cloud Optimized GeoTiffs? I know there's also https://github.com/hotosm/oam-dynamic-tiler (which I'm helping with), but it doesn't support GeoTiffs as far as I know yet.

pedros007 commented 7 years ago

Hi @tombh. As far as I know, Mapserver does not have a TMS/WTMS endpoint. In the past, I've put a lightweight proxy in front of WMS that would take /{x}/{y}/{z}/ coordinates and proxy to WMS. Check out ZXY to WMS Proxy.

If your site will be high traffic, you may want to check out something like MapCache or MapProxy which can act like a TMS -> WMS proxy, while also caching the resulting images.

tombh commented 7 years ago

Great answer, that's given me lots to research and think about, thank you :)