public class KMLGeometry extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
appendKMLCoordinates(org.locationtech.jts.geom.Coordinate[] coords,
StringBuilder sb)
Build a string represention to kml coordinates
Syntax :
|
static void |
toKMLGeometry(org.locationtech.jts.geom.Geometry geometry,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
Convert JTS geometry to a kml geometry representation.
|
static void |
toKMLGeometry(org.locationtech.jts.geom.Geometry geom,
StringBuilder sb)
Convert JTS geometry to a kml geometry representation.
|
static void |
toKMLLinearRing(org.locationtech.jts.geom.LineString lineString,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
Defines a closed line string, typically the outer boundary of a Polygon.
|
static void |
toKMLLineString(org.locationtech.jts.geom.LineString lineString,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
Defines a connected set of line segments.
|
static void |
toKMLMultiGeometry(org.locationtech.jts.geom.GeometryCollection gc,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
A container for zero or more geometry primitives associated with the same
feature.
|
static void |
toKMLPoint(org.locationtech.jts.geom.Point point,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
A geographic location defined by longitude, latitude, and (optional)
altitude.
|
static void |
toKMLPolygon(org.locationtech.jts.geom.Polygon polygon,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
A Polygon is defined by an outer boundary and 0 or more inner boundaries.
|
public static void toKMLGeometry(org.locationtech.jts.geom.Geometry geom,
StringBuilder sb)
throws SQLException
geom - sb - SQLExceptionpublic static void toKMLGeometry(org.locationtech.jts.geom.Geometry geometry,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
throws SQLException
geometry - extrude - altitudeModeEnum - sb - SQLExceptionpublic static void toKMLPoint(org.locationtech.jts.geom.Point point,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
point - extrude - altitudeModeEnum - public static void toKMLLineString(org.locationtech.jts.geom.LineString lineString,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
lineString - public static void toKMLLinearRing(org.locationtech.jts.geom.LineString lineString,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
lineString - public static void toKMLPolygon(org.locationtech.jts.geom.Polygon polygon,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
polygon - public static void toKMLMultiGeometry(org.locationtech.jts.geom.GeometryCollection gc,
ExtrudeMode extrude,
int altitudeModeEnum,
StringBuilder sb)
gc - public static void appendKMLCoordinates(org.locationtech.jts.geom.Coordinate[] coords,
StringBuilder sb)
coords - Copyright © 2019 CNRS. All rights reserved.