Class MetacardToKml
java.lang.Object
org.codice.ddf.spatial.kml.converter.MetacardToKml
-
Method Summary
Modifier and TypeMethodDescriptionstatic de.micromata.opengis.kml.v_2_2_0.GeometryaddJtsGeoPointsToKmlGeo(org.locationtech.jts.geom.Geometry jtsGeo, de.micromata.opengis.kml.v_2_2_0.Geometry kmlGeo) static org.locationtech.jts.geom.GeometrygetJtsGeoFromWkt(String wkt) static de.micromata.opengis.kml.v_2_2_0.GeometrygetKmlGeoFromJtsGeo(org.locationtech.jts.geom.Geometry jtsGeometry) static de.micromata.opengis.kml.v_2_2_0.GeometrygetKmlGeoFromWkt(String wkt) Convert wkt string into JTS Geometry and then from JTS to KML Geo.
-
Method Details
-
getKmlGeoFromWkt
public static de.micromata.opengis.kml.v_2_2_0.Geometry getKmlGeoFromWkt(String wkt) throws ddf.catalog.transform.CatalogTransformerException Convert wkt string into JTS Geometry and then from JTS to KML Geo.- Parameters:
wkt-- Returns:
- Throws:
ddf.catalog.transform.CatalogTransformerException
-
addJtsGeoPointsToKmlGeo
public static de.micromata.opengis.kml.v_2_2_0.Geometry addJtsGeoPointsToKmlGeo(org.locationtech.jts.geom.Geometry jtsGeo, de.micromata.opengis.kml.v_2_2_0.Geometry kmlGeo) -
getKmlGeoFromJtsGeo
public static de.micromata.opengis.kml.v_2_2_0.Geometry getKmlGeoFromJtsGeo(org.locationtech.jts.geom.Geometry jtsGeometry) throws ddf.catalog.transform.CatalogTransformerException - Throws:
ddf.catalog.transform.CatalogTransformerException
-
getJtsGeoFromWkt
public static org.locationtech.jts.geom.Geometry getJtsGeoFromWkt(@Nullable String wkt) throws ddf.catalog.transform.CatalogTransformerException - Throws:
ddf.catalog.transform.CatalogTransformerException
-