CIao Christopher,
sorry for the delya of this answer but I have been travelling around
quite a lot lately.

The GeoTiffWriter is able to encode custom projections, using (almost)
any CoordinateReferenceSystem you are using.

Could you please provide an isolated test case to show where you are
encountering problems?

Simone.

On 11/1/06, Christopher Hammack <[EMAIL PROTECTED]> wrote:
> I am using the 2.3M0 binary build, and have been unable to write a GeoTIFF
> that does not have an EPSG code associated with it.
>
> For Example: Construct a grid coverage using EPSG:3033, use GeoTIFFReader
> to open it, and it works fine.
>
> Take the EPSG3033 WKT from the epsg.properties file, remove the EPSG code
> off the end and construct the CRS by using CRS.parse(...);  Open the
> resulting GeoTIFF using GeoTIFFReader and the following happens:
>
> java.lang.NullPointerException
>        at
> org.geotools.gce.geotiff.GeoTiffException.getMessage(GeoTiffException.java:202)
>        at
> org.geotools.data.DataSourceException.<init>(DataSourceException.java:47)
>        at
> org.geotools.gce.geotiff.GeoTiffReader.<init>(GeoTiffReader.java:211)
>       at
> org.geotools.gce.geotiff.GeoTiffFormat.getReader(GeoTiffFormat.java:194)
>
>
> Is the GeoTIFF writer designed in such a way that it can only encode EPSG
> codes in, rather than custom projections?
>
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>


-- 
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

-------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to