Advertisement
laurentb

geowebcache.xml - layer names with accented latin

Mar 8th, 2012
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.67 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <gwcConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3.                  xsi:noNamespaceSchemaLocation="http://geowebcache.org/schema/1.2.2/geowebcache.xsd"
  4.                  xmlns="http://geowebcache.org/schema/1.2.2">
  5. <version>1.2.2</version>
  6. <backendTimeout>120</backendTimeout>
  7.  
  8. <serviceInformation>
  9.     <title>My GeoWebCache</title>
  10.     <description>GeoWebCache is an advanced tile cache for WMS servers.It supports a large variety of protocols and formats, including WMS-C, WMTS, KML, Google Maps and Virtual Earth.</description>
  11.     <keywords>
  12.       <keyword>WFS</keyword>
  13.       <keyword>WMS</keyword>
  14.       <keyword>WMTS</keyword>
  15.       <keyword>GEOWEBCACHE</keyword>
  16.     </keywords>
  17.     <serviceProvider>
  18.         <providerName>John Smith inc.</providerName>
  19.         <providerSite>http://www.example.com/</providerSite>
  20.         <serviceContact>
  21.           <individualName>John Smith</individualName>
  22.           <positionName>Geospatial Expert</positionName>
  23.           <addressType>Work</addressType>
  24.           <addressStreet>1 Bumpy St.</addressStreet>
  25.           <addressCity>Hobart</addressCity>
  26.           <addressAdministrativeArea>TAS</addressAdministrativeArea>
  27.           <addressPostalCode>7005</addressPostalCode>
  28.           <addressCountry>Australia</addressCountry>
  29.           <phoneNumber>+61 3 0000 0000</phoneNumber>
  30.           <faxNumber>+61 3 0000 0001</faxNumber>
  31.           <addressEmail>john.smith@example.com</addressEmail>
  32.         </serviceContact>
  33.     </serviceProvider>
  34.     <fees>NONE</fees>
  35.     <accessConstraints>NONE</accessConstraints>
  36. </serviceInformation>
  37.  
  38. <gridSets>
  39.   <!-- Grid Set Example,
  40.       by default EPSG:900913 and EPSG:4326 are defined -->
  41.   <gridSet>
  42.     <!-- This does not have to be an EPSG code, you can also
  43.         have multiple gridSet elements per SRS -->
  44.     <name>EPSG:2163</name>
  45.     <srs><number>2163</number></srs>
  46.     <extent>
  47.       <coords>
  48.         <double>-2495667.977678598</double>
  49.         <double>-2223677.196231552</double>
  50.         <double>3291070.6104286816</double>
  51.         <double>959189.3312465074</double>
  52.       </coords>
  53.     </extent>
  54.     <scaleDenominators>
  55.       <double>25000000</double>
  56.       <double>1000000</double>
  57.       <double>100000</double>
  58.       <double>25000</double>
  59.     </scaleDenominators>
  60.     <tileHeight>200</tileHeight>
  61.     <tileWidth>200</tileWidth>
  62.   </gridSet>
  63.  
  64.   <gridSet>
  65.     <name>EPSG:32188</name>
  66.     <srs><number>32188</number></srs>
  67.     <extent>
  68.       <coords>
  69.         <double>186520.9794</double>
  70.         <double>4984429.4038</double>
  71.         <double>423079.0206</double>
  72.         <double>6939545.2562</double>
  73.       </coords>
  74.     </extent>
  75.     <resolutions>
  76.         <double>193.1484375</double>
  77.         <double>129.47795458562697</double>
  78.         <double>93.04183634449723</double>
  79.         <double>44.81932871114323</double>
  80.         <double>21.589989031168912</double>
  81.         <double>10.400147431260004</double>
  82.         <double>5.009871308215664</double>
  83.         <double>2.4133129545300824</double>
  84.         <double>1.1625207631485137</double>
  85.         <double>0.5599996976001633</double>
  86.     </resolutions>
  87.     <metersPerUnit>1</metersPerUnit>
  88.     <tileHeight>256</tileHeight>
  89.     <tileWidth>256</tileWidth>
  90.   </gridSet>
  91.  
  92.   <gridSet>
  93.     <name>EPSG:26918</name>
  94.     <srs><number>26918</number></srs>
  95.     <extent>
  96.       <coords>
  97.         <double>222357.2382</double>
  98.         <double>3747355.8896</double>
  99.         <double>777642.7618</double>
  100.         <double>9239816.3278</double>
  101.       </coords>
  102.     </extent>
  103.     <resolutions>
  104.         <double>661.1852051073731</double>
  105.         <double>322.0728934544883</double>
  106.         <double>156.8863729812296</double>
  107.         <double>76.42162543767</double>
  108.         <double>37.226081039137014</double>
  109.         <double>18.133363450410368</double>
  110.         <double>8.833024074679804</double>
  111.         <double>4.3026940102558475</double>
  112.         <double>2.0959045950027764</double>
  113.         <double>1.0209454962130913</double>
  114.         <double>0.4973173438919889</double>
  115.         <double>0.242250483941761</double>
  116.         <double>0.11800372074448123</double>
  117.         <double>0.05748132215450669</double>
  118.         <double>0.027999984880008173</double>
  119.     </resolutions>
  120.     <metersPerUnit>1</metersPerUnit>
  121.     <tileHeight>256</tileHeight>
  122.     <tileWidth>256</tileWidth>
  123.   </gridSet>
  124. </gridSets>
  125.  
  126. <layers>
  127.  
  128.   <wmsLayer>
  129.     <name>topp:states</name>
  130.     <gridSubsets>
  131.       <gridSubset>
  132.         <gridSetName>EPSG:2163</gridSetName>
  133.       </gridSubset>
  134.     </gridSubsets>  
  135.     <wmsUrl><string>http://demo.opengeo.org/geoserver/wms</string></wmsUrl>
  136.   </wmsLayer>
  137.  
  138.   <wmsLayer>
  139.     <name>raster test layer</name>
  140.      <mimeFormats><string>image/jpeg</string></mimeFormats>
  141.     <wmsUrl><string>http://demo.opengeo.org/geoserver/wms</string></wmsUrl>
  142.     <wmsLayers>nurc:Img_Sample</wmsLayers>
  143.   </wmsLayer>
  144.  
  145.   <wmsLayer>
  146.     <name>img states</name>
  147.     <metaInformation>
  148.       <title>Nicer title for Image States</title>
  149.       <description>This is a description. Fascinating.</description>
  150.     </metaInformation>
  151.     <mimeFormats><string>image/gif</string></mimeFormats>
  152.     <!-- Grid Subset Example -->
  153.     <gridSubsets>
  154.       <gridSubset>
  155.         <gridSetName>EPSG:4326</gridSetName>
  156.         <extent>
  157.           <coords>
  158.             <double>-129.6</double>
  159.             <double>3.45</double>
  160.             <double>-62.1</double>
  161.             <double>70.9</double>
  162.           </coords>
  163.         </extent>
  164.       </gridSubset>
  165.     </gridSubsets>
  166.     <wmsUrl>
  167.       <string>http://demo.opengeo.org/geoserver/wms</string>
  168.     </wmsUrl>
  169.     <wmsLayers>nurc:Img_Sample,topp:states</wmsLayers>
  170.     <transparent>false</transparent>
  171.     <bgColor>0x0066FF</bgColor>
  172.     <expireCacheList>
  173.         <expirationRule minZoom="0" expiration="60" />
  174.     </expireCacheList>
  175.     <expireClientsList>
  176.       <expirationRule minZoom="0" expiration="500" />
  177.     </expireClientsList>
  178.   </wmsLayer>
  179.  
  180.   <wmsLayer>
  181.     <name>limite municipale surface indexview thematique,territoires adjacent,Hydrographie,Topographie,Parcs &amp; espaces verts,Végétation,limite municipale surface,zone agricole canal,secteur hors pu canal,cadastre primitif</name>
  182.     <!--name>limite municipale surface indexview thematique,territoires adjacent,Hydrographie,Topographie,Parcs %26 espaces verts,V%C3%A9g%C3%A9tation,limite municipale surface,zone agricole canal,secteur hors pu canal,cadastre primitif</name-->
  183.     <gridSubsets>
  184.       <gridSubset>
  185.         <gridSetName>EPSG:32188</gridSetName>
  186.         <extent>
  187.           <coords>
  188.             <double>264272.0</double>
  189.             <double>5026066.0</double>
  190.             <double>313718.0</double>
  191.             <double>5065556.0</double>
  192.           </coords>
  193.         </extent>
  194.       </gridSubset>
  195.     </gridSubsets>
  196.     <wmsUrl><string>http://72.55.165.135:8090/m_demo/wms</string></wmsUrl>
  197.   </wmsLayer>
  198.  
  199.  
  200. </layers>
  201. </gwcConfiguration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement