|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.io.sde.SdeReader
Reads a Geometry
from an ESRI SDE Shape.
The SDE geometry model differs from the OGC model used by JTS. In particular:
LineString
s
This class allows specifying the maximum number of coordinate dimensions to read. If dimensions higher than 2 are not required, it may be more efficient to not read them.
To use this class the ESRI SDE Java libraries must be present.
Currently reading measure (M) ordinates is not supported.
Constructor Summary | |
SdeReader()
Creates a reader that creates geometries using the default GeometryFactory . |
|
SdeReader(GeometryFactory geometryFactory)
Creates a reader that creates geometries using the given GeometryFactory . |
Method Summary | |
int |
getDimension()
Gets the maximum number of coordinate dimensions which will be read. |
Geometry |
read(com.esri.sde.sdk.client.SeShape shape)
Reads a Geometry from a given SDE shape. |
void |
setDimension(int dimension)
Sets the maximum number of coordinate dimensions to read. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SdeReader()
GeometryFactory
.
public SdeReader(GeometryFactory geometryFactory)
GeometryFactory
.
geometryFactory
- Method Detail |
public int getDimension()
public void setDimension(int dimension)
The default is to read only the X and Y ordinates (dimension = 2).
dimension
- the dimension to readpublic Geometry read(com.esri.sde.sdk.client.SeShape shape) throws com.esri.sde.sdk.client.SeException
Geometry
from a given SDE shape.
shape
- the shape to read
com.esri.sde.sdk.client.SeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |