I am using GeoServer's WMS capability to serve relatively small images (e.g. 
14000 columns by 2000 rows) representing bridge driving surfaces. These were 
uploaded to GeoServer as GeoTIFFs. Initially, ServiceException(s) of the 
following type were received when using the WMS reflector to preview the images:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE 
ServiceExceptionReport SYSTEM 
"http://vm-winserv08-a.mtri.org:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
 <ServiceExceptionReport version="1.1.1" >   <ServiceException 
code="InvalidBBox">
      The request bounding box has zero area: ReferencedEnvelope[-83.683 : 
-83.682, 42.113 : 42.113]
</ServiceException></ServiceExceptionReport>

I've noticed that, in the "Edit Layer" panel, both the native and lat/lon 
bounding boxes are rounded to three (3) decimal places (also seen in the 
ServiceExceptionReport above). The image(s) are so small, however, they need to 
be expressed with greater precision. In light of such a small area, I can 
understand why I'm getting this ServiceException. However, I'd like to think 
these images are by no means "too small" to be used in GeoServer.

When I went back into the "Edit Layer" panel and re-typed the bounds with 
higher-precision, then saved my changes, this resolved the problem. Sometimes I 
had to do this twice if it didn't "take" the first time. However, viewing the 
Layer in "Edit Layer" again shows the bounds with limited precision.

Unfortunately, GeoServer seems to "forget" the necessary precision and since I 
"fixed" this problem yesterday I opened the WMS reflector today and got the 
same ExceptionReport again. I applied the same solution and it worked, however, 
this is not a sustainable pattern.

Any advice is appreciated.

Build Information:

    Version 2.1.1
    Subversion Revision 16080
    Build Date 23-Jun-2011 10:45
    GeoTools Version 2.7.2 (rev 37473)

I realize that 2.1.3 is the latest stable version but, according to the change 
log, this sort of issue hasn't been addressed by the two releases since 2.1.1.

- Thanks,
  Arthur

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to