Java Doc for DefaultCoordinateSystemAxis.java in  » GIS » GeoTools-2.4.1 » org » geotools » referencing » cs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.referencing.cs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.referencing.AbstractIdentifiedObject
   org.geotools.referencing.cs.DefaultCoordinateSystemAxis

DefaultCoordinateSystemAxis
public class DefaultCoordinateSystemAxis extends AbstractIdentifiedObject implements CoordinateSystemAxis(Code)
Definition of a coordinate system axis. This is used to label axes, and indicate the orientation. See .

In some case, the axis name is constrained by ISO 19111 depending on the type. These constraints are identified in the javadoc by "ISO 19111 name is..." sentences. This constraint works in two directions; for example the names "geodetic latitude" and "geodetic longitude" shall be used to designate the coordinate axis names associated with a . Conversely, these names shall not be used in any other context.
since:
   2.1
version:
   $Id: DefaultCoordinateSystemAxis.java 25778 2007-06-08 08:46:34Z desruisseaux $
author:
   Martin Desruisseaux
See Also:   AbstractCS
See Also:   Unit



Field Summary
final public static  DefaultCoordinateSystemAxisALTITUDE
     The default axis for altitude values.
final public static  DefaultCoordinateSystemAxisCOLUMN
     A default axis for column indices in a .
final static  intCOMPASS_DIRECTION_COUNT
     Number of directions from "North", "North-North-East", "North-East", etc.
final public static  DefaultCoordinateSystemAxisDEPTH
     The default axis for depth.
final public static  DefaultCoordinateSystemAxisDISPLAY_X
     A default axis for x values in a display device.
final public static  DefaultCoordinateSystemAxisDISPLAY_Y
     A default axis for y values in a display device.
final public static  DefaultCoordinateSystemAxisEASTING
     Default axis info for Easting values in a .
final public static  DefaultCoordinateSystemAxisELLIPSOIDAL_HEIGHT
     The default axis for height values above the ellipsoid in a .
final public static  DefaultCoordinateSystemAxisGEOCENTRIC_RADIUS
     Default axis info for radius in a using .
final public static  DefaultCoordinateSystemAxisGEOCENTRIC_X
     Default axis info for x values in a using .
final public static  DefaultCoordinateSystemAxisGEOCENTRIC_Y
     Default axis info for y values in a using .
final public static  DefaultCoordinateSystemAxisGEOCENTRIC_Z
     Default axis info for z values in a using .
final public static  DefaultCoordinateSystemAxisGEODETIC_LATITUDE
     Default axis info for geodetic latitudes in a .
final public static  DefaultCoordinateSystemAxisGEODETIC_LONGITUDE
     Default axis info for geodetic longitudes in a .
final public static  DefaultCoordinateSystemAxisGRAVITY_RELATED_HEIGHT
     The default axis for height values measured from gravity.
final public static  DefaultCoordinateSystemAxisLATITUDE
     Default axis info for latitudes.
final public static  DefaultCoordinateSystemAxisLONGITUDE
     Default axis info for longitudes.
final public static  DefaultCoordinateSystemAxisNORTHING
     Default axis info for Northing values in a .
final public static  DefaultCoordinateSystemAxisROW
     A default axis for row indices in a .
final public static  DefaultCoordinateSystemAxisSOUTHING
     Default axis info for Southing values in a .
final public static  DefaultCoordinateSystemAxisSPHERICAL_LATITUDE
     Default axis info for latitudes in a using .
final public static  DefaultCoordinateSystemAxisSPHERICAL_LONGITUDE
     Default axis info for longitudes in a using .
final public static  DefaultCoordinateSystemAxisTIME
     A default axis for time values in a .
final public static  DefaultCoordinateSystemAxisWESTING
     Default axis info for Westing values in a .
final public static  DefaultCoordinateSystemAxisX
     Default axis info for x values in a .
final public static  DefaultCoordinateSystemAxisY
     Default axis info for y values in a .
final public static  DefaultCoordinateSystemAxisZ
     Default axis info for z values in a .

Constructor Summary
public  DefaultCoordinateSystemAxis(CoordinateSystemAxis axis)
     Constructs a new coordinate system axis with the same values than the specified one. This copy constructor provides a way to wrap an arbitrary implementation into a Geotools one or a user-defined one (as a subclass), usually in order to leverage some implementation-specific API.
public  DefaultCoordinateSystemAxis(Map properties, String abbreviation, AxisDirection direction, Unit unit, double minimum, double maximum, RangeMeaning rangeMeaning)
     Constructs an axis from a set of properties.
public  DefaultCoordinateSystemAxis(Map properties, String abbreviation, AxisDirection direction, Unit unit)
     Constructs an unbounded axis from a set of properties.
public  DefaultCoordinateSystemAxis(String abbreviation, AxisDirection direction, Unit unit)
     Constructs an axis with the same as the abbreviation.
public  DefaultCoordinateSystemAxis(InternationalString name, String abbreviation, AxisDirection direction, Unit unit)
     Constructs an axis with a name as an and an abbreviation.

Method Summary
public  booleanequals(AbstractIdentifiedObject object, boolean compareMetadata)
     Compares the specified object with this axis for equality.
Parameters:
  object - The object to compare to this .
Parameters:
  compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations.
final  booleanequals(DefaultCoordinateSystemAxis that, boolean compareMetadata, boolean compareUnit)
     Compares the specified object with this axis for equality, with optional comparaison of units.
protected  StringformatWKT(Formatter formatter)
     Format the inner part of a Well Known Text (WKT) element.
public  StringgetAbbreviation()
     The abbreviation used for this coordinate system axes.
public static  doublegetAngle(AxisDirection source, AxisDirection target)
     Returns the arithmetic (counterclockwise) angle from the first direction to the second direction, in decimal degrees.
static  intgetCompassAngle(AxisDirection source, AxisDirection target)
     Tests for angle on compass only (do not tests angle between direction along meridians).
public static  AxisDirectiongetDirection(String direction)
     Returns an axis direction constants from its name.
Parameters:
  direction - The direction name (e.g.
public  AxisDirectiongetDirection()
     Direction of this coordinate system axis.
public  doublegetMaximumValue()
     Returns the maximum value normally allowed for this axis, in the .
public  doublegetMinimumValue()
     Returns the minimum value normally allowed for this axis, in the .
final  DefaultCoordinateSystemAxisgetOpposite()
     Returns an axis with the opposite direction of this one, or null if unknown.
public static  DefaultCoordinateSystemAxisgetPredefined(String name, AxisDirection direction)
     Returns one of the predefined axis for the given name and direction, or null if none.
static  DefaultCoordinateSystemAxisgetPredefined(CoordinateSystemAxis axis)
     Returns a predefined axis similar to the specified one except for units.
public  RangeMeaninggetRangeMeaning()
     Returns the meaning of axis value range specified by the and values.
public  UnitgetUnit()
     The unit of measure used for this coordinate system axis.
public  inthashCode()
     Returns a hash value for this axis.
public static  booleanisCompassDirection(AxisDirection direction)
     Returns true if the specified direction is a compass direction.
public  booleannameMatches(String name)
     Returns true if either the or at least one matches the specified string.
public static  booleanperpendicular(AxisDirection first, AxisDirection second)
     Returns true if the specified directions are perpendicular.
final  DefaultCoordinateSystemAxisusingUnit(Unit newUnit)
     Returns a new axis with the same properties than current axis except for the units.
Parameters:
  newUnit - The unit for the new axis.
static  DefaultCoordinateSystemAxis[]values()
     Returns the list of all predefined constants.

Field Detail
ALTITUDE
final public static DefaultCoordinateSystemAxis ALTITUDE(Code)
The default axis for altitude values. Increasing ordinates values go and units are . The abbreviation is lower case "h". This axis is usually part of a DefaultCoordinateSystemAxis.LONGITUDE , DefaultCoordinateSystemAxis.LATITUDE , DefaultCoordinateSystemAxis.ALTITUDE set.
See Also:   DefaultCoordinateSystemAxis.ELLIPSOIDAL_HEIGHT
See Also:   DefaultCoordinateSystemAxis.GEOCENTRIC_RADIUS
See Also:   DefaultCoordinateSystemAxis.GRAVITY_RELATED_HEIGHT
See Also:   DefaultCoordinateSystemAxis.DEPTH



COLUMN
final public static DefaultCoordinateSystemAxis COLUMN(Code)
A default axis for column indices in a . Increasing values go toward . The abbreviation is lower case "i".



COMPASS_DIRECTION_COUNT
final static int COMPASS_DIRECTION_COUNT(Code)
Number of directions from "North", "North-North-East", "North-East", etc. This is verified by DefaultCoordinateSystemAxisTest.testCompass .



DEPTH
final public static DefaultCoordinateSystemAxis DEPTH(Code)
The default axis for depth. Increasing ordinates values go and units are . The ISO 19111 name is "depth".
See Also:   DefaultCoordinateSystemAxis.ALTITUDE
See Also:   DefaultCoordinateSystemAxis.ELLIPSOIDAL_HEIGHT
See Also:   DefaultCoordinateSystemAxis.GEOCENTRIC_RADIUS
See Also:   DefaultCoordinateSystemAxis.GRAVITY_RELATED_HEIGHT



DISPLAY_X
final public static DefaultCoordinateSystemAxis DISPLAY_X(Code)
A default axis for x values in a display device. Increasing values go toward . The abbreviation is lower case "x".
since:
   2.2



DISPLAY_Y
final public static DefaultCoordinateSystemAxis DISPLAY_Y(Code)
A default axis for y values in a display device. Increasing values go toward . The abbreviation is lower case "y".
since:
   2.2



EASTING
final public static DefaultCoordinateSystemAxis EASTING(Code)
Default axis info for Easting values in a . Increasing ordinates values go and units are . The ISO 19111 name is "easting" and the abbreviation is upper case "E". This axis is usually part of a DefaultCoordinateSystemAxis.EASTING , DefaultCoordinateSystemAxis.NORTHING set.
See Also:   DefaultCoordinateSystemAxis.X
See Also:   DefaultCoordinateSystemAxis.EASTING
See Also:   DefaultCoordinateSystemAxis.WESTING



ELLIPSOIDAL_HEIGHT
final public static DefaultCoordinateSystemAxis ELLIPSOIDAL_HEIGHT(Code)
The default axis for height values above the ellipsoid in a . Increasing ordinates values go and units are . The ISO 19111 name is "ellipsoidal heigt" and the abbreviation is lower case "h". This axis is usually part of a DefaultCoordinateSystemAxis.GEODETIC_LONGITUDE , DefaultCoordinateSystemAxis.GEODETIC_LATITUDE , DefaultCoordinateSystemAxis.ELLIPSOIDAL_HEIGHT set.
See Also:   DefaultCoordinateSystemAxis.ALTITUDE
See Also:   DefaultCoordinateSystemAxis.GEOCENTRIC_RADIUS
See Also:   DefaultCoordinateSystemAxis.GRAVITY_RELATED_HEIGHT
See Also:   DefaultCoordinateSystemAxis.DEPTH



GEOCENTRIC_RADIUS
final public static DefaultCoordinateSystemAxis GEOCENTRIC_RADIUS(Code)
Default axis info for radius in a using . Increasing ordinates values go and units are . The ISO 19111 name is "geocentric radius" and the abbreviation is lower case "r". This axis is usually part of a DefaultCoordinateSystemAxis.SPHERICAL_LONGITUDE , DefaultCoordinateSystemAxis.SPHERICAL_LATITUDE , DefaultCoordinateSystemAxis.GEOCENTRIC_RADIUS set.
See Also:   DefaultCoordinateSystemAxis.ALTITUDE
See Also:   DefaultCoordinateSystemAxis.ELLIPSOIDAL_HEIGHT
See Also:   DefaultCoordinateSystemAxis.GRAVITY_RELATED_HEIGHT
See Also:   DefaultCoordinateSystemAxis.DEPTH



GEOCENTRIC_X
final public static DefaultCoordinateSystemAxis GEOCENTRIC_X(Code)
Default axis info for x values in a using . Increasing ordinates values go toward prime meridian and units are . The ISO 19111 name is "geocentric X" and the abbreviation is upper case "X". This axis is usually part of a DefaultCoordinateSystemAxis.GEOCENTRIC_X , DefaultCoordinateSystemAxis.GEOCENTRIC_Y , DefaultCoordinateSystemAxis.GEOCENTRIC_Z set.



GEOCENTRIC_Y
final public static DefaultCoordinateSystemAxis GEOCENTRIC_Y(Code)
Default axis info for y values in a using . Increasing ordinates values go and units are . The ISO 19111 name is "geocentric Y" and the abbreviation is upper case "Y". This axis is usually part of a DefaultCoordinateSystemAxis.GEOCENTRIC_X , DefaultCoordinateSystemAxis.GEOCENTRIC_Y , DefaultCoordinateSystemAxis.GEOCENTRIC_Z set.



GEOCENTRIC_Z
final public static DefaultCoordinateSystemAxis GEOCENTRIC_Z(Code)
Default axis info for z values in a using . Increasing ordinates values go and units are . The ISO 19111 name is "geocentric Z" and the abbreviation is upper case "Z". This axis is usually part of a DefaultCoordinateSystemAxis.GEOCENTRIC_X , DefaultCoordinateSystemAxis.GEOCENTRIC_Y , DefaultCoordinateSystemAxis.GEOCENTRIC_Z set.



GEODETIC_LATITUDE
final public static DefaultCoordinateSystemAxis GEODETIC_LATITUDE(Code)
Default axis info for geodetic latitudes in a . Increasing ordinates values go and units are . The ISO 19111 name is "geodetic latitude" and the abbreviation is "φ" (phi). This axis is usually part of a DefaultCoordinateSystemAxis.GEODETIC_LONGITUDE , DefaultCoordinateSystemAxis.GEODETIC_LATITUDE , DefaultCoordinateSystemAxis.ELLIPSOIDAL_HEIGHT set.
See Also:   DefaultCoordinateSystemAxis.LATITUDE
See Also:   DefaultCoordinateSystemAxis.SPHERICAL_LATITUDE
See Also:   DefaultCoordinateSystemAxis.GEODETIC_LONGITUDE



GEODETIC_LONGITUDE
final public static DefaultCoordinateSystemAxis GEODETIC_LONGITUDE(Code)
Default axis info for geodetic longitudes in a . Increasing ordinates values go and units are . The ISO 19111 name is "geodetic longitude" and the abbreviation is "λ" (lambda). This axis is usually part of a DefaultCoordinateSystemAxis.GEODETIC_LONGITUDE , DefaultCoordinateSystemAxis.GEODETIC_LATITUDE , DefaultCoordinateSystemAxis.ELLIPSOIDAL_HEIGHT set.
See Also:   DefaultCoordinateSystemAxis.LONGITUDE
See Also:   DefaultCoordinateSystemAxis.SPHERICAL_LONGITUDE
See Also:   DefaultCoordinateSystemAxis.GEODETIC_LATITUDE



GRAVITY_RELATED_HEIGHT
final public static DefaultCoordinateSystemAxis GRAVITY_RELATED_HEIGHT(Code)
The default axis for height values measured from gravity. Increasing ordinates values go and units are . The ISO 19111 name is "gravity-related height" and the abbreviation is lower case "h".
See Also:   DefaultCoordinateSystemAxis.ALTITUDE
See Also:   DefaultCoordinateSystemAxis.ELLIPSOIDAL_HEIGHT
See Also:   DefaultCoordinateSystemAxis.GEOCENTRIC_RADIUS
See Also:   DefaultCoordinateSystemAxis.DEPTH



LATITUDE
final public static DefaultCoordinateSystemAxis LATITUDE(Code)
Default axis info for latitudes. Increasing ordinates values go and units are . The abbreviation is "φ" (phi). This axis is usually part of a DefaultCoordinateSystemAxis.LONGITUDE , DefaultCoordinateSystemAxis.LATITUDE , DefaultCoordinateSystemAxis.ALTITUDE set.
See Also:   DefaultCoordinateSystemAxis.GEODETIC_LATITUDE
See Also:   DefaultCoordinateSystemAxis.SPHERICAL_LATITUDE
See Also:   DefaultCoordinateSystemAxis.LONGITUDE



LONGITUDE
final public static DefaultCoordinateSystemAxis LONGITUDE(Code)
Default axis info for longitudes. Increasing ordinates values go and units are . The abbreviation is "λ" (lambda). This axis is usually part of a DefaultCoordinateSystemAxis.LONGITUDE , DefaultCoordinateSystemAxis.LATITUDE , DefaultCoordinateSystemAxis.ALTITUDE set.
See Also:   DefaultCoordinateSystemAxis.GEODETIC_LONGITUDE
See Also:   DefaultCoordinateSystemAxis.SPHERICAL_LONGITUDE
See Also:   DefaultCoordinateSystemAxis.LATITUDE



NORTHING
final public static DefaultCoordinateSystemAxis NORTHING(Code)
Default axis info for Northing values in a . Increasing ordinates values go and units are . The ISO 19111 name is "northing" and the abbreviation is upper case "N". This axis is usually part of a DefaultCoordinateSystemAxis.EASTING , DefaultCoordinateSystemAxis.NORTHING set.
See Also:   DefaultCoordinateSystemAxis.Y
See Also:   DefaultCoordinateSystemAxis.NORTHING
See Also:   DefaultCoordinateSystemAxis.SOUTHING



ROW
final public static DefaultCoordinateSystemAxis ROW(Code)
A default axis for row indices in a . Increasing values go toward . The abbreviation is lower case "j".



SOUTHING
final public static DefaultCoordinateSystemAxis SOUTHING(Code)
Default axis info for Southing values in a . Increasing ordinates values go and units are . The ISO 19111 name is "southing" and the abbreviation is upper case "S".
See Also:   DefaultCoordinateSystemAxis.Y
See Also:   DefaultCoordinateSystemAxis.NORTHING
See Also:   DefaultCoordinateSystemAxis.SOUTHING



SPHERICAL_LATITUDE
final public static DefaultCoordinateSystemAxis SPHERICAL_LATITUDE(Code)
Default axis info for latitudes in a using . Increasing ordinates values go and units are . The ISO 19111 name is "spherical latitude" and the abbreviation is "Θ" (theta). This axis is usually part of a DefaultCoordinateSystemAxis.SPHERICAL_LONGITUDE , DefaultCoordinateSystemAxis.SPHERICAL_LATITUDE , DefaultCoordinateSystemAxis.GEOCENTRIC_RADIUS set.
See Also:   DefaultCoordinateSystemAxis.LATITUDE
See Also:   DefaultCoordinateSystemAxis.GEODETIC_LATITUDE
See Also:   DefaultCoordinateSystemAxis.SPHERICAL_LONGITUDE



SPHERICAL_LONGITUDE
final public static DefaultCoordinateSystemAxis SPHERICAL_LONGITUDE(Code)
Default axis info for longitudes in a using . Increasing ordinates values go and units are . The ISO 19111 name is "spherical longitude" and the abbreviation is "Ω" (omega). This axis is usually part of a DefaultCoordinateSystemAxis.SPHERICAL_LONGITUDE , DefaultCoordinateSystemAxis.SPHERICAL_LATITUDE , DefaultCoordinateSystemAxis.GEOCENTRIC_RADIUS set.
See Also:   DefaultCoordinateSystemAxis.LONGITUDE
See Also:   DefaultCoordinateSystemAxis.GEODETIC_LONGITUDE
See Also:   DefaultCoordinateSystemAxis.SPHERICAL_LATITUDE



TIME
final public static DefaultCoordinateSystemAxis TIME(Code)
A default axis for time values in a . Increasing time go toward and units are . The abbreviation is lower case "t".



WESTING
final public static DefaultCoordinateSystemAxis WESTING(Code)
Default axis info for Westing values in a . Increasing ordinates values go and units are . The ISO 19111 name is "westing" and the abbreviation is upper case "W".
See Also:   DefaultCoordinateSystemAxis.X
See Also:   DefaultCoordinateSystemAxis.EASTING
See Also:   DefaultCoordinateSystemAxis.WESTING



X
final public static DefaultCoordinateSystemAxis X(Code)
Default axis info for x values in a . Increasing ordinates values go and units are . The abbreviation is lower case "x". This axis is usually part of a DefaultCoordinateSystemAxis.X , DefaultCoordinateSystemAxis.Y , DefaultCoordinateSystemAxis.Z set.
See Also:   DefaultCoordinateSystemAxis.EASTING
See Also:   DefaultCoordinateSystemAxis.WESTING
See Also:   DefaultCoordinateSystemAxis.GEOCENTRIC_X
See Also:   DefaultCoordinateSystemAxis.DISPLAY_X
See Also:   DefaultCoordinateSystemAxis.COLUMN



Y
final public static DefaultCoordinateSystemAxis Y(Code)
Default axis info for y values in a . Increasing ordinates values go and units are . The abbreviation is lower case "y". This axis is usually part of a DefaultCoordinateSystemAxis.X , DefaultCoordinateSystemAxis.Y , DefaultCoordinateSystemAxis.Z set.
See Also:   DefaultCoordinateSystemAxis.NORTHING
See Also:   DefaultCoordinateSystemAxis.SOUTHING
See Also:   DefaultCoordinateSystemAxis.GEOCENTRIC_Y
See Also:   DefaultCoordinateSystemAxis.DISPLAY_Y
See Also:   DefaultCoordinateSystemAxis.ROW



Z
final public static DefaultCoordinateSystemAxis Z(Code)
Default axis info for z values in a . Increasing ordinates values go and units are . The abbreviation is lower case "z". This axis is usually part of a DefaultCoordinateSystemAxis.X , DefaultCoordinateSystemAxis.Y , DefaultCoordinateSystemAxis.Z set.




Constructor Detail
DefaultCoordinateSystemAxis
public DefaultCoordinateSystemAxis(CoordinateSystemAxis axis)(Code)
Constructs a new coordinate system axis with the same values than the specified one. This copy constructor provides a way to wrap an arbitrary implementation into a Geotools one or a user-defined one (as a subclass), usually in order to leverage some implementation-specific API. This constructor performs a shallow copy, i.e. the properties are not cloned.
since:
   2.2



DefaultCoordinateSystemAxis
public DefaultCoordinateSystemAxis(Map properties, String abbreviation, AxisDirection direction, Unit unit, double minimum, double maximum, RangeMeaning rangeMeaning)(Code)
Constructs an axis from a set of properties. The properties map is given unchanged to the .
Parameters:
  properties - Set of properties. Should contains at least "name".
Parameters:
  abbreviation - The used for thiscoordinate system axes.
Parameters:
  direction - The of this coordinate system axis.
Parameters:
  unit - The used for this coordinatesystem axis.
Parameters:
  minimum - The minimum value normally allowed for this axis.
Parameters:
  maximum - The maximum value normally allowed for this axis.
Parameters:
  rangeMeaning - The meaning of axis value range specified by the minimum andmaximum values.
since:
   2.3



DefaultCoordinateSystemAxis
public DefaultCoordinateSystemAxis(Map properties, String abbreviation, AxisDirection direction, Unit unit)(Code)
Constructs an unbounded axis from a set of properties. The properties map is given unchanged to the . The and values are inferred from the axis unit and direction.
Parameters:
  properties - Set of properties. Should contains at least "name".
Parameters:
  abbreviation - The used for thiscoordinate system axes.
Parameters:
  direction - The of this coordinate system axis.
Parameters:
  unit - The used for this coordinatesystem axis.



DefaultCoordinateSystemAxis
public DefaultCoordinateSystemAxis(String abbreviation, AxisDirection direction, Unit unit)(Code)
Constructs an axis with the same as the abbreviation.
Parameters:
  abbreviation - The used for thiscoordinate system axes.
Parameters:
  direction - The of this coordinate system axis.
Parameters:
  unit - The used for this coordinatesystem axis.



DefaultCoordinateSystemAxis
public DefaultCoordinateSystemAxis(InternationalString name, String abbreviation, AxisDirection direction, Unit unit)(Code)
Constructs an axis with a name as an and an abbreviation. The is set to the unlocalized version of the name argument, as given by name. (null). The same name argument is also stored as an , which allows fetching localized versions of the name.
Parameters:
  name - The name of this axis. Also stored as an alias for localization purpose.
Parameters:
  abbreviation - The used for thiscoordinate system axis.
Parameters:
  direction - The of this coordinate system axis.
Parameters:
  unit - The used for this coordinatesystem axis.




Method Detail
equals
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)
Compares the specified object with this axis for equality.
Parameters:
  object - The object to compare to this .
Parameters:
  compareMetadata - true for performing a strict comparaison, or false for comparing only properties relevant to transformations. true if both objects are equal.



equals
final boolean equals(DefaultCoordinateSystemAxis that, boolean compareMetadata, boolean compareUnit)(Code)
Compares the specified object with this axis for equality, with optional comparaison of units. Units should always be compared (they are not just metadata), except in the particular case of AbstractCS.axisColinearWith , which is used as a first step toward units conversions through AbstractCS.swapAndScaleAxis .



formatWKT
protected String formatWKT(Formatter formatter)(Code)
Format the inner part of a Well Known Text (WKT) element. WKT is returned by the DefaultCoordinateSystemAxis.toString toString method and looks like AXIS["name",NORTH].
Parameters:
  formatter - The formatter to use. The WKT element name, which is "AXIS".



getAbbreviation
public String getAbbreviation()(Code)
The abbreviation used for this coordinate system axes. This abbreviation is also used to identify the ordinates in coordinate tuple. Examples are "X" and "Y". The coordinate system axis abbreviation.



getAngle
public static double getAngle(AxisDirection source, AxisDirection target)(Code)
Returns the arithmetic (counterclockwise) angle from the first direction to the second direction, in decimal degrees. This method returns a value between -180° and +180°, or Double.NaN NaN if no angle can be computed.

A positive angle denotes a right-handed system, while a negative angle denotes a left-handed system. Example:

  • The angle from to is 90°
  • The angle from to is -90°
  • The angle from "North along 90 deg East" to "North along 0 deg" is 90°.

since:
   2.4



getCompassAngle
static int getCompassAngle(AxisDirection source, AxisDirection target)(Code)
Tests for angle on compass only (do not tests angle between direction along meridians). Returns Integer.MIN_VALUE if the angle can't be computed.



getDirection
public static AxisDirection getDirection(String direction) throws NoSuchElementException(Code)
Returns an axis direction constants from its name.
Parameters:
  direction - The direction name (e.g. "north", "east", etc.). The axis direction for the given name.
throws:
  NoSuchElementException - if the given name is not a know axis direction.



getDirection
public AxisDirection getDirection()(Code)
Direction of this coordinate system axis. In the case of Cartesian projected coordinates, this is the direction of this coordinate system axis locally. Examples: or , or , or .

Within any set of coordinate system axes, only one of each pair of terms can be used. For earth-fixed coordinate reference systems, this direction is often approximate and intended to provide a human interpretable meaning to the axis. When a geodetic datum is used, the precise directions of the axes may therefore vary slightly from this approximate direction.

Note that an org.geotools.referencing.crs.DefaultEngineeringCRS often requires specific descriptions of the directions of its coordinate system axes.




getMaximumValue
public double getMaximumValue()(Code)
Returns the maximum value normally allowed for this axis, in the . If there is no maximum value, then this method returns .
since:
   2.3



getMinimumValue
public double getMinimumValue()(Code)
Returns the minimum value normally allowed for this axis, in the . If there is no minimum value, then this method returns .
since:
   2.3



getOpposite
final DefaultCoordinateSystemAxis getOpposite()(Code)
Returns an axis with the opposite direction of this one, or null if unknown. This method is not public because only a few predefined constants have this information.



getPredefined
public static DefaultCoordinateSystemAxis getPredefined(String name, AxisDirection direction)(Code)
Returns one of the predefined axis for the given name and direction, or null if none. This method searchs only in predefined constants like DefaultCoordinateSystemAxis.GEODETIC_LATITUDE , not in any custom axis instantiated by a public constructor. The name of those constants match ISO 19111 names or some names commonly found in Well Known Text (WKT) formats.

This method first checks if the specified name matches the of a predefined axis. The comparaison is case-sensitive (for example the DefaultCoordinateSystemAxis.GEOCENTRIC_X abbreviation is uppercase "X" , while the abbreviation for the generic DefaultCoordinateSystemAxis.X axis is lowercase "x" ).

If the specified name doesn't match any abbreviation, then this method compares the name against predefined axis in a case-insensitive manner. Examples of valid names are "Geodetic latitude" and "Northing".

The direction argument is optional and can be used in order to resolve ambiguity like DefaultCoordinateSystemAxis.X and DefaultCoordinateSystemAxis.DISPLAY_X axis. If this argument is null , then the first axis with a matching name or abbreviation will be returned.
Parameters:
  name - The axis name or abbreviation.
Parameters:
  direction - An optional direction, or null . One of the constants declared in this class, or null .
since:
   2.4




getPredefined
static DefaultCoordinateSystemAxis getPredefined(CoordinateSystemAxis axis)(Code)
Returns a predefined axis similar to the specified one except for units. Returns null if no predefined axis match.



getRangeMeaning
public RangeMeaning getRangeMeaning()(Code)
Returns the meaning of axis value range specified by the and values. This element shall be omitted when both minimum and maximum values are omitted. It may be included when minimum and/or maximum values are included. If this element is omitted when minimum or maximum values are included, the meaning is unspecified.
since:
   2.3



getUnit
public Unit getUnit()(Code)
The unit of measure used for this coordinate system axis. The value of this coordinate in a coordinate tuple shall be recorded using this unit of measure, whenever those coordinates use a coordinate reference system that uses a coordinate system that uses this axis.



hashCode
public int hashCode()(Code)
Returns a hash value for this axis. This value doesn't need to be the same in past or future versions of this class.



isCompassDirection
public static boolean isCompassDirection(AxisDirection direction)(Code)
Returns true if the specified direction is a compass direction. Compass directions include "North", "North-North-East", "North-East", etc.
since:
   2.4



nameMatches
public boolean nameMatches(String name)(Code)
Returns true if either the or at least one matches the specified string. This method performs all the searh done by the , with the addition of special processing for latitudes and longitudes:

  • "Lat" , "Latitude" and "Geodetic latitude" are considered equivalent.
  • "Lon" , "Longitude" and "Geodetic longitude" are considered equivalent.

The above special cases are needed in order to workaround a conflict in specifications: ISO 19111 explicitly state that the latitude and longitude axis names shall be "Geodetic latitude" and "Geodetic longitude", will legacy OGC 01-009 (where WKT is defined) said that the default values shall be "Lat" and "Lon".
Parameters:
  name - The name to compare. true if the primary name of at least one aliasmatches the specified name .




perpendicular
public static boolean perpendicular(AxisDirection first, AxisDirection second)(Code)
Returns true if the specified directions are perpendicular.
since:
   2.4



usingUnit
final DefaultCoordinateSystemAxis usingUnit(Unit newUnit) throws IllegalArgumentException(Code)
Returns a new axis with the same properties than current axis except for the units.
Parameters:
  newUnit - The unit for the new axis. An axis using the specified unit.
throws:
  IllegalArgumentException - If the specified unit is incompatible with the expected one.



values
static DefaultCoordinateSystemAxis[] values()(Code)
Returns the list of all predefined constants. Currently used for testing purpose only.



Fields inherited from org.geotools.referencing.AbstractIdentifiedObject
final public static GenericName[] EMPTY_ALIAS_ARRAY(Code)(Java Doc)
final public static ReferenceIdentifier[] EMPTY_IDENTIFIER_ARRAY(Code)(Java Doc)
final public static Comparator IDENTIFIER_COMPARATOR(Code)(Java Doc)
final public static Comparator NAME_COMPARATOR(Code)(Java Doc)
final public static Comparator REMARKS_COMPARATOR(Code)(Java Doc)

Methods inherited from org.geotools.referencing.AbstractIdentifiedObject
protected static Set asSet(Object[] array)(Code)(Java Doc)
protected static void ensureAngularUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureLinearUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureNonNull(String name, Object[] array, int index) throws IllegalArgumentException(Code)(Java Doc)
protected static void ensureTimeUnit(Unit unit) throws IllegalArgumentException(Code)(Java Doc)
final public boolean equals(Object object)(Code)(Java Doc)
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
protected static boolean equals(IdentifiedObject object1, IdentifiedObject object2, boolean compareMetadata)(Code)(Java Doc)
protected static boolean equals(IdentifiedObject[] array1, IdentifiedObject[] array2, boolean compareMetadata)(Code)(Java Doc)
protected static boolean equals(Collection collection1, Collection collection2, boolean compareMetadata)(Code)(Java Doc)
public Collection getAlias()(Code)(Java Doc)
public ReferenceIdentifier getIdentifier(Citation authority)(Code)(Java Doc)
public static ReferenceIdentifier getIdentifier(IdentifiedObject info, Citation authority)(Code)(Java Doc)
public Set getIdentifiers()(Code)(Java Doc)
public ReferenceIdentifier getName()(Code)(Java Doc)
public String getName(Citation authority)(Code)(Java Doc)
public static String getName(IdentifiedObject info, Citation authority)(Code)(Java Doc)
public static Map getProperties(IdentifiedObject info)(Code)(Java Doc)
public static Map getProperties(IdentifiedObject info, Citation authority)(Code)(Java Doc)
public InternationalString getRemarks()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean nameMatches(String name)(Code)(Java Doc)
public static boolean nameMatches(IdentifiedObject object, String name)(Code)(Java Doc)
public static boolean nameMatches(IdentifiedObject o1, IdentifiedObject o2)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.