On 10/05/2010, at 8:21 PM, Jon Britton wrote: > Hi, > > I'm currently using the 52North Web Processing Service for raster processing. > I've got some basic processes which take a GeoTiff as input. Everything > used to work fine, but at some point it's broken. I've posted on the 52North > list and they think it's a problem with GeoTools.
That is likely - the module is unsupported and there were not a lot of WPS servers around when it was written. > The WPS is getting a GeoTiff from my local Web Coverage Service (GeoServer). > I'm using the data that ships with GeoServer (nurc:Arc_Sample). Here is the > request (which successfully returns a GeoTiff): > > http://localhost:8080/geoserver/wcs?service=WCS&version=1.0.0&request=GetCoverage&coverage=nurc:Arc_Sample&bbox=-163.4765625,-77.87109375,137.4609375,62.05078125&crs=EPSG:4326&format=geotiff&width=800&height=800 > > The WPS then trying to great a GridCoverage2D out of it using these lines: > > reader = new GeoTiffReader(tempFile, hints); > GridCoverage2D coverage = (GridCoverage2D) reader.read(null); // > AbstractGeoTiffParser.java line 50 (see exception) > > This part fails and I get the following exception report: ...snip... > So, I'm wondering if this is a problem with the GeoTiff generated by > GeoServer (it seems to work ok in QGIS) or is it a problem with the GeoTools > GeoTiff reader? Can you try saving the geotiff to disk and using it in the ImageLab example? Just to see if geotools is good with it or not? > I've tried using a dataset which didn't ship with GeoServer (a Landsat > GeoTiff) and it works fine. The WPS seems to be using GeoTools 2.4.2 and I'm > using the latest GeoServer release (2.0.1 I think?). Correct; 52N is using an old version of GeoTools; perhaps some GeoTiff fixes have occurred since then? > > Thanks, > > Jon > ------------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
_______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
