| Constructor and Description |
|---|
GeometryTransformer(String srcCrs,
String targetCrs) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCodeWithAuthority(String code) |
org.locationtech.jts.geom.GeometryFactory |
getGeometryFactory() |
int |
getSrid(String code)
srid from the passed crs
|
org.locationtech.jts.geom.Geometry |
transform(org.locationtech.jts.geom.Geometry geometryToTransform) |
org.locationtech.jts.geom.Geometry |
transform(org.locationtech.jts.geom.GeometryCollection geometryToTransform) |
org.locationtech.jts.geom.LineString |
transform(org.locationtech.jts.geom.LineString geometryToTransform) |
org.locationtech.jts.geom.MultiLineString |
transform(org.locationtech.jts.geom.MultiLineString geometryToTransform) |
org.locationtech.jts.geom.MultiPoint |
transform(org.locationtech.jts.geom.MultiPoint geometryToTransform) |
org.locationtech.jts.geom.MultiPolygon |
transform(org.locationtech.jts.geom.MultiPolygon geometryToTransform) |
org.locationtech.jts.geom.Point |
transform(org.locationtech.jts.geom.Point geometryToTransform) |
org.locationtech.jts.geom.Polygon |
transform(org.locationtech.jts.geom.Polygon geometryToTransform) |
public org.locationtech.jts.geom.Geometry transform(org.locationtech.jts.geom.Geometry geometryToTransform)
public org.locationtech.jts.geom.Point transform(org.locationtech.jts.geom.Point geometryToTransform)
public org.locationtech.jts.geom.LineString transform(org.locationtech.jts.geom.LineString geometryToTransform)
public org.locationtech.jts.geom.Polygon transform(org.locationtech.jts.geom.Polygon geometryToTransform)
public org.locationtech.jts.geom.Geometry transform(org.locationtech.jts.geom.GeometryCollection geometryToTransform)
public org.locationtech.jts.geom.MultiPoint transform(org.locationtech.jts.geom.MultiPoint geometryToTransform)
public org.locationtech.jts.geom.MultiLineString transform(org.locationtech.jts.geom.MultiLineString geometryToTransform)
public org.locationtech.jts.geom.MultiPolygon transform(org.locationtech.jts.geom.MultiPolygon geometryToTransform)
public int getSrid(String code)
code - nullUnknownCrsException - if the srid could not be parsedpublic String getCodeWithAuthority(String code)
code - nullUnknownCrsException - if the crs is not a OGC URN (starting with urn:ogc:def:crs:epsg) or OGC http-URIs (starting with
http://www.opengis.net/def/crs/epsg) with EPSG auhoritypublic org.locationtech.jts.geom.GeometryFactory getGeometryFactory()
Copyright © 2023 Open Geospatial Consortium. All rights reserved.