On Fri, Nov 25, 2011 at 10:20 AM, Jesse Eichar
<[email protected]>wrote:

> 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?
>

http://docs.geoserver.org/stable/en/user/advanced/crshandling/customcrs.html#override-an-official-epsg-code

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to