Constructor and Description |
---|
SHPFile2(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() |
Geometry |
getNullGeometry() |
String |
getSRSParameters() |
boolean |
isEditable() |
boolean |
isOpen() |
void |
open() |
void |
setUseNullGeometry(boolean useNullGeometry) |
public SHPFile2(SHPStoreParameters params)
public void setUseNullGeometry(boolean useNullGeometry)
setUseNullGeometry
in interface ISHPFile
public void close() throws CloseException
close
in interface ISHPFile
CloseException
public void open() throws DataException
open
in interface ISHPFile
DataException
public Envelope getFullExtent() throws ReadException
getFullExtent
in interface ISHPFile
ReadException
public boolean isEditable()
isEditable
in interface ISHPFile
public int getGeometryType() throws ReadException
getGeometryType
in interface ISHPFile
ReadException
public int getGeometrySubType() throws ReadException
getGeometrySubType
in interface ISHPFile
ReadException
public Geometry getNullGeometry() throws CreateGeometryException
CreateGeometryException
public Geometry getGeometry(long position) throws ReadException, CreateGeometryException
getGeometry
in interface ISHPFile
position
- ReadException
CreateGeometryException
public Envelope getBoundingBox(long featureIndex) throws ReadException, CreateEnvelopeException, CreateGeometryException
getBoundingBox
in interface ISHPFile
featureIndex
- ReadException
CreateEnvelopeException
CreateGeometryException
public String getSRSParameters()
getSRSParameters
in interface ISHPFile
public boolean canWriteGeometry(int gvSIGgeometryType)
canWriteGeometry
in interface ISHPFile