[Mapbuilder-users] How to show service exceptions from WMS?

Cameron Shorter cameron.shorter at gmail.com
Thu Oct 12 07:08:51 EDT 2006


webmap-discus,
One of our uses wants to handle errors from WMS servers (which might be 
returned in XML format).

Are other projects handling WMS errors?
If so, how?

Bart van den Eijnden (OSGIS) wrote:
> I think most clients just implement inimage.
> 
> But there are potential problems:
> -inimage is optional in the WMS spec
> -as you pointed out how will it look if multiple error images are stacked
> 
> For Mapserver WMS client there is some discussion here:
> 
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1246
> 
> You might also ask this to the OpenLayers (www.openlayers.org) guys, but I
> don't think they support WMS XML error messages, but I don't know how hard
> it would be to handle it in OpenLayers, maybe it's simpler there, and since
> Mapbuilder plans to use OpenLayers as the rendering engine, it would be the
> most logical place to handle it IMHO.
> 
> Best regards,
> Bart
> 
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
> 
> 
> --------- Oorspronkelijk bericht --------
> Van: Gertjan van Oosten <gertjan at West.NL>
> Naar: Cameron Shorter <cameron.shorter at gmail.com>
> Cc: mapbuilder-users at lists.sourceforge.net
> Onderwerp: Re: [Mapbuilder-users] How to show service exceptions from WMS?
> Datum: 12/10/06 06:59
> 
> 
>>Hi Cameron,
>>
>>As quoted from Cameron Shorter &lt;cameron.shorter at gmail.com&gt;:
>>&gt; One of the options you can send to the WMS allows you to specify that
> 
> 
>>&gt; exceptions are to be reported as an image.
>>&gt; Would that be acceptable?
>>
>>Since the WMS is written by me, that would be an option.  However, as I
>>understand it that would mean the error image is just another layer in
>>the map stack.  How this would look to the user is an open question,
>>especially if the WMS returns errors for several layers...
>>
>>&gt; If you want to handle an XML response instead of image, that will be 
>>&gt; quite a bit harder and I'm not sure how we would do it.
>>&gt; Currently we simply create a HTML img tag &lt;img
> 
> src=http://wms?.../&gt;
> 
>>&gt; 
>>&gt; There would probably be a reasonable amount of work required to get 
>>&gt; something workable.
>>
>>Should I open an RFE on Jira?  I'm sure more people would find it useful
>>if MapBuilder supported this.  How do other mapping tools handle this
>>(uDig etc.)?
>>
>>Kind regards,
>>-- 
>>-- Gertjan van Oosten, gertjan at West.NL, West Consulting B.V., +31 15 2191
> 
> 600
> 
>>-------------------------------------------------------------------------
>>Using Tomcat but need to do more? Need to support web services, security?
>>Get stuff done quickly with pre-integrated technology to make your job
> 
> easier
> 
>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>
> 
> http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642
> 
>>_______________________________________________
>>Mapbuilder-users mailing list
>>Mapbuilder-users at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>>
>>
> 
> 
> 
> 
> 


-- 
Cameron Shorter
http://cameron.shorter.net




More information about the Webmap-discuss mailing list