|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.gce.geotiff.adapters.CRS2GeoTiffMetadataAdapter
public final class CRS2GeoTiffMetadataAdapter
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.
Field Summary | |
---|---|
static int |
DEFAULT_MAX
The default value for #maxStrongReferences . |
Constructor Summary | |
---|---|
CRS2GeoTiffMetadataAdapter(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Constructs a parser using the default set of symbols and factories. |
Method Summary | |
---|---|
static void |
clear()
Releases resources immediately instead of waiting for the garbage collector. |
static java.lang.Object |
get(java.lang.Object key)
Returns an object from the pool for the specified code. |
GeoTiffIIOMetadataEncoder |
parseCoordinateReferenceSystem()
Parses a coordinate reference system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_MAX
#maxStrongReferences
.
Constructor Detail |
---|
public CRS2GeoTiffMetadataAdapter(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Method Detail |
---|
public static java.lang.Object get(java.lang.Object key)
referent
is returned.
public static void clear()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |