[Mapserver-users] WMS clients and Mapserver (JUMP, ArcExplorer)
Martin Tomko
mtomko at sunrise.sli.unimelb.edu.au
Thu Jun 17 22:11:40 PDT 2004
HI List,
I thought I already went trough this... after some time, I am trying to use
a different client and here the problems comes again...
(I am using the 4.3 build)
I tried to add a WMS layer to JUMP,
http://localhost/cgi-bin/wms.exe? ( I use SetEnvIf Request_URI
"/cgi-bin/wms.exe" MS_MAPFILE=c:/Apache/Apache/htdocs/WMS/WMS.map) in my
apache config
And it finds the layers and even add the selected one, but doesn't display
anything...
Ok, so I tried ArcExplorer java ed. + Interop Extensions... It claims that
my GetCapabilities is not correct...
I have checked it, there are no error comments in there,...
Here is a snippet:
<?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 4.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
SUPPORTS=WCS_SERVER INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<Service>
<Name>OGC:WMS</Name>
<Title>UNIMELB WMS</Title>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/>
</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/cgi-bin/wms.exe?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></Post>
</HTTP>
</DCPType>
</GetCapabilities>
<GetMap>
<Format>image/gif</Format>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/wbmp</Format>
<Format>application/x-shockwave-flash</Format>
<Format>text/html</Format>
<Format>application/x-pdf</Format>
<Format>image/tiff</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></Post>
</HTTP>
</DCPType>
</GetMap>
<GetFeatureInfo>
<Format>text/plain</Format>
<Format>text/html</Format>
<Format>application/vnd.ogc.gml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></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/cgi-bin/wms.exe?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></Post>
</HTTP>
</DCPType>
</DescribeLayer>
<GetLegendGraphic>
<Format>image/gif</Format>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/wbmp</Format>
<Format>application/x-shockwave-flash</Format>
<Format>text/html</Format>
<Format>application/x-pdf</Format>
<Format>image/tiff</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://localhost/cgi-bin/wms.exe?"/></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.map</Name>
<Title>UNIMELB WMS</Title>
<SRS>EPSG:20255</SRS>
<LatLonBoundingBox minx="144.883" miny="-37.8605" maxx="145.009"
maxy="-37.7791" />
<BoundingBox SRS="EPSG:20255"
minx="313735" miny="5.80778e+006" maxx="324664"
maxy="5.81658e+006" />
<ScaleHint min="0.0997806" max="249.451" />
<Layer>
<Name>Rasters</Name>
<Title>Landuse</Title>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>Aerial</Name>
<Title>Aerial</Title>
<SRS>EPSG:20255</SRS>
<ScaleHint min="0.0997806" max="49.8903" />
</Layer>
</Layer>
<Layer>
<Name>Landuse</Name>
<Title>Landuse</Title>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>Parcels</Name>
<Title>Parcels</Title>
<SRS>EPSG:20255</SRS>
<LatLonBoundingBox minx="144.94" miny="-37.8376" maxx="144.992"
maxy="-37.7892" />
</Layer>
</Layer>
<Layer>
<Name>Transport</Name>
<Title>Transport</Title>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>Roads</Name>
<Title>Roads</Title>
<SRS>EPSG:20255</SRS>
<LatLonBoundingBox minx="144.939" miny="-37.8396" maxx="144.989"
maxy="-37.791" />
</Layer>
</Layer>
</Layer>
</Capability>
</WMT_MS_Capabilities>
Thanks for helping me!!
Martin
More information about the MapServer-users
mailing list