newbie, unable to add wms

Richard Greenwood richard.greenwood at gmail.com
Wed May 31 22:50:04 EDT 2006


I am unable to add a WMS service (http://www2.tetonwyo.org/wms) to
mapbender. I get "Error: no valid capabilities document..."

The server is running Mapserver. A GetCapabilites request returns the
results pasted below. I am able to add this service to Mapbuilder,
MapInfo and ArcGIS, so I suspect I am doing something wrong, but I do
not know how, or where, to begin debugging the error.

Thanks for any suggestions.

Rich

==== GetCapabilities return =============



<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM
"http://schemas.opengeospatial.net/wms/1.1.1/capabilities_1_1_1.dtd"
 [
 <!ELEMENT VendorSpecificCapabilities EMPTY>
 ]>  <!-- end of DOCTYPE declaration -->

<WMT_MS_Capabilities version="1.1.1">

<!-- MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=JPEG
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG -->

<Service>
  <Name>OGC:WMS</Name>
  <Title>Teton County, Wyoming WMS Server</Title>
  <Abstract>This experimental server provides access to GIS data
produced by Teton County, Wyoming, USA</Abstract>
  <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/>
</Service>

<Capability>
  <Request>
    <GetCapabilities>
      <Format>application/vnd.ogc.wms_xml</Format>
      <DCPType>
        <HTTP>
          <Get><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Get>
          <Post><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Post>
        </HTTP>
      </DCPType>
    </GetCapabilities>
    <GetMap>
      <Format>image/gif</Format>
      <Format>image/png</Format>
      <Format>image/png; mode=24bit</Format>
      <Format>image/jpeg</Format>
      <Format>image/wbmp</Format>
      <Format>image/tiff</Format>
      <DCPType>
        <HTTP>
          <Get><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Get>
          <Post><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Post>
        </HTTP>
      </DCPType>
    </GetMap>
    <GetFeatureInfo>
      <Format>text/plain</Format>
      <Format>application/vnd.ogc.gml</Format>
      <DCPType>
        <HTTP>
          <Get><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Get>
          <Post><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Post>
        </HTTP>
      </DCPType>
    </GetFeatureInfo>
    <DescribeLayer>
      <Format>text/xml</Format>
      <DCPType>
        <HTTP>
          <Get><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Get>
          <Post><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Post>
        </HTTP>
      </DCPType>
    </DescribeLayer>
    <GetLegendGraphic>
      <Format>image/gif</Format>
      <Format>image/png</Format>
      <Format>image/png; mode=24bit</Format>
      <Format>image/jpeg</Format>
      <Format>image/wbmp</Format>
      <DCPType>
        <HTTP>
          <Get><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Get>
          <Post><OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://www2.tetonwyo.org/wms?"/></Post>
        </HTTP>
      </DCPType>
    </GetLegendGraphic>
  </Request>
  <Exception>
    <Format>application/vnd.ogc.se_xml</Format>
    <Format>application/vnd.ogc.se_inimage</Format>
    <Format>application/vnd.ogc.se_blank</Format>
  </Exception>
  <VendorSpecificCapabilities />
  <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1"
RemoteWFS="0"/>
  <Layer>
    <Name>wms</Name>
    <Title>Teton County, Wyoming WMS Server</Title>
    <SRS>EPSG:4269</SRS>
    <SRS>EPSG:4326</SRS>
    <SRS>EPSG:26912</SRS>
    <SRS>EPSG:26712</SRS>
    <SRS>EPSG:102758</SRS>
    <SRS>EPSG:32158</SRS>
    <LatLonBoundingBox minx="-111" miny="43" maxx="-110" maxy="45" />
    <BoundingBox SRS="EPSG:4269"
                minx="-111" miny="43" maxx="-110" maxy="45" />
    <ScaleHint min="0.349232" max="773.299" />
    <Layer>
      <Name>TC_Aerial</Name>
      <Title>2003 Aerial Photography</Title>
      <Abstract>TC_Aerial</Abstract>
      <Layer queryable="0" opaque="0" cascaded="0">
<!-- WARNING: The layer name '03_fill' might contain spaces or invalid
characters or may start with a number. This could lead to potential
problems. -->
        <Name>03_fill</Name>
        <Title>Private Lands, 3 foot</Title>
        <SRS>EPSG:102758</SRS>
        <ScaleHint min="1.29316" max="249.451" />
      </Layer>
      <Layer queryable="0" opaque="0" cascaded="0">
<!-- WARNING: The layer name '01' might contain spaces or invalid
characters or may start with a number. This could lead to potential
problems. -->
        <Name>01</Name>
        <Title>Private Lands, 1 foot ortho-imagery</Title>
        <SRS>EPSG:102758</SRS>
        <ScaleHint min="0" max="1.29316" />
      </Layer>
    </Layer>
    <Layer>
      <Name>Contours</Name>
      <Title>Contours</Title>
      <Abstract>Contours</Abstract>
      <Layer queryable="0" opaque="0" cascaded="0">
        <Name>contour</Name>
        <Title>5&#39; elevation contours</Title>
        <SRS>EPSG:102758</SRS>
        <LatLonBoundingBox minx="-111.053" miny="43.2259"
maxx="-110.303" maxy="43.8837" />
        <BoundingBox SRS="EPSG:102758"
                    minx="2.3691e+006" miny="1.3228e+006"
maxx="2.56623e+006" maxy="1.56118e+006" />
        <Style>
          <Name>default</Name>
          <Title>default</Title>
          <LegendURL width="20" height="10">
             <Format>image/png</Format>
             <OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://www2.tetonwyo.org/wms?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=contour&amp;format=image/png"/>
          </LegendURL>
        </Style>
      </Layer>
    </Layer>
    <Layer>
      <Name>Ownership</Name>
      <Title>Ownership</Title>
      <Abstract>Ownership</Abstract>
      <Layer queryable="0" opaque="0" cascaded="0">
        <Name>State_Fed_thematic</Name>
        <Title>Public Land</Title>
        <SRS>EPSG:102758</SRS>
        <LatLonBoundingBox minx="-111.067" miny="43.2323"
maxx="-110.051" maxy="44.6704" />
        <BoundingBox SRS="EPSG:102758"
                    minx="2.36884e+006" miny="1.32514e+006"
maxx="2.6332e+006" maxy="1.84789e+006" />
        <Style>
          <Name>default</Name>
          <Title>default</Title>
          <LegendURL width="20" height="10">
             <Format>image/png</Format>
             <OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://www2.tetonwyo.org/wms?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=State_Fed_thematic&amp;format=image/png"/>
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="0" opaque="0" cascaded="0">
        <Name>State_Fed_Label</Name>
        <Title>Public Land Labels</Title>
        <SRS>EPSG:102758</SRS>
        <LatLonBoundingBox minx="-111.067" miny="43.2323"
maxx="-110.051" maxy="44.6704" />
        <BoundingBox SRS="EPSG:102758"
                    minx="2.36884e+006" miny="1.32514e+006"
maxx="2.6332e+006" maxy="1.84789e+006" />
      </Layer>
      <Layer queryable="1" opaque="0" cascaded="0">
        <Name>join_region</Name>
        <Title>Parcels</Title>
        <SRS>EPSG:102758</SRS>
        <LatLonBoundingBox minx="-111.067" miny="43.2323"
maxx="-110.051" maxy="44.6704" />
        <BoundingBox SRS="EPSG:102758"
                    minx="2.3688e+006" miny="1.32514e+006"
maxx="2.6332e+006" maxy="1.84789e+006" />
        <Style>
          <Name>default</Name>
          <Title>default</Title>
          <LegendURL width="20" height="10">
             <Format>image/png</Format>
             <OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://www2.tetonwyo.org/wms?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=join_region&amp;format=image/png"/>
          </LegendURL>
        </Style>
      </Layer>
    </Layer>
    <Layer>
      <Name>Roads</Name>
      <Title>Roads</Title>
      <Abstract>Roads</Abstract>
      <Layer queryable="0" opaque="0" cascaded="0">
        <Name>Road_CL</Name>
        <Title>Centerlines</Title>
        <SRS>EPSG:102758</SRS>
        <LatLonBoundingBox minx="-111.488" miny="43.2041"
maxx="-109.997" maxy="45.0266" />
        <BoundingBox SRS="EPSG:102758"
                    minx="2.26142e+006" miny="1.31636e+006"
maxx="2.6469e+006" maxy="1.97776e+006" />
        <Style>
          <Name>default</Name>
          <Title>default</Title>
          <LegendURL width="20" height="10">
             <Format>image/png</Format>
             <OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://www2.tetonwyo.org/wms?version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=Road_CL&amp;format=image/png"/>
          </LegendURL>
        </Style>
      </Layer>
      <Layer queryable="0" opaque="0" cascaded="0">
        <Name>Road_Text</Name>
        <Title>Names</Title>
        <SRS>EPSG:102758</SRS>
        <LatLonBoundingBox minx="-111.488" miny="43.2041"
maxx="-109.997" maxy="45.0266" />
        <BoundingBox SRS="EPSG:102758"
                    minx="2.26142e+006" miny="1.31636e+006"
maxx="2.6469e+006" maxy="1.97776e+006" />
      </Layer>
    </Layer>
  </Layer>
</Capability>
</WMT_MS_Capabilities>


-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com




More information about the Mapbender_users mailing list