|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.projection.ProjectionTransverseMercator
Convenience class for backwards compatibility.
| Field Summary |
| Fields inherited from interface com.moximedia.aims.types.MeasureUnitsType |
MEASURE_UNITS_DECIMAL_DEGREES, MEASURE_UNITS_FEET, MEASURE_UNITS_IMPERIAL, MEASURE_UNITS_METERS, MEASURE_UNITS_METRES, MEASURE_UNITS_METRIC, MEASURE_UNITS_UNKNOWN, MEASURE_UNITS_US, MEASURE_UNITS_YARDS |
| Constructor Summary | |
ProjectionTransverseMercator()
Creates a new instance |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a separate copy of this object. |
boolean |
equals(Projection anotherProjection)
Returns an indicator of whether this projection is the same as another. |
java.lang.String |
getAlias()
Return the alias of the projection |
java.lang.String |
getAlias(java.util.Locale locale)
Return the alias of the projection |
CoordinateSystem |
getCoordinateSystem()
Method to compare projections. |
ProjectionTransverseMercator |
getCopy()
Returns a separate copy of this object. |
java.lang.String |
getMapCenterString(AimsPoint geoPoint,
double scaleFactor)
Returns the map center coordinate text in the specified locale. |
java.lang.String |
getName()
Return the name of the projection |
java.lang.String |
getName(java.util.Locale locale)
Return the name of the projection |
double |
getProjectionParameter(java.lang.String name)
Gets the value of the specified projection parameter. |
int |
getProjectionType()
Gets the projection type enumeration. |
java.lang.String |
getReportString(AimsPoint geoPoint,
double scaleFactor)
Returns the report for the standard identify reports. |
java.lang.String |
getSrs()
Return the spatial reference system code. |
int |
getUnits()
Return the map units of the projection. |
java.lang.String |
getUnitsString()
Return the map units of the projection as a string. |
double |
getZone()
Return the zone of the projection |
boolean |
isGeographicCoordinateSystem()
Returns an indicator of whether this coordinate system is geographic. |
boolean |
isProjectedCoordinateSystem()
Returns an indicator of whether this coordinate system is projected (non-geographic). |
boolean |
isValid()
Gets an indicator of whether the projection is valid. |
AimsPoint |
project(AimsPoint point)
Projects a geographic position into this projection. |
void |
setAlias(java.lang.String alias)
Sets the alias for the projection for use in reports. |
void |
setCentralMeridian(double value)
Sets a projection parameter |
void |
setEllipsoid(Ellipsoid ellipsoid)
Sets the ellipsoid. |
void |
setEllipsoidFromName(java.lang.String name)
Sets the ellipsoid using its name. |
void |
setFalseEasting(double value)
Sets a projection parameter |
void |
setFalseNorthing(double value)
Sets a projection parameter |
void |
setLatitudeOfOrigin(double value)
Sets a projection parameter |
void |
setScaleFactor(double value)
Sets a projection parameter |
void |
setUnits(int units)
Sets the units with an enumeration. |
void |
setUnits(java.lang.String units)
Sets the units with a String. |
void |
setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
Sets one of the attributes of this object using a string value. |
void |
setZone(double zone)
Sets the central meridian using a UTM zone number. |
void |
setZone(int zone)
Sets the central meridian using a UTM zone number. |
java.lang.String |
toString()
Displays the projection as a string. |
java.lang.String |
toWktString()
Displays the projection parameters as a well known text string. |
AimsPoint |
unproject(AimsPoint point)
Unrojects a projection position into geographic. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ProjectionTransverseMercator()
| Method Detail |
public void setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
setXmlAttribute in interface Projectiontag - The AXL element tag containing this attribute (not used).name - The AXL attribute name.value - The AXL attribute value.public void setAlias(java.lang.String alias)
alias - The alternate name for this projection.public java.lang.Object clone()
clone in interface Projectionpublic ProjectionTransverseMercator getCopy()
public java.lang.String getAlias()
getAlias in interface Projectionpublic java.lang.String getAlias(java.util.Locale locale)
getAlias in interface Projectionlocale - The locale to format text and numbers.
public java.lang.String getMapCenterString(AimsPoint geoPoint,
double scaleFactor)
getMapCenterString in interface ProjectiongeoPoint - A geographic point.scaleFactor - The current map scale factor for use in rounding results.
public java.lang.String getName()
getName in interface Projectionpublic java.lang.String getName(java.util.Locale locale)
getName in interface Projectionlocale - The locale to format text and numbers.
public AimsPoint project(AimsPoint point)
project in interface Projectionpoint - The geographic position.
public java.lang.String getReportString(AimsPoint geoPoint,
double scaleFactor)
getReportString in interface ProjectiongeoPoint - A geographic point.scaleFactor - The current map scale factor for use in rounding results.
public java.lang.String getSrs()
getSrs in interface Projectionpublic java.lang.String toString()
toString in interface Projectionpublic java.lang.String toWktString()
toWktString in interface Projectionpublic int getUnits()
getUnits in interface Projectionpublic java.lang.String getUnitsString()
getUnitsString in interface Projectionpublic AimsPoint unproject(AimsPoint point)
unproject in interface Projectionpoint - The projected position.
public boolean isGeographicCoordinateSystem()
isGeographicCoordinateSystem in interface Projectionpublic boolean isProjectedCoordinateSystem()
isProjectedCoordinateSystem in interface Projectionpublic boolean isValid()
isValid in interface Projectionpublic CoordinateSystem getCoordinateSystem()
getCoordinateSystem in interface Projectionpublic boolean equals(Projection anotherProjection)
equals in interface ProjectionanotherProjection - The other projection.
public void setCentralMeridian(double value)
value - The projection parameter.public void setLatitudeOfOrigin(double value)
value - The projection parameter.public void setFalseEasting(double value)
value - The projection parameter.public void setFalseNorthing(double value)
value - The projection parameter.public void setEllipsoid(Ellipsoid ellipsoid)
ellipsoid - The ellipsoid for this projection.public void setEllipsoidFromName(java.lang.String name)
name - The ellipsoid name.public void setScaleFactor(double value)
value - The projection parameter.public void setUnits(int units)
units - The units enumerations of type MeasureUnitsType.public void setUnits(java.lang.String units)
units - The units name, FEET, METERS, or METRES.public int getProjectionType()
getProjectionType in interface Projectionpublic void setZone(int zone)
zone - The UTM zone number.public void setZone(double zone)
zone - The UTM zone number.public double getZone()
public double getProjectionParameter(java.lang.String name)
getProjectionParameter in interface Projection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||