Class MetacardToKml

java.lang.Object
org.codice.ddf.spatial.kml.converter.MetacardToKml

public class MetacardToKml extends Object
  • 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