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


org.geotools.referencing.AbstractReferenceSystem
   org.geotools.referencing.crs.AbstractCRS
      org.geotools.referencing.crs.AbstractSingleCRS
         org.geotools.referencing.crs.AbstractDerivedCRS
            org.geotools.referencing.crs.DefaultProjectedCRS

DefaultProjectedCRS
public class DefaultProjectedCRS extends AbstractDerivedCRS implements ProjectedCRS(Code)
A 2D coordinate reference system used to approximate the shape of the earth on a planar surface. It is done in such a way that the distortion that is inherent to the approximation is carefully controlled and known. Distortion correction is commonly applied to calculated bearings and distances to produce values that are a close match to actual field values.
Used with CS type(s)
CartesianCS Cartesian

since:
   2.1
version:
   $Id: DefaultProjectedCRS.java 29128 2008-02-07 10:56:41Z desruisseaux $
author:
   Martin Desruisseaux



Constructor Summary
public  DefaultProjectedCRS(ProjectedCRS crs)
     Constructs a new projected CRS 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  DefaultProjectedCRS(String name, OperationMethod method, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS)
     Constructs a projected CRS from a name.
Parameters:
  name - The name.
Parameters:
  method - A description of the .
Parameters:
  base - Coordinate reference system to base the derived CRS on.
Parameters:
  baseToDerived - The transform from the base CRS to returned CRS.
Parameters:
  derivedCS - The coordinate system for the derived CRS.
public  DefaultProjectedCRS(Map properties, OperationMethod method, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS)
     Constructs a projected CRS from a set of properties.
public  DefaultProjectedCRS(Map properties, Conversion conversionFromBase, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS)
     Constructs a projected CRS from a . The properties are given unchanged to the .
Parameters:
  properties - Name and other properties to give to the new projected CRS object.
Parameters:
  conversionFromBase - The .
Parameters:
  base - Coordinate reference system to base the projected CRS on.
Parameters:
  baseToDerived - The transform from the base CRS to returned CRS.
Parameters:
  derivedCS - The coordinate system for the projected CRS.

Method Summary
public static  MatrixcreateLinearConversion(ProjectedCRS sourceCRS, ProjectedCRS targetCRS, double errorTolerance)
     Returns a conversion from a source to target projected CRS, if this conversion is representable as an affine transform.
protected  StringformatWKT(Formatter formatter)
     Format the inner part of a Well Known Text (WKT) element.
Parameters:
  formatter - The formatter to use.
public  inthashCode()
     Returns a hash value for this projected CRS. The hash code value.


Constructor Detail
DefaultProjectedCRS
public DefaultProjectedCRS(ProjectedCRS crs)(Code)
Constructs a new projected CRS 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



DefaultProjectedCRS
public DefaultProjectedCRS(String name, OperationMethod method, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS) throws MismatchedDimensionException(Code)
Constructs a projected CRS from a name.
Parameters:
  name - The name.
Parameters:
  method - A description of the .
Parameters:
  base - Coordinate reference system to base the derived CRS on.
Parameters:
  baseToDerived - The transform from the base CRS to returned CRS.
Parameters:
  derivedCS - The coordinate system for the derived CRS. The numberof axes must match the target dimension of the transform baseToDerived .
throws:
  MismatchedDimensionException - if the source and target dimension of baseToDeviced don't match the dimension of base and derivedCS respectively.DefiningConversion



DefaultProjectedCRS
public DefaultProjectedCRS(Map properties, OperationMethod method, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS) throws MismatchedDimensionException(Code)
Constructs a projected CRS from a set of properties. The properties are given unchanged to the .
Parameters:
  properties - Name and other properties to give to the new derived CRS object and tothe underlying .
Parameters:
  method - A description of the .
Parameters:
  base - Coordinate reference system to base the derived CRS on.
Parameters:
  baseToDerived - The transform from the base CRS to returned CRS.
Parameters:
  derivedCS - The coordinate system for the derived CRS. The numberof axes must match the target dimension of the transform baseToDerived .
throws:
  MismatchedDimensionException - if the source and target dimension of baseToDeviced don't match the dimension of base and derivedCS respectively.DefiningConversion



DefaultProjectedCRS
public DefaultProjectedCRS(Map properties, Conversion conversionFromBase, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS) throws MismatchedDimensionException(Code)
Constructs a projected CRS from a . The properties are given unchanged to the .
Parameters:
  properties - Name and other properties to give to the new projected CRS object.
Parameters:
  conversionFromBase - The .
Parameters:
  base - Coordinate reference system to base the projected CRS on.
Parameters:
  baseToDerived - The transform from the base CRS to returned CRS.
Parameters:
  derivedCS - The coordinate system for the projected CRS. The numberof axes must match the target dimension of the transform baseToDerived .
throws:
  MismatchedDimensionException - if the source and target dimension of baseToDerived don't match the dimension of base and derivedCS respectively.




Method Detail
createLinearConversion
public static Matrix createLinearConversion(ProjectedCRS sourceCRS, ProjectedCRS targetCRS, double errorTolerance)(Code)
Returns a conversion from a source to target projected CRS, if this conversion is representable as an affine transform. More specifically, if all projection parameters are identical except the following ones:

  • org.geotools.referencing.operation.projection.MapProjection.AbstractProvider.SCALE_FACTOR scale_factor
  • org.geotools.referencing.operation.projection.MapProjection.AbstractProvider.SEMI_MAJOR semi_major
  • org.geotools.referencing.operation.projection.MapProjection.AbstractProvider.SEMI_MINOR semi_minor
  • org.geotools.referencing.operation.projection.MapProjection.AbstractProvider.FALSE_EASTING false_easting
  • org.geotools.referencing.operation.projection.MapProjection.AbstractProvider.FALSE_NORTHING false_northing

Then the conversion between two projected CRS can sometime be represented as a linear conversion. For example if only false easting/northing differ, then the coordinate conversion is simply a translation. If no linear conversion has been found between the two CRS, then this method returns null .
Parameters:
  sourceCRS - The source coordinate reference system.
Parameters:
  targetCRS - The target coordinate reference system.
Parameters:
  errorTolerance - Relative error tolerance for considering two parameter values asequal. This is usually a small number like 1E-10 . The conversion from sourceCRS to targetCRS as anaffine transform, or null if no linear transform has been found. DefaultCoordinateOperationFactory




formatWKT
protected String formatWKT(Formatter formatter)(Code)
Format the inner part of a Well Known Text (WKT) element.
Parameters:
  formatter - The formatter to use. The name of the WKT element type, which is "PROJCS" .



hashCode
public int hashCode()(Code)
Returns a hash value for this projected CRS. The hash code value. This value doesn't need to be the samein past or future versions of this class.



Fields inherited from org.geotools.referencing.crs.AbstractDerivedCRS
final public static String CONVERSION_TYPE_KEY(Code)(Java Doc)
final public static ThreadLocal _COMPARING(Code)(Java Doc)
final protected CoordinateReferenceSystem baseCRS(Code)(Java Doc)
final protected Conversion conversionFromBase(Code)(Java Doc)

Methods inherited from org.geotools.referencing.crs.AbstractDerivedCRS
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
protected String formatWKT(Formatter formatter)(Code)(Java Doc)
public CoordinateReferenceSystem getBaseCRS()(Code)(Java Doc)
public Conversion getConversionFromBase()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)

Fields inherited from org.geotools.referencing.crs.AbstractSingleCRS
final protected Datum datum(Code)(Java Doc)

Methods inherited from org.geotools.referencing.crs.AbstractSingleCRS
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
final void formatDefaultWKT(Formatter formatter)(Code)(Java Doc)
public CoordinateSystemAxis getAxis(int dimension) throws IndexOutOfBoundsException(Code)(Java Doc)
public Datum getDatum()(Code)(Java Doc)
public int getDimension()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)

Fields inherited from org.geotools.referencing.crs.AbstractCRS
final protected CoordinateSystem coordinateSystem(Code)(Java Doc)

Methods inherited from org.geotools.referencing.crs.AbstractCRS
public Measure distance(double[] coord1, double[] coord2) throws UnsupportedOperationException, MismatchedDimensionException(Code)(Java Doc)
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
void formatDefaultWKT(Formatter formatter)(Code)(Java Doc)
protected String formatWKT(Formatter formatter)(Code)(Java Doc)
public CoordinateSystem getCoordinateSystem()(Code)(Java Doc)
final Unit getUnit()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
static Map name(int key)(Code)(Java Doc)

Methods inherited from org.geotools.referencing.AbstractReferenceSystem
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)(Code)(Java Doc)
public Extent getDomainOfValidity()(Code)(Java Doc)
public InternationalString getScope()(Code)(Java Doc)
public Extent getValidArea()(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.