Project

General

Profile

1
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
2
<OWSContext version="0.0.13"
3
    id="ows-context-tie"
4
    xmlns="http://www.opengis.net/context"
5
    xmlns:xlink="http://www.w3.org/1999/xlink"
6
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
    xmlns:sld="http://www.opengis.net/sld"
8
    xmlns:ogc="http://www.opengis.net/ogc"
9
    xmlns:ows="http://www.opengis.net/ows"
10
    xmlns:param="http;//www.opengis.net/param"
11
    xsi:schemaLocation="http://www.opengis.net/oc oc_0_0_13.xsd">
12
  <General>
13
    <Window width="500" height="325"/>
14
    <ows:BoundingBox crs="EPSG:900913">
15
      <ows:LowerCorner>1447984 6062258</ows:LowerCorner>
16
      <ows:UpperCorner>1470571 6084922</ows:UpperCorner>
17
    </ows:BoundingBox>
18
    <Title>OWS context with Google</Title>
19
    <Abstract> The OGC Web Services Context Document with google baselayer (mapbuilder only ATM)</Abstract>
20
  </General>
21
  <ResourceList>
22
    <ows:BaseLayer>
23
      <Server service="Google"/> <!-- the service attribute will decide what kind of layer it is, in the case of a WMS you will need to add a resource url -->
24
      <Name>Google Hybrid</Name>  <!-- used to set the name of the baselayer -->
25
      <ows:TileSet>  <!-- this is taken from TileCache.py -->
26
        <!-- <ows:resolutions/> --><!-- If prefered you can store you custom resolutions, for ymap,ve and gmap it's not needed -->
27
        <ows:SRS>EPSG:900913</ows:SRS>  <!-- if set to EPSG:900913 it will automatically switch to sphericalMercator -->
28
        <ows:BoundingBox SRS="EPSG:900913" minx="-20037508" miny="-20037508" maxx="20037508" maxy="20037508.34"/> <!-- unfortunately this is currently being ignored, please use the OWS context bbox-->
29
        <ows:Layers>hybrid</ows:Layers> <!-- here you can choose aerial/satellite, road/normal or hybrid(default)-->
30
        <!-- <ows:Width/> --> <!-- here you can specify a custom tilesize, default is 256 -->
31
        <!-- <ows:Format/> --> <!-- here you can specify a custom format -->
32
      </ows:TileSet>
33
    </ows:BaseLayer>
34
  </ResourceList>
35
</OWSContext>
(7-7/10)