public final class CRS2GeoTiffMetadataAdapter extends Object
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.
Constructor and Description |
---|
CRS2GeoTiffMetadataAdapter(CoordinateReferenceSystem crs)
Constructs a parser using the default set of symbols and factories.
|
Modifier and Type | Method and Description |
---|---|
GeoTiffIIOMetadataEncoder |
parseCoordinateReferenceSystem()
Parses a coordinate reference system.
|
public CRS2GeoTiffMetadataAdapter(CoordinateReferenceSystem crs)
public GeoTiffIIOMetadataEncoder parseCoordinateReferenceSystem() throws GeoTiffException
For the moment we can only encode geographic and projected coordinate reference systems, we cannot encode the other types like vertical coordinate reference systems.
GeoTiffException
Copyright © 1996–2019 Geotools. All rights reserved.