[Geoserver-devel] wcs cite status on trunk

Hi all,

So here is where we stand with wcs cite tests on trunk.

  • wcs 1.0

I think we are good to go. There were a few failures but I think the patches for them are simple enough.

http://jira.codehaus.org/browse/GEOS-4115
http://jira.codehaus.org/browse/GEOS-4116
http://jira.codehaus.org/browse/GEOS-4117

A review from the wcs savvy would be appreciated though.

  • wcs 1.1

Unfortunately these failures seem not to simple to fix. As far as I can tell there seems to be issues encoding various output formats inside of the multi part response to a getCoverage. I thought i had a patch for this one:

http://jira.codehaus.org/browse/GEOS-4118

But I soon ran into more problems after that. Currently i am running into exceptions that look like:

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)

at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1488878539
at com.sun.imageio.plugins.common.LZWCompressor.compress(LZWCompressor.java:86)
at com.sun.imageio.plugins.gif.GIFImageWriter.writeRowsOpt(GIFImageWriter.java:848)
at com.sun.imageio.plugins.gif.GIFImageWriter.writeRasterData(GIFImageWriter.java:913)
at com.sun.imageio.plugins.gif.GIFImageWriter.writeImage(GIFImageWriter.java:794)
at com.sun.imageio.plugins.gif.GIFImageWriter.write(GIFImageWriter.java:702)
at com.sun.imageio.plugins.gif.GIFImageWriter.write(GIFImageWriter.java:492)
at com.sun.media.jai.imageioimpl.ImageWriteCRIF.create(ImageWriteCRIF.java:581)
at com.sun.media.jai.imageioimpl.ImageWriteCRIF.create(ImageWriteCRIF.java:231)
… 125 more

(I can make the full exception available if need be).

All that said this only appears to happen for some coverage output formats. Like gif and jpeg for instance have this problem but tiff does not. So my question is has this always been the case? I know we only use tiff output for wcs 1.0 tests but 1.1 does not allow you to specify the same. So it is basically the first output in a DescribeCoverage that gets used.

For instance if i modify all the coverage.xml files and comment out all formats besides tiff the tests pass.

Anyways, I am past my pay grade when it comes to coverages so some insight from the experts would be appreciated.

-Justin


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.