[mapserver-users] mapcache: How can I configure an other name for rootlayer in getcapabilities document?

Ariane Brörmann ariane.broermann at googlemail.com
Thu Feb 14 01:41:52 PST 2013


I use mapcache for caching my own WMS-service. I called my layer "mylayer",
but the GetCapabilities document contains "rootlayer" all time. I would
already like to have the name of my layer "mylayer" instead of "rootlayer".
Is it configurable? Or missed I something?

Ariane

 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE WMT_MS_Capabilities SYSTEM "
http://schemas.opengis.net/wms/1.1.0/capabilities_1_1_0.dtd" [
@@ -23,7 +27,7 @@
 <WMT_MS_Capabilities version="1.1.1">
   <Service>
     <Name>OGC:WMS</Name>
     <Title>test</Title>
        ...
   </Service>
   <Capability>
@@ -48,11 +52,11 @@
     </VendorSpecificCapabilities>
     <Layer>
       <Name>rootlayer</Name>
       <Title>test</Title>
       <SRS>...</SRS>
       <Layer cascaded="1" queryable="0">
         <Name>mylayer</Name>
         <Title>test</Title>
         ...
       </Layer>
     </Layer>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130214/1be4ab21/attachment.html>


More information about the mapserver-users mailing list