org.geotools.referencing.operation.projection

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.operation.projection 
org.geotools.referencing.operation.projection
package org.geotools.referencing.operation.projection Basic implementations of {@linkplain org.geotools.referencing.operation.projection.MapProjection map projections}. This package is mostly for internal purpose and should usually not be used directly. Consider using {@link org.opengis.referencing.operation.MathTransformFactory} instead.

Axis units and orientation

Many {@linkplain org.opengis.referencing.crs.GeographicCRS geographic coordinate reference systems} use axis in (latitude,longitude) order, but not all. Axis order, orientation and units are CRS-dependent. For example some CRS use longitude values increasing toward {@linkplain org.opengis.referencing.cs.AxisDirection#EAST East}, while some others use longitude values increasing toward {@linkplain org.opengis.referencing.cs.AxisDirection#WEST West}. The axis order must be specified in all CRS, and any method working with them should take their axis order and units in account.

However, map projections defined in this package are transformation steps, not final CRS. All projections defined in this package must complies with the OGC 01-009 specification. This specification said (quoting section 10.6 at page 34):

Cartographic projection transforms are used by projected coordinate reference systems to map geographic coordinates (e.g. Longitude and Latitude) into (X,Y) coordinates. These (X,Y) coordinates can be imagined to lie on a plane, such as a paper map or a screen. All cartographic projection transforms will have the following properties:

  • Converts from (Longitude, Latitude) coordinates to (X,Y).
  • All angles are assumed to be decimal degrees, and all distances are assumed to be meters.
  • The domain should be a subset of {[-180,180)×(-90,90)}.

Although all cartographic projection transforms must have the properties listed above, many projected coordinate reference systems have different properties. For example, in Europe some projected coordinate reference systems use grads instead of decimal degrees, and often the base geographic coordinate reference system is (Latitude, Longitude) instead of (Longitude, Latitude). This means that the cartographic projected transform is often used as a single step in a series of transforms, where the other steps change units and swap ordinates.

The Geotools implementation extends this rule to axis directions as well, i.e. (X,Y) coordinates must be ({@linkplain org.opengis.referencing.cs.AxisDirection#EAST East}, {@linkplain org.opengis.referencing.cs.AxisDirection#NORTH North}) orientated. This rule implies a non-intuitive behavior for the Transverse Mercator South Orientated projection, which still projects coordinates with Y values increasing toward North. The real axis flip is performed by the rest of the CRS framework upon {@linkplain org.opengis.referencing.cs.CoordinateSystemAxis coordinate system axis} inspection. In order to get a real South orientated projection, the cartographic transform must be concatenated with an affine transform. This is done automatically if the {@linkplain org.opengis.referencing.crs.ProjectedCRS projected CRS} is created with the Geotools's {@link org.geotools.referencing.factory.FactoryGroup#createProjectedCRS createProjectedCRS} convenience method with a South orientated {@linkplain org.opengis.referencing.cs.CoordinateSystem coordinate system} in argument.

In order to reduce the risk of confusion, this package never defines south orientated {@link org.geotools.referencing.operation.projection.MapProjection} implementations. The providers always create south-orientated projections as a concatenation of their north-orientated variants with an affine transform. This approach removes all ambiguity when reading a transform in Well Known Text (WKT) format, since only the north-orientated variant is used and the affine transform coefficients tell exactly which axis flips are applied.

Java Source File NameTypeComment
AlbersEqualArea.javaClass Albers Equal Area Projection (EPSG code 9822).
DirectCreationTest.javaClass Tests projection equations as well as the integration with MathTransformFactory .
EquatorialOrthographic.javaClass The equatorial case of the Orthographic projection.
EquatorialStereographic.javaClass The USGS equatorial case of the projection.
EquidistantCylindrical.javaClass Equidistant cylindrical projection (EPSG code 9823).
HotineObliqueMercator.javaClass Hotine Oblique Mercator projection.
Krovak.javaClass Krovak Oblique Conformal Conic projection (EPSG code 9819).
LambertAzimuthalEqualArea.javaClass Lambert Azimuthal Equal Area (EPSG code 9820). References:
  • A.
LambertConformal.javaClass Lambert Conical Conformal Projection.
LambertConformal1SP.javaClass Lambert Conical Conformal 1SP Projection.
LambertConformal2SP.javaClass Lambert Conical Conformal 2SP Projection.
LambertConformalBelgium.javaClass Lambert Conical Conformal 2SP Belgium Projection.
LambertConformalESRI.javaClass Lambert Conical Conformal Projection using ESRI parameters. ESRI includes a scale_factor parameter.
MapProjection.javaClass Base class for transformation services between ellipsoidal and cartographic projections. This base class provides the basic feature needed for all methods (no need to overrides methods).
Mercator.javaClass Mercator Cylindrical Projection.
Mercator1SP.javaClass Mercator Cylindrical 1SP Projection.
Mercator2SP.javaClass Mercator Cylindrical 2SP Projection.
ModifiedParameterDescriptor.javaClass A parameter descriptor identical to the supplied one except for the default value.
NewZealandMapGrid.javaClass The NZMG (New Zealand Map Grid) projection.
NewZealandMapGridTest.javaClass Tests the NewZealandMapGrid implementation.
ObliqueMercator.javaClass Oblique Mercator Projection.
ObliqueOrthographic.javaClass The oblique case of the Orthographic projection.
ObliqueStereographic.javaClass Provides the transform equations for the Oblique Stereographic (EPSG code 9809). The formulas used below are not from the EPSG, but rather those of the "Oblique Stereographic Alternative" in the libproj4 package written by Gerald Evenden.
Orthographic.javaClass Orthographic Projection.
OrthographicEquatorial.javaClass The equatorial case of the Orthographic projection.
OrthographicOblique.javaClass The oblique case of the Orthographic projection.
OrthographicPolar.javaClass The polar case of the Orthographic projection.
PlateCarree.javaClass Plate Carree (or Equirectangular) projection.
PointOutsideEnvelopeException.javaClass Thrown by MapProjection when a map projection failed because the point is outside the envelope of validity.
PolarOrthographic.javaClass The polar case of the Orthographic projection.
PolarStereographic.javaClass The polar case of the projection. This default implementation uses USGS equation (i.e.
ProjectionException.javaClass Thrown by MapProjection when a map projection failed.
SouthOrientedTest.javaClass Tests some south-oriented map projections.
Stereographic.javaClass Stereographic Projection.
StereographicEquatorial.javaClass The USGS equatorial case of the projection.
StereographicOblique.javaClass The USGS oblique/equatorial case of the Stereographic projection.
StereographicPolar.javaClass The polar case of the projection. This default implementation uses USGS equation (i.e.
StereographicUSGS.javaClass The USGS oblique/equatorial case of the Stereographic projection.
TransverseMercator.javaClass Transverse Mercator Projection (EPSG code 9807).
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.