final public class CRS2GeoTiffMetadataAdapter (Code)
This class implements a simple reusable adapter to adapt a
CoordinateReferenceSystem into useful Geotiff metadata by mean of
GeoTiffIIOMetadataEncoder .
Since
CoordinateReferenceSystem are essentially immutable this class
implements a static pool of
CRS2GeoTiffMetadataAdapter objects that
would allow to avoid parsing the same
CoordinateReferenceSystem more
than once.
author: simone giannecchini since: 2.2
For the moment we can only encode geographic and projected coordinate
reference systes, we cannot encode the other types like vertical
coordinate reference systems.
throws: GeoTiffException -