|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.prodevelop.geodetic.utils.conversion.ConversionCoords
Uyility class to perform conversions between reference systems.
Elipsoide
,
GeoUtils
Field Summary | |
static double |
DEGREES_PER_RADIAN
|
Method Summary | |
double |
dist2gra(double lon,
double lat,
double dist,
Elipsoide elip)
IMPRECISA Este método calcula un segundo punto a partir de un punto inicial y una distancia. |
static double |
distanciaProj(double lon1,
double lat1,
double lon2,
double lat2,
Elipsoide elip)
This method calculates the projected distance between two points in geodetic coordinates |
static double[] |
geo2mercator(double lon,
double lat,
Elipsoide elip)
Converts the given coordinates into the mercator projection |
static double[] |
geo2utm(double lon,
double lat,
Elipsoide elip)
This method makes the conversion between geodesic coordinates to projected coordinates in UTM |
static double[] |
geo2utm(double lon,
double lat,
Elipsoide elip,
int husoforced)
This method makes the conversion between geodesic coordinates to projected coordinates in a UTM zone forced |
static double[] |
newgeo2mercator(double lon,
double lat)
Converts the given coordinates into the Mercator projection (whole world) |
static double[] |
PIGbsl(double lon1_,
double lat1_,
double lon2_,
double lat2_,
Elipsoide elip)
|
static double[] |
PIGbsl(double lon1_,
double lat1_,
double lon2_,
double lat2_,
Elipsoide elip,
double threshold)
geodetic Direct Problem. |
static double[] |
transEd50Wgs84(double lon,
double lat)
This method makes the coordinates transformation between the ED50 elipsoide to WGS84. |
static double[] |
transWgs84Ed50(double lon,
double lat)
This method makes the coordinates transformation between the WGS84 elipsoide to ED50. |
double[] |
utm2geo(double x,
double y,
double huso,
Elipsoide elip)
This method makes the projected coordinates conversion in UTM to geodetic coordenates in the north hemisfery |
static double[] |
utm2geo(double x,
double y,
double huso,
Elipsoide elip,
int hemisfery)
This method makes the projected coordinates conversion in UTM to geodetic coordenates |
static double[] |
wgs842projection(double lon,
double lat,
IProjection p)
Converts the given WGS84 coordinates into the specified projection |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final double DEGREES_PER_RADIAN
Method Detail |
public static double[] geo2utm(double lon, double lat, Elipsoide elip, int husoforced)
lon
- Geodesic longitude in decimals deegrees of the pointlat
- Geodesic latitude in decimals deegrees of the pointhusoforced
- UTM Zone forced
public static double[] geo2utm(double lon, double lat, Elipsoide elip)
lon
- Geodesic longitude in decimals deegrees of the pointlat
- Geodesic latitude in decimals deegrees of the point
public double[] utm2geo(double x, double y, double huso, Elipsoide elip)
x
- (Coordinate X UTM)y
- (Coordinate Y UTM)huso
- (Zone of the UTM projection system)
public static double[] utm2geo(double x, double y, double huso, Elipsoide elip, int hemisfery)
x
- (Coordinate X UTM)y
- (Coordinate Y UTM)huso
- (Zone of the UTM projection sistem)hemisfery
- (North = 1; South = -1)
public static double distanciaProj(double lon1, double lat1, double lon2, double lat2, Elipsoide elip)
lon1
- geodetic logitude in decimal deegrees of the initial point in WGS84lat1
- geodetic latitude in decimal deegrees of the initial point in WGS84lon2
- geodetic logitude in decimal deegrees of the final point in WGS84lat2
- geodetic latitude in decimal deegrees of the final point in WGS84
public double dist2gra(double lon, double lat, double dist, Elipsoide elip)
lon
- geodetic logitude geodetic en grados decimales del punto origen en WGS84lat
- Latitude geodetic en grados decimales del punto origen en WGS84dist
- Distance in metres
public static double[] transEd50Wgs84(double lon, double lat)
lon
- longitudelat
- latitude
public static double[] transWgs84Ed50(double lon, double lat)
lon
- longitudelat
- latitude
public static double[] PIGbsl(double lon1_, double lat1_, double lon2_, double lat2_, Elipsoide elip) throws java.lang.Exception
java.lang.Exception
public static double[] PIGbsl(double lon1_, double lat1_, double lon2_, double lat2_, Elipsoide elip, double threshold) throws java.lang.Exception
lon1_
- longitude of the initial pointlat1_
- latitude of the initial pointlon2_
- longitude of the final pointlat2_
- latitude of the final pointelip
- Elipsoide
java.lang.Exception
public static double[] geo2mercator(double lon, double lat, Elipsoide elip)
lon
- longitudelat
- latitudeelip
- the ellipsoid
public static double[] newgeo2mercator(double lon, double lat)
lon
- longitudelat
- latitude
public static double[] wgs842projection(double lon, double lat, IProjection p)
lon
- longitudelat
- latitudep
- the output projection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |