public class GeometryMetaData extends Object
WKBReader| Modifier and Type | Field and Description |
|---|---|
int |
dimension
Geometry dimension 2 or 3
|
int |
geometryType
Geometry type code
|
boolean |
hasSRID
If SRID is available
|
boolean |
hasZ
If Z Component is available
|
int |
SRID
Projection code
|
| Modifier and Type | Method and Description |
|---|---|
static GeometryMetaData |
getMetaDataFromWKB(byte[] bytes)
Read the first bytes of Geometry WKB.
|
public final boolean hasSRID
public final boolean hasZ
public final int geometryType
public final int dimension
public final int SRID
public static GeometryMetaData getMetaDataFromWKB(byte[] bytes) throws IOException
bytes - WKB BytesIOException - If WKB meta is invalid (do not check the Geometry)Copyright © 2017 CNRS. All rights reserved.