public abstract class WktGeometry
extends java.lang.Object
Constructor and Description |
---|
WktGeometry() |
Modifier and Type | Method and Description |
---|---|
static int |
fromSpatiaLiteBlob(java.lang.String name,
java.nio.ByteBuffer blob,
FeatureStyle style,
java.util.List<MapItem> retval)
Implementation from http://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html
|
static int |
fromSpatiaLiteBlobCollectionEntity(java.lang.String name,
java.nio.ByteBuffer blob,
FeatureStyle style,
int requiredClass,
java.util.List<MapItem> retval)
Implementation from http://www.gaia-gis.it/gaia-sins/BLOB-Geometry.html
|
static java.util.List<? extends WktGeometry> |
fromWkb(java.nio.ByteBuffer wkb)
Parses a well known binary geometry and creates a list of WktGeometry objects
|
static java.lang.String |
getUUID() |
static java.util.List<? extends WktGeometry> |
parse(java.lang.String text)
Parses a well known text geometry and creates a list of WktGeometry objects
|
void |
setName(java.lang.String name) |
void |
setStyle(FeatureStyle style) |
abstract void |
toMapItems(java.util.List<MapItem> items) |
public void setName(java.lang.String name)
public void setStyle(FeatureStyle style)
public static java.util.List<? extends WktGeometry> parse(java.lang.String text)
text
- the well known textpublic static java.util.List<? extends WktGeometry> fromWkb(java.nio.ByteBuffer wkb)
wkb
- the well known binarypublic static int fromSpatiaLiteBlob(java.lang.String name, java.nio.ByteBuffer blob, FeatureStyle style, java.util.List<MapItem> retval)
name
- the name of the spatial lite blobblob
- the blobstyle
- the styling for the blobretval
- the list of map items to returnpublic static int fromSpatiaLiteBlobCollectionEntity(java.lang.String name, java.nio.ByteBuffer blob, FeatureStyle style, int requiredClass, java.util.List<MapItem> retval)
name
- the name of the spatial lite blobblob
- the blobstyle
- the styling for the blobrequiredClass
- the classtype to restrict to.retval
- the list of map items to returnpublic abstract void toMapItems(java.util.List<MapItem> items)
public static java.lang.String getUUID()