Package com.massifmaps.projections
Class EPSG4326
java.lang.Object
com.massifmaps.projections.Projection
com.massifmaps.projections.EPSG4326
EPSG:4326 is a projection coordinate system that uses WGS84 coordinates (longitude/latitude).
Z-coordinate denotes height in meters.
Z-coordinate denotes height in meters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTransforms a position from the WGS84 coordinate system to the coordinate system of this projection.getName()Return name of this projection in Well-Known format.Transforms a position from the coordinate system of this projection to the WGS84 coordinate system.Methods inherited from class com.massifmaps.projections.Projection
equals, fromLatLong, getBounds, hashCode, toLatLong
-
Constructor Details
-
EPSG4326
public EPSG4326()
-
-
Method Details
-
fromWgs84
Description copied from class:ProjectionTransforms a position from the WGS84 coordinate system to the coordinate system of this projection.- Overrides:
fromWgs84in classProjection- Parameters:
wgs84Pos- The position in the WGS84 coordinate system. It should be encoded as longitude-latitude.- Returns:
- The transformed position in the coordinate system of this projection.
-
toWgs84
Description copied from class:ProjectionTransforms a position from the coordinate system of this projection to the WGS84 coordinate system.- Overrides:
toWgs84in classProjection- Parameters:
mapPos- The position in the coordinate system of this projection.- Returns:
- The transformed position in the WGS84 coordinate system. It is given as longitude-latitude.
-
getName
Description copied from class:ProjectionReturn name of this projection in Well-Known format. For example, as "EPSG:3857"- Overrides:
getNamein classProjection- Returns:
- The name of this projection.
-