Java Doc for AbstractDatum.java in  » GIS » GeoTools-2.4.1 » org » geotools » referencing » datum » 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.datum 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.referencing.AbstractIdentifiedObject
   org.geotools.referencing.datum.AbstractDatum

All known Subclasses:   org.geotools.referencing.datum.DefaultEngineeringDatum,  org.geotools.referencing.datum.DefaultTemporalDatum,  org.geotools.referencing.datum.DefaultVerticalDatum,  org.geotools.referencing.datum.DefaultGeodeticDatum,  org.geotools.referencing.datum.DefaultImageDatum,
AbstractDatum
public class AbstractDatum extends AbstractIdentifiedObject implements Datum(Code)
Specifies the relationship of a coordinate system to the earth, thus creating a . A datum uses a parameter or set of parameters that determine the location of the origin of the coordinate reference system. Each datum subtype can be associated with only specific types of .

A datum can be defined as a set of real points on the earth that have coordinates. The definition of the datum may also include the temporal behavior (such as the rate of change of the orientation of the coordinate axes).

This class is conceptually abstract, even if it is technically possible to instantiate it. Typical applications should create instances of the most specific subclass with Default prefix instead. An exception to this rule may occurs when it is not possible to identify the exact type.
version:
   $Id: AbstractDatum.java 28264 2007-12-05 21:53:08Z desruisseaux $
author:
   Martin Desruisseaux
since:
   2.1
See Also:   org.geotools.referencing.cs.AbstractCS
See Also:   org.geotools.referencing.crs.AbstractCRS




Constructor Summary
public  AbstractDatum(Datum datum)
     Constructs a new datum 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  AbstractDatum(Map properties)
     Constructs a datum from a set of properties.

Method Summary
public  booleanequals(AbstractIdentifiedObject object, boolean compareMetadata)
     Compares the specified object with this datum 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.
protected  StringformatWKT(Formatter formatter)
     Format the inner part of a Well Known Text (WKT) element. Note: All subclasses will override this method, but only DefaultGeodeticDatum will not invokes this parent method, because horizontal datum do not write the datum type.
Parameters:
  formatter - The formatter to use.
public  InternationalStringgetAnchorPoint()
     Description, possibly including coordinates, of the point or points used to anchor the datum to the Earth.
public  ExtentgetDomainOfValidity()
     Area or region or timeframe in which this datum is valid.
 intgetLegacyDatumType()
     Gets the type of the datum as an enumerated code.
public  DategetRealizationEpoch()
     The time after which this datum definition is valid.
public  InternationalStringgetScope()
     Description of domain of usage, or limitations of usage, for which this datum object is valid.
public  ExtentgetValidArea()
     Area or region in which this datum object is valid.


Constructor Detail
AbstractDatum
public AbstractDatum(Datum datum)(Code)
Constructs a new datum 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



AbstractDatum
public AbstractDatum(Map properties)(Code)
Constructs a datum from a set of properties. The properties given in argument follow the same rules than for the . Additionally, the following properties are understood by this construtor:

Property name Value type Value given to
  AbstractDatum.ANCHOR_POINT_KEY "anchorPoint"     InternationalString or String     AbstractDatum.getAnchorPoint
  AbstractDatum.REALIZATION_EPOCH_KEY "realizationEpoch"     Date     AbstractDatum.getRealizationEpoch
  AbstractDatum.DOMAIN_OF_VALIDITY_KEY "domainOfValidity"     Extent     AbstractDatum.getDomainOfValidity
  AbstractDatum.SCOPE_KEY "scope"     InternationalString or String     AbstractDatum.getScope




Method Detail
equals
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)
Compares the specified object with this datum 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.



formatWKT
protected String formatWKT(Formatter formatter)(Code)
Format the inner part of a Well Known Text (WKT) element. Note: All subclasses will override this method, but only DefaultGeodeticDatum will not invokes this parent method, because horizontal datum do not write the datum type.
Parameters:
  formatter - The formatter to use. The WKT element name.



getAnchorPoint
public InternationalString getAnchorPoint()(Code)
Description, possibly including coordinates, of the point or points used to anchor the datum to the Earth. Also known as the "origin", especially for Engineering and Image Datums.
  • For a geodetic datum, this point is also known as the fundamental point, which is traditionally the point where the relationship between geoid and ellipsoid is defined. In some cases, the "fundamental point" may consist of a number of points. In those cases, the parameters defining the geoid/ellipsoid relationship have then been averaged for these points, and the averages adopted as the datum definition.
  • For an engineering datum, the anchor point may be a physical point, or it may be a point with defined coordinates in another CRS.
  • For an image datum, the anchor point is usually either the centre of the image or the corner of the image.
  • For a temporal datum, this attribute is not defined. Instead of the anchor point, a temporal datum carries a separate time origin of type Date .



getDomainOfValidity
public Extent getDomainOfValidity()(Code)
Area or region or timeframe in which this datum is valid.
since:
   2.4



getLegacyDatumType
int getLegacyDatumType()(Code)
Gets the type of the datum as an enumerated code. Datum type was provided for all kind of datum in the legacy OGC 01-009 specification. In the new OGC 03-73 (ISO 19111) specification, datum type is provided only for vertical datum. Nevertheless, we keep this method around since it is needed for WKT formatting. Note that we returns the datum type ordinal value, not the code list object.



getRealizationEpoch
public Date getRealizationEpoch()(Code)
The time after which this datum definition is valid. This time may be precise (e.g. 1997 for IRTF97) or merely a year (e.g. 1983 for NAD83). In the latter case, the epoch usually refers to the year in which a major recalculation of the geodetic control network, underlying the datum, was executed or initiated. An old datum can remain valid after a new datum is defined. Alternatively, a datum may be superseded by a later datum, in which case the realization epoch for the new datum defines the upper limit for the validity of the superseded datum.



getScope
public InternationalString getScope()(Code)
Description of domain of usage, or limitations of usage, for which this datum object is valid.



getValidArea
public Extent getValidArea()(Code)
Area or region in which this datum object is valid. AbstractDatum.getDomainOfValidity



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.