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


org.geotools.referencing.operation.projection.MapProjection
   org.geotools.referencing.operation.projection.Mercator

All known Subclasses:   org.geotools.referencing.operation.projection.Mercator2SP,  org.geotools.referencing.operation.projection.Mercator1SP,
Mercator
abstract public class Mercator extends MapProjection (Code)
Mercator Cylindrical Projection. The parallels and the meridians are straight lines and cross at right angles; this projection thus produces rectangular charts. The scale is true along the equator (by default) or along two parallels equidistant of the equator (if a scale factor other than 1 is used). This projection is used to represent areas close to the equator. It is also often used for maritime navigation because all the straight lines on the chart are loxodrome lines, i.e. a ship following this line would keep a constant azimuth on its compass.

This implementation handles both the 1 and 2 stardard parallel cases. For Mercator_1SP (EPSG code 9804), the line of contact is the equator. For Mercator_2SP (EPSG code 9805) lines of contact are symmetrical about the equator.

References:

  • John P. Snyder (Map Projections - A Working Manual,
    U.S. Geological Survey Professional Paper 1395, 1987)
  • "Coordinate Conversions and Transformations including Formulas",
    EPSG Guidence Note Number 7, Version 19.

See Also:    Mercator projection on MathWorld
See Also:    "mercator_1sp" on RemoteSensing.org
See Also:    "mercator_2sp" on RemoteSensing.org
since:
   2.1
version:
   $Id: Mercator.java 25697 2007-05-31 14:26:35Z desruisseaux $
author:
   André Gosselin
author:
   Martin Desruisseaux
author:
   Rueben Schulz
author:
   Simone Giannecchini

Inner Class :abstract static class Spherical extends Mercator

Field Summary
final protected  doublestandardParallel
     Standard Parallel used for the Mercator2SP case.

Constructor Summary
protected  Mercator(ParameterValueGroup parameters)
     Constructs a new map projection from the supplied parameters.

Method Summary
public  booleanequals(Object object)
     Compares the specified object with this map projection for equality.
public  ParameterValueGroupgetParameterValues()
    
public  inthashCode()
     Returns a hash value for this projection.
protected  Point2DinverseTransformNormalized(double x, double y, Point2D ptDst)
     Transforms the specified (x,y) coordinates and stores the result in ptDst .
protected  Point2DtransformNormalized(double x, double y, Point2D ptDst)
     Transforms the specified (λ,φ) coordinates (units in radians) and stores the result in ptDst (linear distance on a unit sphere).

Field Detail
standardParallel
final protected double standardParallel(Code)
Standard Parallel used for the Mercator2SP case. Set to Double.NaN for the Mercator1SP case.




Constructor Detail
Mercator
protected Mercator(ParameterValueGroup parameters) throws ParameterNotFoundException(Code)
Constructs a new map projection from the supplied parameters.
Parameters:
  parameters - The parameter values in standard units.
throws:
  ParameterNotFoundException - if a mandatory parameter is missing.




Method Detail
equals
public boolean equals(Object object)(Code)
Compares the specified object with this map projection for equality.



getParameterValues
public ParameterValueGroup getParameterValues()(Code)



hashCode
public int hashCode()(Code)
Returns a hash value for this projection.



inverseTransformNormalized
protected Point2D inverseTransformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code)
Transforms the specified (x,y) coordinates and stores the result in ptDst .



transformNormalized
protected Point2D transformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code)
Transforms the specified (λ,φ) coordinates (units in radians) and stores the result in ptDst (linear distance on a unit sphere).



Fields inherited from org.geotools.referencing.operation.projection.MapProjection
protected double centralMeridian(Code)(Java Doc)
final protected double excentricity(Code)(Java Doc)
final protected double excentricitySquared(Code)(Java Doc)
final protected double falseEasting(Code)(Java Doc)
final protected double falseNorthing(Code)(Java Doc)
protected double globalScale(Code)(Java Doc)
final protected boolean isSpherical(Code)(Java Doc)
protected double latitudeOfOrigin(Code)(Java Doc)
protected double scaleFactor(Code)(Java Doc)
final protected double semiMajor(Code)(Java Doc)
final protected double semiMinor(Code)(Java Doc)

Methods inherited from org.geotools.referencing.operation.projection.MapProjection
static boolean checkInverseTransform(double longitude, double latitude, Point2D expected, double tolerance)(Code)(Java Doc)
static boolean checkInverseTransform(double longitude, double latitude, Point2D expected)(Code)(Java Doc)
static boolean checkTransform(double x, double y, Point2D expected, double tolerance)(Code)(Java Doc)
static boolean checkTransform(double x, double y, Point2D expected)(Code)(Java Doc)
final double cphi2(double ts) throws ProjectionException(Code)(Java Doc)
final double doubleValue(Collection expected, ParameterDescriptor param, ParameterValueGroup group) throws ParameterNotFoundException(Code)(Java Doc)
static void ensureLatitudeEquals(ParameterDescriptor name, double y, double expected) throws IllegalArgumentException(Code)(Java Doc)
static void ensureLatitudeInRange(ParameterDescriptor name, double y, boolean edge) throws IllegalArgumentException(Code)(Java Doc)
static void ensureLongitudeInRange(ParameterDescriptor name, double x, boolean edge) throws IllegalArgumentException(Code)(Java Doc)
final void ensureSpherical() throws IllegalArgumentException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
static boolean equals(double value1, double value2)(Code)(Java Doc)
abstract public ParameterDescriptorGroup getParameterDescriptors()(Code)(Java Doc)
public ParameterValueGroup getParameterValues()(Code)(Java Doc)
final public int getSourceDimensions()(Code)(Java Doc)
final public int getTargetDimensions()(Code)(Java Doc)
protected double getToleranceForAssertions(double longitude, double latitude)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public MathTransform inverse()(Code)(Java Doc)
abstract protected Point2D inverseTransformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code)(Java Doc)
boolean isExpectedParameter(Collection expected, ParameterDescriptor param)(Code)(Java Doc)
final double msfn(double s, double c)(Code)(Java Doc)
final void set(Collection expected, ParameterDescriptor param, ParameterValueGroup group, double value)(Code)(Java Doc)
final public Point2D transform(Point2D ptSrc, Point2D ptDst) throws ProjectionException(Code)(Java Doc)
final public void transform(double[] src, int srcOffset, double[] dest, int dstOffset, int numPts) throws ProjectionException(Code)(Java Doc)
final public void transform(float[] src, int srcOffset, float[] dest, int dstOffset, int numPts) throws ProjectionException(Code)(Java Doc)
abstract protected Point2D transformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code)(Java Doc)
final double tsfn(double phi, double sinphi)(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.