mapcache icon indicating copy to clipboard operation
mapcache copied to clipboard

handle default service type w/o pathinfo

Open mkofahl opened this issue 13 years ago • 1 comments

By now, proof of concept only. This feature will allow a service type to be set as default. If no service type is given in the request, mapcache will fall back using this one. URL in capabilites is adjusted for wmts only. So please dont merge at this stage. I will complete for other service types if you find it worth merging.

Configuration:

<mapcache>
   <service type="wmts" enabled="true" default="true"/>

   <metadata>
      <url>http://example.com/mywmts</url>
   </metadata>
</mapcache>
´´´

mkofahl avatar Nov 12 '12 09:11 mkofahl

I've added a new solution based on @mkofahl 's commit. Now all service types support this feature. Additonally the behaviour of the wms service is now working as described in the documentation (see here) if you set default="true" in the wms service type.

ruester avatar Feb 20 '14 13:02 ruester