public class KMLConversion
extends java.lang.Object
| Constructor and Description | 
|---|
| KMLConversion() | 
| Modifier and Type | Method and Description | 
|---|---|
| static MapItem | toMapItem(Placemark placemark,
         GeoPointMetaData[] ptArray,
         Style style)Given a placemark, point array and style - turn it into a MapItem. | 
| static MapItem | toMapItem(Placemark placemark,
         LinearRing linearRing,
         Style style) | 
| static MapItem[] | toMapItems(Placemark placemark)Placemark | 
| static MapItem[] | toMapItems(Placemark placemark,
          LinearRing linearRing,
          Style style)LinearRing | 
| static MapItem[] | toMapItems(Placemark placemark,
          LineString lineString,
          Style style)LineString | 
| static MapItem[] | toMapItems(Placemark placemark,
          MultiGeometry multiGeom,
          Style style)MultiGeometry | 
| static MapItem[] | toMapItems(Placemark placemark,
          Point point,
          Style style)Point | 
| static MapItem[] | toMapItems(Placemark placemark,
          Polygon polygon,
          Style style)Polygon | 
| static java.lang.String | toSpatialiteString(Geometry geometry)Convert KML Geometry to a basic (stripped down) KML string for Spatialite implements old code
 from these methods: removeAllChildElementsExceptCoordinates xmlElemToString | 
| static java.lang.String | toSpatialiteString(Style style,
                  Serializer serializer)Convert KML Style to a basic (stripped down) KML string for Spatialite Clear "id" attribute
 and "gx" extensions (on LineStyle) | 
| static java.lang.String | toString(Coordinates coordinates,
        boolean bCloseShape)Conversion to String | 
public static MapItem[] toMapItems(Placemark placemark)
public static MapItem[] toMapItems(Placemark placemark, Point point, Style style)
public static MapItem[] toMapItems(Placemark placemark, LineString lineString, Style style)
public static MapItem[] toMapItems(Placemark placemark, LinearRing linearRing, Style style)
public static MapItem toMapItem(Placemark placemark, LinearRing linearRing, Style style)
public static MapItem toMapItem(Placemark placemark, GeoPointMetaData[] ptArray, Style style)
placemark - the KML PlacemarkptArray - the point arraystyle - the stylepublic static MapItem[] toMapItems(Placemark placemark, Polygon polygon, Style style)
public static MapItem[] toMapItems(Placemark placemark, MultiGeometry multiGeom, Style style)
public static java.lang.String toSpatialiteString(Style style,
                                                  Serializer serializer)
style - the kml style to turn into a stringpublic static java.lang.String toSpatialiteString(Geometry geometry)
geometry - the geometry to convert into a spatial lite string.public static java.lang.String toString(Coordinates coordinates,
                                        boolean bCloseShape)
                                 throws java.io.IOException
java.io.IOException