public class GeoTools extends Object
Modifier and Type | Field and Description |
---|---|
private static com.vividsolutions.jts.geom.GeometryFactory |
geometryFactory |
static String |
wgs84Projection |
private static com.vividsolutions.jts.io.WKTReader |
wktReader |
Constructor and Description |
---|
GeoTools() |
Modifier and Type | Method and Description |
---|---|
static com.vividsolutions.jts.geom.Point |
pointWktToPoint(String pointWkt)
Wandelt einen WKT-Punkt in einen Punkt im Koordinatenformat [LAT, LONG]
|
static com.vividsolutions.jts.geom.Point |
transformPosition(com.vividsolutions.jts.geom.Point point,
String sourceProjection,
String targetProjection)
Sichere Tranformation eines Punktes von einer Projektion in eine andere.
|
public static final String wgs84Projection
private static com.vividsolutions.jts.geom.GeometryFactory geometryFactory
private static com.vividsolutions.jts.io.WKTReader wktReader
public static com.vividsolutions.jts.geom.Point pointWktToPoint(String pointWkt)
pointWkt
- WKT-Punktcom.vividsolutions.jts.io.ParseException
public static com.vividsolutions.jts.geom.Point transformPosition(com.vividsolutions.jts.geom.Point point, String sourceProjection, String targetProjection) throws org.opengis.referencing.FactoryException, org.opengis.geometry.MismatchedDimensionException, org.opengis.referencing.operation.TransformException
point
- mit Koordinatenformat [LAT, LONG]sourceProjection
- Name der QuellprojektiontargetProjection
- Name der Zielprojektionorg.opengis.referencing.FactoryException
org.opengis.geometry.MismatchedDimensionException
org.opengis.referencing.operation.TransformException
Copyright © 2019. All rights reserved.