Interface ISHPFile
public interface ISHPFile
- Author:
- jjdelcerro
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanWriteGeometry(int gvSIGgeometryType) voidclose()org.gvsig.fmap.geom.primitive.EnvelopegetBoundingBox(long featureIndex) Gets the geometry bbox with the index provided.org.gvsig.fmap.geom.primitive.Envelopeorg.gvsig.fmap.geom.GeometrygetGeometry(long position) Gets the geometry with the index provided.intintbooleanbooleanisOpen()voidopen()voidsetUseNullGeometry(boolean useNullGeometry)
-
Method Details
-
canWriteGeometry
boolean canWriteGeometry(int gvSIGgeometryType) -
close
void close() throws org.gvsig.fmap.dal.exception.CloseException- Throws:
org.gvsig.fmap.dal.exception.CloseException
-
getBoundingBox
org.gvsig.fmap.geom.primitive.Envelope getBoundingBox(long featureIndex) throws org.gvsig.fmap.dal.exception.ReadException, org.gvsig.fmap.geom.exception.CreateEnvelopeException, org.gvsig.fmap.geom.exception.CreateGeometryException Gets the geometry bbox with the index provided. Set to synchronized to prevent concurrent threads issue (?)- Parameters:
featureIndex-- Returns:
- Throws:
org.gvsig.fmap.dal.exception.ReadExceptionorg.gvsig.fmap.geom.exception.CreateEnvelopeExceptionorg.gvsig.fmap.geom.exception.CreateGeometryException
-
getFullExtent
org.gvsig.fmap.geom.primitive.Envelope getFullExtent() throws org.gvsig.fmap.dal.exception.ReadException- Throws:
org.gvsig.fmap.dal.exception.ReadException
-
getGeometry
org.gvsig.fmap.geom.Geometry getGeometry(long position) throws org.gvsig.fmap.dal.exception.ReadException, org.gvsig.fmap.geom.exception.CreateGeometryException Gets the geometry with the index provided. Set to synchronized to prevent concurrent threads issue (?)- Parameters:
position-- Returns:
- Throws:
org.gvsig.fmap.dal.exception.ReadExceptionorg.gvsig.fmap.geom.exception.CreateGeometryException
-
getGeometrySubType
int getGeometrySubType() throws org.gvsig.fmap.dal.exception.ReadException- Throws:
org.gvsig.fmap.dal.exception.ReadException
-
getGeometryType
int getGeometryType() throws org.gvsig.fmap.dal.exception.ReadException- Throws:
org.gvsig.fmap.dal.exception.ReadException
-
getSRSParameters
String getSRSParameters()- Returns:
-
isEditable
boolean isEditable() -
isOpen
boolean isOpen() -
open
void open() throws org.gvsig.fmap.dal.exception.DataException- Throws:
org.gvsig.fmap.dal.exception.DataException
-
setUseNullGeometry
void setUseNullGeometry(boolean useNullGeometry)
-