Package com.gaia3d.terrain.util
Class GaiaGeoTiffUtils
java.lang.Object
com.gaia3d.terrain.util.GaiaGeoTiffUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgetEnvelopeSpanInMetersOfGridCoverage2D(org.geotools.coverage.grid.GridCoverage2D coverage, double[] resultEnvelopeSpanMeters) static GeographicExtensiongetGeographicExtension(org.geotools.coverage.grid.GridCoverage2D coverage, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs, GeographicExtension resultGeoExtension) static GeographicExtensiongetGeographicExtension_original(org.geotools.coverage.grid.GridCoverage2D coverage, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs, GeographicExtension resultGeoExtension) static GeographicExtensiongetGeographicExtension_v2(org.geotools.coverage.grid.GridCoverage2D coverage, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs, GeographicExtension resultGeoExtension) static org.joml.Vector2dgetLongitudeLatitudeDegree(org.geotools.coverage.grid.GridCoverage2D coverage, int coordX, int coordY, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs) static org.joml.Vector2dgetPixelSizeMeters(org.geotools.coverage.grid.GridCoverage2D coverage) static booleanisGridCoverage2DWGS84(org.geotools.coverage.grid.GridCoverage2D coverage)
-
Constructor Details
-
GaiaGeoTiffUtils
public GaiaGeoTiffUtils()
-
-
Method Details
-
getLongitudeLatitudeDegree
public static org.joml.Vector2d getLongitudeLatitudeDegree(org.geotools.coverage.grid.GridCoverage2D coverage, int coordX, int coordY, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs) throws org.opengis.referencing.operation.TransformException - Throws:
org.opengis.referencing.operation.TransformException
-
isGridCoverage2DWGS84
public static boolean isGridCoverage2DWGS84(org.geotools.coverage.grid.GridCoverage2D coverage) throws org.opengis.referencing.FactoryException - Throws:
org.opengis.referencing.FactoryException
-
getEnvelopeSpanInMetersOfGridCoverage2D
public static void getEnvelopeSpanInMetersOfGridCoverage2D(org.geotools.coverage.grid.GridCoverage2D coverage, double[] resultEnvelopeSpanMeters) throws org.opengis.referencing.FactoryException - Throws:
org.opengis.referencing.FactoryException
-
getPixelSizeMeters
public static org.joml.Vector2d getPixelSizeMeters(org.geotools.coverage.grid.GridCoverage2D coverage) throws org.opengis.referencing.FactoryException - Throws:
org.opengis.referencing.FactoryException
-
getGeographicExtension
public static GeographicExtension getGeographicExtension(org.geotools.coverage.grid.GridCoverage2D coverage, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs, GeographicExtension resultGeoExtension) throws org.opengis.referencing.operation.TransformException - Throws:
org.opengis.referencing.operation.TransformException
-
getGeographicExtension_original
public static GeographicExtension getGeographicExtension_original(org.geotools.coverage.grid.GridCoverage2D coverage, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs, GeographicExtension resultGeoExtension) throws org.opengis.referencing.operation.TransformException - Throws:
org.opengis.referencing.operation.TransformException
-
getGeographicExtension_v2
public static GeographicExtension getGeographicExtension_v2(org.geotools.coverage.grid.GridCoverage2D coverage, org.locationtech.jts.geom.GeometryFactory gf, org.opengis.referencing.operation.MathTransform targetToWgs, GeographicExtension resultGeoExtension) throws org.opengis.referencing.operation.TransformException - Throws:
org.opengis.referencing.operation.TransformException
-