public class CRSConversion extends Object
Constructor and Description |
---|
CRSConversion() |
Modifier and Type | Method and Description |
---|---|
static IGeometry |
changeCRS(Geometry geom,
CoordinateReferenceSystem crs1,
CoordinateReferenceSystem crs2) |
static IGeometry |
changeCRS(Geometry geom,
String epsg1,
String epsg2,
boolean projected1,
boolean projected2) |
static IGeometry |
changeCRS(IGeometry geom,
CoordinateReferenceSystem crs1,
CoordinateReferenceSystem crs2) |
static IGeometry |
changeCRS(IGeometry geom,
String epsg1,
String epsg2,
boolean projected1,
boolean projected2) |
static IGeometry |
changeCRSToUTM31N(Geometry geom) |
static String |
getEPSGFromUTMZone(String zone)
Get the EPSG code for the WGS84/UTM zone projection given in a String
format like '25S' or '6N'.
|
static IDirectPosition |
wgs84ToLambert93(double latitude,
double longitude)
Converts a position in WGS84 geographic coordinates into a Lambert 93
position.
|
public static IGeometry changeCRS(IGeometry geom, CoordinateReferenceSystem crs1, CoordinateReferenceSystem crs2) throws Exception
Exception
public static IGeometry changeCRS(Geometry geom, CoordinateReferenceSystem crs1, CoordinateReferenceSystem crs2) throws Exception
Exception
public static IGeometry changeCRS(IGeometry geom, String epsg1, String epsg2, boolean projected1, boolean projected2) throws Exception
Exception
public static IGeometry changeCRS(Geometry geom, String epsg1, String epsg2, boolean projected1, boolean projected2) throws Exception
Exception
public static IGeometry changeCRSToUTM31N(Geometry geom) throws Exception
Exception
public static String getEPSGFromUTMZone(String zone)
zone
- public static IDirectPosition wgs84ToLambert93(double latitude, double longitude)
latitude
- longitude
- Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.