Class KmlTransformations

java.lang.Object
org.codice.ddf.spatial.kml.util.KmlTransformations

public class KmlTransformations extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static de.micromata.opengis.kml.v_2_2_0.Document
    encloseDoc(de.micromata.opengis.kml.v_2_2_0.Placemark placemark, de.micromata.opengis.kml.v_2_2_0.Style style, String documentId, String docName)
    Encapsulate the kml content (placemarks, etc.) with a style in a KML Document element.
    static de.micromata.opengis.kml.v_2_2_0.Kml
    encloseKml(de.micromata.opengis.kml.v_2_2_0.Document doc, String docId, String docName)
    Wrap KML document with the opening and closing kml tags

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • encloseKml

      public static de.micromata.opengis.kml.v_2_2_0.Kml encloseKml(de.micromata.opengis.kml.v_2_2_0.Document doc, String docId, String docName)
      Wrap KML document with the opening and closing kml tags
      Parameters:
      document -
      folderId - which should be the subscription id if it exists
      Returns:
      completed KML
    • encloseDoc

      public static de.micromata.opengis.kml.v_2_2_0.Document encloseDoc(de.micromata.opengis.kml.v_2_2_0.Placemark placemark, de.micromata.opengis.kml.v_2_2_0.Style style, String documentId, String docName)
      Encapsulate the kml content (placemarks, etc.) with a style in a KML Document element. If either content or style are not null, they will be in the resulting Document
      Parameters:
      kml -
      style -
      documentId - which should be the metacard id
      Returns:
      KML DocumentType element with style and content