[Mapserver-users] WMS Client for ArcView 3.X
snelson at refractions.net
snelson at refractions.net
Tue Oct 7 12:45:53 PDT 2003
Errors are always requested like this: Exceptions=application/vnd.ogc.se_xml.
The client will parse "application/vnd.ogc.se_xml" and "text/xml".
To display text/html I would either have to open a web browser to display the
error, or display the HTML source in a message box.
Shane
Quoting Paul Ramsey <pramsey at refractions.net>:
> This brings up an unrelated but important issue:
> Mapserver when running in WMS mode should always report its errors in
> the proper OpenGIS XML format. I wonder why we got an error in
> text/html? Shane, are we always requesting our errors in XML, or are we
> just taking whatever the server provides us?
>
> Paul
>
> Brent Fraser wrote:
>
> > Paul,
> >
> > You are right. I already log all of my site's wms requests for debugging
> > purposes and sure enough, an error was being generated by Mapserver,
> totally
> > unrelated to the WMS server (or the Client).
> >
> > The error was related to TILEIDEX and missing data raster data that GDAL
> was
> > trying to find. When crafting the ogc file I had guessed at the extents
> and
> > was trying to map more data than I had. (Now I need to see why
> > Mapserver/GDAL did not IGNORE_MISSING_DATA like it was supposed to.)
> >
> > Thanks!
> > Brent
> >
> >
> > ----- Original Message -----
> > From: "Paul Ramsey" <pramsey at refractions.net>
> > To: "Brent Fraser" <bfraser at geoanalytic.com>
> > Cc: "mapserver-users" <mapserver-users at lists.gis.umn.edu>; "Shane Nelson"
> > <snelson at refractions.net>
> > Sent: Tuesday, October 07, 2003 12:02 PM
> > Subject: Re: [Mapserver-users] WMS Cllient for ArcView 3.X
> >
> >
> >
> >>Brent,
> >>Shane will tell you where teh magic log file lives. The magic log file
> >>contains the URL of the latest request. So when you get an error, you
> >>can plug the URL from the magic log file into your favourite browser and
> >>see what it returns. It seems likely that Mapserver is returning an
> >>error in HTML format, not a map, and that is throwing the client for a
> >
> > loop.
> >
> >>Paul
> >>
> >>Brent Fraser wrote:
> >>
> >>
> >>>Paul,
> >>>
> >>> The following is likely a Mapserver issue, but Mapserver 4.0 spits out
> >>>
> >>>GetMap>
> >>> <Format>image/png</Format>
> >>> <Format>image/jpeg</Format>
> >>> <Format>text/html</Format>
> >>> <Format>image/tiff</Format>
> >>>
> >>>when asked for REQUEST=GETCAPABILITIES
> >>>
> >>>The Refractions WMS Client generates an error of
> >>> Error Creating Image: Unknown filetype returned by server: text/html
> >>>
> >>>I'm not clear why Mapserver says it can supply a map in html format.
> >
> > I'll
> >
> >>>have to look into that. In any case, I would expect the client to be
> >>>tolerant of formats it can't use, especially since I stated in the
> >
> > Client
> >
> >>>.ogc file to use only jpeg:
> >>>
> >>> <image_format_list>
> >>> <image_format>image/jpeg</image_format>
> >>> </image_format_list>
> >>>
> >>>Brent Fraser
> >>>bfraser at geoanalytic.com
> >>>
> >>>----- Original Message -----
> >>>From: "Paul Ramsey" <pramsey at refractions.net>
> >>>To: "mapserver-users" <mapserver-users at lists.gis.umn.edu>
> >>>Sent: Monday, October 06, 2003 6:26 PM
> >>>Subject: [Mapserver-users] WMS Cllient for ArcView 3.X
> >>>
> >>>
> >>>
> >>>
> >>>>Hello, Mapserver'ers,
> >>>>
> >>>>Refractions is happy to announce the beta release of our WMS Client
> >>>>software for ArcView 3.X. We will be maintaining a free-to-download WMS
> >>>>Client for ArcView 3.X and this is the initial release. We would be
> >>>>happy to hear back from you with bug reports, strange servers, etc.
> >>>>Please give it a try!
> >>>>
> >>>>The beta download page is at http://www.refractions.net/wms
> >>>>
> >>>>If the market appears to warrant it, we will be releasing a "Pro"
> >>>>version, with support for some more fiddly advanced features, like
> >>>>ArcIMS, printing, overlays, reprojection, etc.
> >>>>
> >>>>Paul
> >>>>
> >>>>--
> >>>> __
> >>>> /
> >>>> | Paul Ramsey
> >>>> | Refractions Research
> >>>> | Email: pramsey at refractions.net
> >>>> | Phone: (250) 885-0632
> >>>> \_
> >>>>
> >>>>
> >>>>_______________________________________________
> >>>>Mapserver-users mailing list
> >>>>Mapserver-users at lists.gis.umn.edu
> >>>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >>>
> >>>
> >>
> >>--
> >> __
> >> /
> >> | Paul Ramsey
> >> | Refractions Research
> >> | Email: pramsey at refractions.net
> >> | Phone: (250) 885-0632
> >> \_
> >>
> >
> >
>
>
> --
> __
> /
> | Paul Ramsey
> | Refractions Research
> | Email: pramsey at refractions.net
> | Phone: (250) 885-0632
> \_
>
>
More information about the MapServer-users
mailing list