| Constructor and Description |
|---|
SHPFile(SHPStoreParameters params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWriteGeometry(int gvSIGgeometryType) |
void |
close() |
Envelope |
getBoundingBox(long featureIndex)
Gets the geometry bbox with the index provided.
|
Envelope |
getFullExtent() |
Geometry |
getGeometry(long position)
Gets the geometry with the index provided.
|
int |
getGeometrySubType() |
int |
getGeometryType() |
java.lang.String |
getSRSParameters() |
boolean |
isEditable() |
boolean |
isOpen() |
void |
open() |
void |
setUseNullGeometry(boolean useNullGeometry) |
public SHPFile(SHPStoreParameters params)
public void setUseNullGeometry(boolean useNullGeometry)
setUseNullGeometry in interface ISHPFilepublic void close()
throws CloseException
close in interface ISHPFileCloseExceptionpublic void open()
throws DataException
open in interface ISHPFileDataExceptionpublic Envelope getFullExtent() throws ReadException
getFullExtent in interface ISHPFileReadExceptionpublic boolean isEditable()
isEditable in interface ISHPFilepublic int getGeometryType()
throws ReadException
getGeometryType in interface ISHPFileReadExceptionpublic int getGeometrySubType()
throws ReadException
getGeometrySubType in interface ISHPFileReadExceptionpublic Geometry getGeometry(long position) throws ReadException, CreateGeometryException
getGeometry in interface ISHPFileposition - ReadExceptionCreateGeometryExceptionpublic Envelope getBoundingBox(long featureIndex) throws ReadException, CreateEnvelopeException, CreateGeometryException
getBoundingBox in interface ISHPFilefeatureIndex - ReadExceptionCreateEnvelopeExceptionCreateGeometryExceptionpublic java.lang.String getSRSParameters()
getSRSParameters in interface ISHPFilepublic boolean canWriteGeometry(int gvSIGgeometryType)
canWriteGeometry in interface ISHPFile