From: Jesse E. <jes...@ca...> - 2011-11-25 09:21:03
|
Hi, I am trying to reproject a coverage from EPSG:2154 to EPSG:4326 with Geoserver 2.1.x and it fails because it is missing bursa wolf parameters. So I hacked it to add the lenient parameter to true. And that gave the error: java.lang.IllegalArgumentException: Requested region cannot be represented by a single Raster. at javax.media.jai.PlanarImage.getData(PlanarImage.java:2163) at javax.media.jai.PlanarImage.getExtendedData(PlanarImage.java:2440) at com.sun.media.jai.mlib.MlibWarpGridOpImage.computeTile(MlibWarpGridOpImage.java:303) at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904) at javax.media.jai.OpImage.getTile(OpImage.java:1129) at javax.media.jai.PlanarImage.getData(PlanarImage.java:2085) at javax.media.jai.RenderedOp.getData(RenderedOp.java:2276) at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageWriter.writeTile(TIFFImageWriter.java:1792) So I thought maybe I can override the definition with one that has the bursa wolf parameters (because I believe this projection is possible). But I am unsure what the best way is. Any ideas? Jesse |