|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gce.geotiff.GeoTiffCoordinateSystemAdapter
The GeoTiffCoordinateSystemAdapter
is responsible for
interpreting the metadata provided by the
GeoTiffIIOMetadataAdapter
for the purposes of constructing a
CoordinateSystem object representative of the information found in the
tags.
This class implements the flow indicated by the following diagram:
To use this class, the GeoTiffReader
should create an instance
with the CoordinateSystemAuthorityFactory
specified by the
GeoTiffFormat
instance which created the reader. The image
specific metadata should then be set with the appropriate accessor methods.
Finally, the createCoordinateSystem()
method is called to
produce the CoordinateReferenceSystem
object specified by the
metadata.
Field Summary | |
static short |
CT_AlbersEqualArea
|
static short |
CT_AzimuthalEquidistant
|
static short |
CT_CassiniSoldner
|
static short |
CT_EquidistantConic
|
static short |
CT_Equirectangular
|
static short |
CT_Gnomonic
|
static short |
CT_LambertAzimEqualArea
|
static short |
CT_LambertConfConic_2SP
|
static short |
CT_LambertConfConic_Helmert
|
static short |
CT_Mercator
|
static short |
CT_MillerCylindrical
|
static short |
CT_NewZealandMapGrid
|
static short |
CT_ObliqueMercator
|
static short |
CT_ObliqueMercator_Laborde
|
static short |
CT_ObliqueMercator_Rosenmund
|
static short |
CT_ObliqueMercator_Spherical
|
static short |
CT_ObliqueStereographic
|
static short |
CT_Orthographic
|
static short |
CT_PolarStereographic
|
static short |
CT_Polyconic
|
static short |
CT_Robinson
|
static short |
CT_Sinusoidal
|
static short |
CT_Stereographic
|
static short |
CT_TransverseMercator
|
static short |
CT_TransverseMercator_Modified_Alaska
|
static short |
CT_TransvMercator_SouthOriented
|
static short |
CT_VanDerGrinten
|
Constructor Summary | |
GeoTiffCoordinateSystemAdapter(Hints hints)
Creates a new instance of GeoTiffCoordinateSystemAdapter |
Method Summary | |
org.opengis.referencing.crs.CoordinateReferenceSystem |
createCoordinateSystem()
This method creates a CoordinateReferenceSystem object from
the metadata which has been set earlier. |
org.opengis.referencing.crs.CRSAuthorityFactory |
getCRSFactory()
Returns the CRSAuthorityFactory instance used by this object. |
org.opengis.referencing.cs.CSAuthorityFactory |
getCSFactory()
Returns the CSAuthorityFactory instance used by this object. |
org.opengis.referencing.datum.DatumAuthorityFactory |
getDatumFactory()
Returns the DatumAuthorityFactory instance used by this object. |
GeoTiffIIOMetadataAdapter |
getMetadata()
Getter for property metadata. |
void |
setMetadata(GeoTiffIIOMetadataAdapter metadata)
Setter for property metadata. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short CT_TransverseMercator
public static final short CT_TransverseMercator_Modified_Alaska
public static final short CT_ObliqueMercator
public static final short CT_ObliqueMercator_Laborde
public static final short CT_ObliqueMercator_Rosenmund
public static final short CT_ObliqueMercator_Spherical
public static final short CT_Mercator
public static final short CT_LambertConfConic_2SP
public static final short CT_LambertConfConic_Helmert
public static final short CT_LambertAzimEqualArea
public static final short CT_AlbersEqualArea
public static final short CT_AzimuthalEquidistant
public static final short CT_EquidistantConic
public static final short CT_Stereographic
public static final short CT_PolarStereographic
public static final short CT_ObliqueStereographic
public static final short CT_Equirectangular
public static final short CT_CassiniSoldner
public static final short CT_Gnomonic
public static final short CT_MillerCylindrical
public static final short CT_Orthographic
public static final short CT_Polyconic
public static final short CT_Robinson
public static final short CT_Sinusoidal
public static final short CT_VanDerGrinten
public static final short CT_NewZealandMapGrid
public static final short CT_TransvMercator_SouthOriented
Constructor Detail |
public GeoTiffCoordinateSystemAdapter(Hints hints)
hints
- a map of hints to locate the authority and object
factories. (can be null)Method Detail |
public org.opengis.referencing.cs.CSAuthorityFactory getCSFactory()
public org.opengis.referencing.crs.CRSAuthorityFactory getCRSFactory()
public org.opengis.referencing.datum.DatumAuthorityFactory getDatumFactory()
public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateSystem() throws java.io.IOException
CoordinateReferenceSystem
object from
the metadata which has been set earlier. If it cannot create the
CoordinateReferenceSystem
, then one of three exceptions is
thrown to indicate the error.
CoordinateReferenceSystem
object representing
the file data
java.io.IOException
- if there is unexpected data in the GeoKey tags.
java.lang.NullPointerException
- if the crsFactory
or
metadata
are uninitialized
java.lang.UnsupportedOperationException
- if the coordinate system specified
by the GeoTiff file is not supported.public GeoTiffIIOMetadataAdapter getMetadata()
public void setMetadata(GeoTiffIIOMetadataAdapter metadata)
metadata
- New value of property metadata.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |