[Mapserver-users] ArcExplorer 4.0.1 and Mapserver WMS - Wiki page
Thomas Bartlett
tbartlett at dddd.com.au
Wed Mar 26 13:36:20 PST 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0034_01C2F43B.F1C766A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hello All,
Please find attached a copy of my map file and the resulting GetCapabilities
XML document!
I spent 6 hrs on it last night changing things in the map file as well as
reinstalling ArcExplorer and the Extension but it is doesn't seem to work.
Cheers Tom
----- Original Message -----
From: <Antti.Roppola at brs.gov.au>
To: <tbartlett at dddd.com.au>; <akrherz at iastate.edu>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, March 26, 2003 5:11 PM
Subject: RE: [Mapserver-users] ArcExplorer 4.0.1 and Mapserver WMS - Wiki
page
> Thomas Bartlett wrote:
>
> > However GetCapabilities does not check whether the map file is WMS
> > compliant does it ! It simply checks that the map file is correct as
far as
> > MapServer is concerned !! I remove all reference to WMS from the same
map
> > file and the GetCapabilities XML document returned contain NO warning.
This
> > map file is obviously not WMS compliant (as it contains none of the WMS
> > tags) hence my conclusion. Am I wrong in this conclusion ??
>
> That seems like a reasonable conclusion to me, and suggests that a good
> next step would be to check the map and layers to make sure that no
> mandatory WMS items have been omitted. It would certainly explain why
> Arc Explorer doesn't like the output you are sending.
>
> BTW, thanks for the insight into what is and is not checked, lets me
> cross one more item off my list of "things to investigate". :o)
>
> Cheers,
>
> Antti
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
------=_NextPart_000_0034_01C2F43B.F1C766A0
Content-Type: application/octet-stream;
name="wms.php"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="wms.php"
<?php header("Content-type:application/vnd.ogc.gml"); ?>
<WMT_MS_Capabilities version=3D"1.1.1" updateSequence=3D"0">
<Service> <!-- a service IS a MapServer mapfile -->
<Name>GetMap</Name> <!-- WMT defined -->
<Title>Fawkner MapServer</Title>
<Abstract>Because I have nothing better to do</Abstract>
<OnlineResource xmlns:xlink=3D"http://www.w3.org/1999/xlink" =
xlink:href=3D"http://localhost/_cgi-bin/mapserv.exe?map=3Dc:\inetpub\wwwr=
oot\fawkner_mapserv\fawkner_wms.map&"/>
<ContactInformation>
</ContactInformation>
<AccessConstraints>none</AccessConstraints>
</Service>
<Capability>
<Request>
<GetCapabilities>
<Format>application/vnd.ogc.wms_xml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource =
xmlns:xlink=3D"http://www.w3.org/1999/xlink" =
xlink:href=3D"http://localhost/_cgi-bin/mapserv.exe?map=3Dc:\inetpub\wwwr=
oot\fawkner_mapserv\fawkner_wms.map&"/></Get>
<Post><OnlineResource =
xmlns:xlink=3D"http://www.w3.org/1999/xlink" =
xlink:href=3D"http://localhost/_cgi-bin/mapserv.exe?map=3Dc:\inetpub\wwwr=
oot\fawkner_mapserv\fawkner_wms.map&"/></Post>
</HTTP>
</DCPType>
</GetCapabilities>
<GetMap>
<Format>image/gif</Format>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/wbmp</Format>
<DCPType>
<HTTP>
<Get><OnlineResource =
xmlns:xlink=3D"http://www.w3.org/1999/xlink" =
xlink:href=3D"http://localhost/_cgi-bin/mapserv.exe?map=3Dc:\inetpub\wwwr=
oot\fawkner_mapserv\fawkner_wms.map&"/></Get>
<Post><OnlineResource =
xmlns:xlink=3D"http://www.w3.org/1999/xlink" =
xlink:href=3D"http://localhost/_cgi-bin/mapserv.exe?map=3Dc:\inetpub\wwwr=
oot\fawkner_mapserv\fawkner_wms.map&"/></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=3D"http://www.w3.org/1999/xlink" =
xlink:href=3D"http://localhost/_cgi-bin/mapserv.exe?map=3Dc:\inetpub\wwwr=
oot\fawkner_mapserv\fawkner_wms.map&"/></Get>
<Post><OnlineResource =
xmlns:xlink=3D"http://www.w3.org/1999/xlink" =
xlink:href=3D"http://localhost/_cgi-bin/mapserv.exe?map=3Dc:\inetpub\wwwr=
oot\fawkner_mapserv\fawkner_wms.map&"/></Post>
</HTTP>
</DCPType>
</GetFeatureInfo>
</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 />
<Layer>
<Name>FAWKNER</Name>
<Title>Fawkner MapServer</Title>
<SRS>EPSG:4326</SRS>
<LatLonBoundingBox minx=3D"112.286" miny=3D"-45.0502" =
maxx=3D"154.857" maxy=3D"-8.52123" />
<BoundingBox SRS=3D"EPSG:4326"
minx=3D"112.286" miny=3D"-45.0502" maxx=3D"154.857" =
maxy=3D"-8.52123" />
<ScaleHint min=3D"0.498903" max=3D"498903" />
<Layer queryable=3D"0" opaque=3D"0" cascaded=3D"0">
<Name>oceansea</Name>
<Title>CountyoceanseaBoundary</Title>
<Abstract>Oceans and Seas</Abstract>
<SRS>EPSG:4326</SRS>
<LatLonBoundingBox minx=3D"72" miny=3D"-55.9612" =
maxx=3D"170.731" maxy=3D"-2.10025" />
<BoundingBox SRS=3D"EPSG:4326"
minx=3D"72" miny=3D"-55.9612" maxx=3D"170.731" =
maxy=3D"-2.10025" />
</Layer>
</Layer>
</Capability>
</WMT_MS_Capabilities>
------=_NextPart_000_0034_01C2F43B.F1C766A0
Content-Type: application/octet-stream;
name="fawkner_wms.map"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="fawkner_wms.map"
NAME FAWKNER=0A=
STATUS ON=0A=
SIZE 620 500=0A=
EXTENT 112.285715 -45.050205 154.857144 -8.521226=0A=
UNITS DD=0A=
SHAPEPATH "data"=0A=
#FONTSET "fonts/fonts.list"=0A=
IMAGECOLOR -1 -1 -1=0A=
=0A=
IMAGETYPE PNG=0A=
=0A=
PROJECTION=0A=
"init=3Depsg:4326"=0A=
END=0A=
=0A=
WEB=0A=
TEMPLATE fawkner.html=0A=
MINSCALE 1000=0A=
MAXSCALE 1000000000=0A=
IMAGEPATH "set in fawkner_init.html"=0A=
IMAGEURL "set in fawkner_init.html"=0A=
METADATA=0A=
WMS_TITLE "Fawkner MapServer"=0A=
WMS_ABSTRACT "Because I have nothing better to do"=0A=
WMS_ACCESSCONSTRAINTS none=0A=
WMS_ONLINERESOURCE =
"http://localhost/_cgi-bin/mapserv?map=3Dc:\inetpub\wwwroot\fawkner_mapse=
rv\fawkner_wms.map&"=0A=
WMS_SRS "EPSG:4326"=0A=
END=0A=
END=0A=
=0A=
LAYER=0A=
NAME "oceansea"=0A=
TYPE POLYGON=0A=
DATA oceansea=0A=
STATUS ON=0A=
CLASS=0A=
NAME 'Ocean / Sea'=0A=
SIZE 0=0A=
COLOR 35 193 245=0A=
END=0A=
METADATA=0A=
WMS_TITLE "CountyoceanseaBoundary"=0A=
WMS_ABSTRACT "Oceans and Seas"=0A=
WMS_SRS "EPSG:4326"=0A=
END=0A=
END=0A=
=0A=
END
------=_NextPart_000_0034_01C2F43B.F1C766A0--
More information about the MapServer-users
mailing list