Skip to content

Instantly share code, notes, and snippets.

Created June 21, 2011 11:00
Show Gist options
  • Save anonymous/1037624 to your computer and use it in GitHub Desktop.
Save anonymous/1037624 to your computer and use it in GitHub Desktop.
GetCapabilities file generated by MapServer
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
[
<!ELEMENT VendorSpecificCapabilities EMPTY>
]> <!-- end of DOCTYPE declaration -->
<WMT_MS_Capabilities version="1.1.1">
<!-- MapServer version 5.6.6 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=RGBA_PNG SUPPORTS=TILECACHE INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<Service>
<Name>OGC:WMS</Name>
<Title>WMS Mapserver</Title>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/>
<ContactInformation>
</ContactInformation>
</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://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></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/vnd.wap.wbmp</Format>
<Format>image/tiff</Format>
<Format>image/svg+xml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></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://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Post>
</HTTP>
</DCPType>
</GetFeatureInfo>
<DescribeLayer>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></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/vnd.wap.wbmp</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Post>
</HTTP>
</DCPType>
</GetLegendGraphic>
<GetStyles>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost:8082/cgi-bin/mapserv.exe?map=C:\ms4w\Apache\htdocs\apps\gwc\gwc_test.map&amp;"/></Post>
</HTTP>
</DCPType>
</GetStyles>
</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>GWC</Name>
<Title>WMS Mapserver</Title>
<Abstract>GWC</Abstract>
<SRS>EPSG:4326</SRS>
<LatLonBoundingBox minx="-180" miny="-90" maxx="180" maxy="90" />
<BoundingBox SRS="EPSG:4326"
minx="-180" miny="-90" maxx="180" maxy="90" />
<Layer queryable="0" opaque="0" cascaded="0">
<Name>POLYGONS</Name>
<Title>gwc_test</Title>
<SRS>EPSG:4326</SRS>
<LatLonBoundingBox minx="-2.54747" miny="42.9433" maxx="-2.12393" maxy="43.3029" />
<BoundingBox SRS="EPSG:4326"
minx="-2.54747" miny="42.9433" maxx="-2.12393" maxy="43.3029" />
</Layer>
</Layer>
</Capability>
</WMT_MS_Capabilities>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment