I am working on a Java application which develops an elevation data raster
product that I would like to store in a GeoTIFF file. Some of my input data
comes from shapefiles with associated .prj files.   I would like to be able
to extract relevant information from the .prj files and use it to populate
GeoTIFF tags for output.

Can someone point me toward example code I could look at or maybe a general
outline of the steps for doing so?  I have been looking through the
documentation, but need a place to start.

Some of my sources come with EPSG codes that I can use to populate the
GeoTIFF ProjectedCrsGeoKey (GeoTiff spec section 6.3.3.1).  However, others
carry general datum and map-projection parameters, so I would have to
populate multiple GeoTIff elements.  A few of my data sources are in
geographic coordinate systems.

I am currently working with the Apache Commons Imaging API, which I know
pretty well.  I've used it to create GeoTIFFs in the past with good
results.  So I'd like to stick with it if at all possible.

Thanks in advance for your help.

Gary

Reply via email to