public class OSMToKML
extends java.lang.Object
Constructor and Description |
---|
OSMToKML() |
Modifier and Type | Method and Description |
---|---|
static void |
geometryToKML(java.lang.StringBuilder str,
Geometry geom) |
static java.lang.String |
getStyle(OSMPolygon polygon)
Returns the style name that should be used to draw the given object.
|
static void |
main(java.lang.String[] args) |
static java.lang.String |
OSMtoKMLElement(OSMPolygon osm)
Returns a KML representation of this object.
|
static void |
writeAllStyles(java.io.PrintWriter out) |
public static java.lang.String getStyle(OSMPolygon polygon)
polygon
- public static void writeAllStyles(java.io.PrintWriter out)
public static void geometryToKML(java.lang.StringBuilder str, Geometry geom)
public static java.lang.String OSMtoKMLElement(OSMPolygon osm)
public static void main(java.lang.String[] args) throws java.io.IOException
args
- java.io.IOException