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


org.geotools.referencing.factory.ReferencingFactory
   org.geotools.referencing.factory.DatumAliases

DatumAliases
public class DatumAliases extends ReferencingFactory implements DatumFactory(Code)
A datum factory that add to a datum name before to delegates the to an other factory. Aliases are especially important for since their are often the only way to differentiate them. Two datum with different names are considered incompatible, unless some datum shift method are specified (e.g. ). Unfortunatly, different softwares often use different names for the same datum, which result in OperationNotFoundException when attempting to convert coordinates from one to an other one. For example "Nouvelle Triangulation Française (Paris)" and "NTF (Paris meridian)" are actually the same datum. This DatumAliases class provides a way to handle that.

DatumAliases is a class that determines if a datum name is in our list of aliases and constructs a value for the (as ) for a name. The default implementation is backed by the text file " DatumAliasesTable.txt ". The first line in this text file must be the authority names. All other lines are the aliases.

Since DatumAliases is a datum factory, any or any using this factory will takes advantage of the aliases table.
since:
   2.1
version:
   $Id: DatumAliases.java 25050 2007-04-06 00:41:49Z jgarnett $
author:
   Rueben Schulz
author:
   Martin DesruisseauxDatumAliases.freeUnused reload()
See Also:    WKT problems




Constructor Summary
public  DatumAliases()
     Constructs a new datum factory with the default backing factory and alias table.
public  DatumAliases(DatumFactory factory)
     Constructs a new datum factory using the specified factory and the default alias table.
public  DatumAliases(DatumFactory factory, URL aliasURL)
     Constructs a new datum factory which delegates its work to the specified factory. The aliases table is read from the specified URL.

Method Summary
public synchronized  EllipsoidcreateEllipsoid(Map properties, double semiMajorAxis, double semiMinorAxis, Unit unit)
     Creates an ellipsoid from radius values.
public synchronized  EngineeringDatumcreateEngineeringDatum(Map properties)
     Creates an engineering datum.
public synchronized  EllipsoidcreateFlattenedSphere(Map properties, double semiMajorAxis, double inverseFlattening, Unit unit)
     Creates an ellipsoid from an major radius, and inverse flattening.
public synchronized  GeodeticDatumcreateGeodeticDatum(Map properties, Ellipsoid ellipsoid, PrimeMeridian primeMeridian)
     Creates geodetic datum from ellipsoid and (optionaly) Bursa-Wolf parameters.
public synchronized  ImageDatumcreateImageDatum(Map properties, PixelInCell pixelInCell)
     Creates an image datum.
public synchronized  PrimeMeridiancreatePrimeMeridian(Map properties, double longitude, Unit angularUnit)
     Creates a prime meridian, relative to Greenwich.
public synchronized  TemporalDatumcreateTemporalDatum(Map properties, Date origin)
     Creates a temporal datum from an enumerated type value.
public synchronized  VerticalDatumcreateVerticalDatum(Map properties, VerticalDatumType type)
     Creates a vertical datum from an enumerated type value.
public synchronized  voidfreeUnused()
     Free all aliases that have been unused up to date.


Constructor Detail
DatumAliases
public DatumAliases()(Code)
Constructs a new datum factory with the default backing factory and alias table.



DatumAliases
public DatumAliases(DatumFactory factory)(Code)
Constructs a new datum factory using the specified factory and the default alias table.
Parameters:
  factory - The factory to use for datum creation.



DatumAliases
public DatumAliases(DatumFactory factory, URL aliasURL)(Code)
Constructs a new datum factory which delegates its work to the specified factory. The aliases table is read from the specified URL. The fist line in this file most be the authority names. All other names are aliases.
Parameters:
  factory - The factory to use for datum creation.
Parameters:
  aliasURL - The url to the alias table.




Method Detail
createEllipsoid
public synchronized Ellipsoid createEllipsoid(Map properties, double semiMajorAxis, double semiMinorAxis, Unit unit) throws FactoryException(Code)
Creates an ellipsoid from radius values.
Parameters:
  properties - Name and other properties to give to the new object.
Parameters:
  semiMajorAxis - Equatorial radius in supplied linear units.
Parameters:
  semiMinorAxis - Polar radius in supplied linear units.
Parameters:
  unit - Linear units of ellipsoid axes.
throws:
  FactoryException - if the object creation failed.



createEngineeringDatum
public synchronized EngineeringDatum createEngineeringDatum(Map properties) throws FactoryException(Code)
Creates an engineering datum.
Parameters:
  properties - Name and other properties to give to the new object.
throws:
  FactoryException - if the object creation failed.



createFlattenedSphere
public synchronized Ellipsoid createFlattenedSphere(Map properties, double semiMajorAxis, double inverseFlattening, Unit unit) throws FactoryException(Code)
Creates an ellipsoid from an major radius, and inverse flattening.
Parameters:
  properties - Name and other properties to give to the new object.
Parameters:
  semiMajorAxis - Equatorial radius in supplied linear units.
Parameters:
  inverseFlattening - Eccentricity of ellipsoid.
Parameters:
  unit - Linear units of major axis.
throws:
  FactoryException - if the object creation failed.



createGeodeticDatum
public synchronized GeodeticDatum createGeodeticDatum(Map properties, Ellipsoid ellipsoid, PrimeMeridian primeMeridian) throws FactoryException(Code)
Creates geodetic datum from ellipsoid and (optionaly) Bursa-Wolf parameters.
Parameters:
  properties - Name and other properties to give to the new object.
Parameters:
  ellipsoid - Ellipsoid to use in new geodetic datum.
Parameters:
  primeMeridian - Prime meridian to use in new geodetic datum.
throws:
  FactoryException - if the object creation failed.



createImageDatum
public synchronized ImageDatum createImageDatum(Map properties, PixelInCell pixelInCell) throws FactoryException(Code)
Creates an image datum.
Parameters:
  properties - Name and other properties to give to the new object.
Parameters:
  pixelInCell - Specification of the way the image grid is associatedwith the image data attributes.
throws:
  FactoryException - if the object creation failed.



createPrimeMeridian
public synchronized PrimeMeridian createPrimeMeridian(Map properties, double longitude, Unit angularUnit) throws FactoryException(Code)
Creates a prime meridian, relative to Greenwich.
Parameters:
  properties - Name and other properties to give to the new object.
Parameters:
  longitude - Longitude of prime meridian in supplied angular units East of Greenwich.
Parameters:
  angularUnit - Angular units of longitude.
throws:
  FactoryException - if the object creation failed.



createTemporalDatum
public synchronized TemporalDatum createTemporalDatum(Map properties, Date origin) throws FactoryException(Code)
Creates a temporal datum from an enumerated type value.
Parameters:
  properties - Name and other properties to give to the new object.
Parameters:
  origin - The date and time origin of this temporal datum.
throws:
  FactoryException - if the object creation failed.



createVerticalDatum
public synchronized VerticalDatum createVerticalDatum(Map properties, VerticalDatumType type) throws FactoryException(Code)
Creates a vertical datum from an enumerated type value.
Parameters:
  properties - Name and other properties to give to the new object.
Parameters:
  type - The type of this vertical datum (often “geoidal”).
throws:
  FactoryException - if the object creation failed.



freeUnused
public synchronized void freeUnused()(Code)
Free all aliases that have been unused up to date. If one of those alias is needed at a later time, the aliases table will be reloaded.



Fields inherited from org.geotools.referencing.factory.ReferencingFactory
final static Citation ALL(Code)(Java Doc)
final public static Logger LOGGER(Code)(Java Doc)

Methods inherited from org.geotools.referencing.factory.ReferencingFactory
Collection dependencies()(Code)(Java Doc)
protected static void ensureNonNull(String name, Object object) throws InvalidParameterValueException(Code)(Java Doc)
public Citation getVendor()(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.