Class WGS84_CoordinatesConverter
- java.lang.Object
-
- org.gcube.application.geoportaldatamapper.exporter.gis.WGS84_CoordinatesConverter
-
public class WGS84_CoordinatesConverter extends Object
The Class WGS84_CoordinatesConverter.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Dec 18, 2023
-
-
Constructor Summary
Constructors Constructor Description WGS84_CoordinatesConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArrayList<Double>diffBBOX(String bbox)Diff BBOX.static List<Double>to4326(List<Double> coordinates)From 3857 To 4326.static List<Double>toEpsg3857(List<Double> coordinates)From 4326 To epsg 3857.static List<Double>toEPSG3857_BBOX(String bbox)From 4326 To EPSG 3857 BBOX.static List<Double>toEPSG4326_BBOX(String bbox)From 3857 To EPSG 4326 BBOX.static StringtoString(List<Double> bbox)To string.
-
-
-
Method Detail
-
toEpsg3857
public static List<Double> toEpsg3857(List<Double> coordinates)
From 4326 To epsg 3857.- Parameters:
coordinates- the coordinates as long/lat- Returns:
- the list
-
to4326
public static List<Double> to4326(List<Double> coordinates)
From 3857 To 4326.- Parameters:
coordinates- the coordinates as long/lat- Returns:
- the list
-
toEPSG3857_BBOX
public static List<Double> toEPSG3857_BBOX(String bbox)
From 4326 To EPSG 3857 BBOX.- Parameters:
bbox- the bbox- Returns:
- the list
-
toString
public static String toString(List<Double> bbox)
To string.- Parameters:
bbox- the bbox- Returns:
- the string
-
toEPSG4326_BBOX
public static List<Double> toEPSG4326_BBOX(String bbox)
From 3857 To EPSG 4326 BBOX.- Parameters:
bbox- the bbox- Returns:
- the list
-
-