Java Doc for UTM.java in  » Science » jscience-4.3.1 » org » jscience » geography » coordinates » 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 » Science » jscience 4.3.1 » org.jscience.geography.coordinates 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jscience.geography.coordinates.UTM

UTM
final public class UTM extends Coordinates> (Code)
This class represents the ProjectedCRS projected Universal Transverse Mercator (UTM) coordinates onto the WGS84 ellipsoid.

The UTM system is limited to values between -80 and +84 degrees latitude. Values beyond these limits (i.e., the polar regions) are projected using the Universal Polar Stereographic (UPS) projection. Although mathematically distinct, the two projections are represented identically. This class returns correct results for both UTM and UPS projections. The conversion routines for this class were derived from formulas described in the Defense Mapping Agency Technical Manual 8358.2.
author:
   Paul D. Anderson
version:
   3.0, February 25, 2006
See Also:    * Wikipedia: Universal Transverse Mercator Coordinate System



Field Summary
final public static  ProjectedCRS<UTM>CRS
     Holds the coordinate reference system for all instances of this class.
public static  Measure<Integer, Length>UPS_FALSE_EASTING
     The UPS "false easting" value.
public static  Measure<Integer, Length>UPS_FALSE_NORTHING
     The UPS "false northing" value.
final public static  doubleUPS_SCALE_FACTOR
     The UPS scale factor.
public static  Measure<Integer, Length>UTM_FALSE_EASTING
     The UTM "false easting" value.
public static  Measure<Integer, Length>UTM_FALSE_NORTHING
     The UTM "false northing" value.
final public static  Measure<Integer, Angle>UTM_NORTHERN_LIMIT
     The northern limit of the UTM grid.
final public static  doubleUTM_SCALE_FACTOR
     The UTM scale factor.
final public static  Measure<Integer, Angle>UTM_SOUTHERN_LIMIT
     The southern limit of the UTM grid.
final static  XMLFormat<UTM>XML
    


Method Summary
public  UTMcopy()
    
final public  doubleeastingValue(Unit<Length> unit)
     Returns the projected distance of the position from the central meridian.
Parameters:
  unit - the length unit of the easting to return.
public static  doublegetCentralMeridian(int longitudeZone, char latitudeZone)
     Returns the central meridian (in radians) for the specified UTM/UPS zone.
Parameters:
  longitudeZone - The UTM/UPS longitude zone number.
Parameters:
  latitudeZone - The UTM/UPS latitude zone character.
public  ProjectedCRS<UTM>getCoordinateReferenceSystem()
    
public  intgetDimension()
    
public static  chargetLatitudeZone(LatLong latLong)
     Returns the UTM/UPS latitude zone identifier for the specified coordinates.
Parameters:
  latLong - The coordinates.
public static  intgetLongitudeZone(LatLong latLong)
     Returns the UTM/UPS longitude zone number for the specified coordinates.
Parameters:
  latLong - The coordinates.
public  doublegetOrdinate(int dimension)
    
public static  booleanisNorthPolar(LatLong latLong)
     Returns true if the position indicated by the coordinates is north of the northern limit of the UTM grid (84 degrees).
Parameters:
  latLong - The coordinates.
public static  booleanisSouthPolar(LatLong latLong)
     Returns true if the position indicated by the coordinates is south of the southern limit of the UTM grid (-80 degrees).
Parameters:
  latLong - The coordinates.
public static  UTMlatLongToUps(LatLong latLong, ReferenceEllipsoid ellipsoid)
     Converts latitude/longitude coordinates to UPS coordinates based on the specified reference ellipsoid.
Parameters:
  latLong - The latitude/longitude coordinates.
Parameters:
  ellipsoid - The reference ellipsoid.
public static  UTMlatLongToUtm(LatLong latLong, ReferenceEllipsoid ellipsoid)
     Converts latitude/longitude coordinates to UTM coordinates based on the specified reference ellipsoid.
Parameters:
  latLong - The latitude/longitude coordinates.
Parameters:
  ellipsoid - The reference ellipsoid.
final public  charlatitudeZone()
     Returns the latitude zone identifier.
final public  intlongitudeZone()
     Returns the longitude zone identifier.
final public  doublenorthingValue(Unit<Length> unit)
     Returns the projected distance of the point from the equator.
Parameters:
  unit - the length unit of the northing to return.
public static  LatLongupsToLatLong(UTM ups, ReferenceEllipsoid ellipsoid)
     Converts the UPS coordinates to latitude/longitude coordinates, based on the specified reference ellipsoid.
Parameters:
  ups - The UPS coordinates.
Parameters:
  ellipsoid - The reference ellipsoid.
public static  LatLongutmToLatLong(UTM utm, ReferenceEllipsoid ellipsoid)
     Converts the UTM coordinates to latitude/longitude coordinates, based on the specified reference ellipsoid.
Parameters:
  utm - The UTM coordinates.
Parameters:
  ellipsoid - The reference ellipsoid.
public static  UTMvalueOf(int longitudeZone, char latitudeZone, double easting, double northing, Unit<Length> unit)
     Returns the projected UTM position corresponding to the specified coordinates.
Parameters:
  longitudeZone - the longitude zone number.
Parameters:
  latitudeZone - the longitude zone character.
Parameters:
  easting - the easting value stated in the specified unit.
Parameters:
  northing - the northing value stated in the specified unit.
Parameters:
  unit - the easting/northing length unit.

Field Detail
CRS
final public static ProjectedCRS<UTM> CRS(Code)
Holds the coordinate reference system for all instances of this class.



UPS_FALSE_EASTING
public static Measure<Integer, Length> UPS_FALSE_EASTING(Code)
The UPS "false easting" value. This quantity is added to the true easting to avoid using negative numbers in the coordinates.



UPS_FALSE_NORTHING
public static Measure<Integer, Length> UPS_FALSE_NORTHING(Code)
The UPS "false northing" value. This quantity is added to the true northing to avoid using negative numbers in the coordinates. The UPS system, unlike the UTM system, always includes the false northing.



UPS_SCALE_FACTOR
final public static double UPS_SCALE_FACTOR(Code)
The UPS scale factor.



UTM_FALSE_EASTING
public static Measure<Integer, Length> UTM_FALSE_EASTING(Code)
The UTM "false easting" value. This quantity is added to the true easting to avoid using negative numbers in the coordinates.



UTM_FALSE_NORTHING
public static Measure<Integer, Length> UTM_FALSE_NORTHING(Code)
The UTM "false northing" value. This quantity is added to the true northing for coordinates in the southern hemisphere only to avoid using negative numbers in the coordinates.



UTM_NORTHERN_LIMIT
final public static Measure<Integer, Angle> UTM_NORTHERN_LIMIT(Code)
The northern limit of the UTM grid. Beyond this limit the distortion introduced by the transverse Mercator projection is impractically large, and the UPS grid is used instead.



UTM_SCALE_FACTOR
final public static double UTM_SCALE_FACTOR(Code)
The UTM scale factor. This the exact scale factor only on a pair of lines lying either side of the central meridian, but the effect is to reduce overall distortion within the UTM zone to less than one part per thousand.



UTM_SOUTHERN_LIMIT
final public static Measure<Integer, Angle> UTM_SOUTHERN_LIMIT(Code)
The southern limit of the UTM grid. Beyond this limit the distortion introduced by the transverse Mercator projection is impractically large, and the UPS grid is used instead.



XML
final static XMLFormat<UTM> XML(Code)





Method Detail
copy
public UTM copy()(Code)



eastingValue
final public double eastingValue(Unit<Length> unit)(Code)
Returns the projected distance of the position from the central meridian.
Parameters:
  unit - the length unit of the easting to return. the easting stated in the specified unit.



getCentralMeridian
public static double getCentralMeridian(int longitudeZone, char latitudeZone)(Code)
Returns the central meridian (in radians) for the specified UTM/UPS zone.
Parameters:
  longitudeZone - The UTM/UPS longitude zone number.
Parameters:
  latitudeZone - The UTM/UPS latitude zone character. The central meridian for the specified zone.



getCoordinateReferenceSystem
public ProjectedCRS<UTM> getCoordinateReferenceSystem()(Code)



getDimension
public int getDimension()(Code)



getLatitudeZone
public static char getLatitudeZone(LatLong latLong)(Code)
Returns the UTM/UPS latitude zone identifier for the specified coordinates.
Parameters:
  latLong - The coordinates. the latitude zone character.



getLongitudeZone
public static int getLongitudeZone(LatLong latLong)(Code)
Returns the UTM/UPS longitude zone number for the specified coordinates.
Parameters:
  latLong - The coordinates. the longitude zone number.



getOrdinate
public double getOrdinate(int dimension) throws IndexOutOfBoundsException(Code)



isNorthPolar
public static boolean isNorthPolar(LatLong latLong)(Code)
Returns true if the position indicated by the coordinates is north of the northern limit of the UTM grid (84 degrees).
Parameters:
  latLong - The coordinates. True if the latitude is greater than 84 degrees.



isSouthPolar
public static boolean isSouthPolar(LatLong latLong)(Code)
Returns true if the position indicated by the coordinates is south of the southern limit of the UTM grid (-80 degrees).
Parameters:
  latLong - The coordinates. True if the latitude is less than -80 degrees.



latLongToUps
public static UTM latLongToUps(LatLong latLong, ReferenceEllipsoid ellipsoid)(Code)
Converts latitude/longitude coordinates to UPS coordinates based on the specified reference ellipsoid.
Parameters:
  latLong - The latitude/longitude coordinates.
Parameters:
  ellipsoid - The reference ellipsoid. The UPS coordinates.



latLongToUtm
public static UTM latLongToUtm(LatLong latLong, ReferenceEllipsoid ellipsoid)(Code)
Converts latitude/longitude coordinates to UTM coordinates based on the specified reference ellipsoid.
Parameters:
  latLong - The latitude/longitude coordinates.
Parameters:
  ellipsoid - The reference ellipsoid. The UTM coordinates.



latitudeZone
final public char latitudeZone()(Code)
Returns the latitude zone identifier. the latitude zone character.



longitudeZone
final public int longitudeZone()(Code)
Returns the longitude zone identifier. the longitude zone number.



northingValue
final public double northingValue(Unit<Length> unit)(Code)
Returns the projected distance of the point from the equator.
Parameters:
  unit - the length unit of the northing to return. the northing stated in the specified unit.



upsToLatLong
public static LatLong upsToLatLong(UTM ups, ReferenceEllipsoid ellipsoid)(Code)
Converts the UPS coordinates to latitude/longitude coordinates, based on the specified reference ellipsoid.
Parameters:
  ups - The UPS coordinates.
Parameters:
  ellipsoid - The reference ellipsoid. The latitude/longitude coordinates.



utmToLatLong
public static LatLong utmToLatLong(UTM utm, ReferenceEllipsoid ellipsoid)(Code)
Converts the UTM coordinates to latitude/longitude coordinates, based on the specified reference ellipsoid.
Parameters:
  utm - The UTM coordinates.
Parameters:
  ellipsoid - The reference ellipsoid. The latitude/longitude coordinates.



valueOf
public static UTM valueOf(int longitudeZone, char latitudeZone, double easting, double northing, Unit<Length> unit)(Code)
Returns the projected UTM position corresponding to the specified coordinates.
Parameters:
  longitudeZone - the longitude zone number.
Parameters:
  latitudeZone - the longitude zone character.
Parameters:
  easting - the easting value stated in the specified unit.
Parameters:
  northing - the northing value stated in the specified unit.
Parameters:
  unit - the easting/northing length unit. the corresponding surface position.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.