Package org.geotools.data.ogr
Interface OGR
-
- All Known Implementing Classes:
JniOGR
public interface OGR
Encapsulates calls to the OGR library.- Author:
- Justin Deoliveira, OpenGeo
-
-
Method Summary
-
-
-
Method Detail
-
GetDriverCount
int GetDriverCount()
-
GetDriver
Object GetDriver(int i)
-
IsGEOSEnabled
boolean IsGEOSEnabled()
-
CheckError
void CheckError(int code) throws IOException
Checks the ogr error status code and throws java exceptions accordingly.- Parameters:
code
- The ogr error code.- Throws:
IOException
-
GetLastErrorMsg
String GetLastErrorMsg()
-
DriverCreateDataSource
Object DriverCreateDataSource(Object driver, String dataSourceName, String[] opts)
-
DriverRelease
void DriverRelease(Object driver)
-
DataSourceGetLayerCount
int DataSourceGetLayerCount(Object dataSource)
-
DataSourceRelease
void DataSourceRelease(Object dataSource)
-
DataSourceCreateLayer
Object DataSourceCreateLayer(Object dataSource, String name, Object spatialReference, long geomType, String[] opts)
-
DataSourceExecuteSQL
Object DataSourceExecuteSQL(Object dataSource, String sql, Object spatialFilter)
-
LayerGetFieldCount
int LayerGetFieldCount(Object layerDefn)
-
LayerGetGeometryType
long LayerGetGeometryType(Object layerDefn)
-
LayerGetFeatureCount
long LayerGetFeatureCount(Object layer)
-
LayerRelease
void LayerRelease(Object layer)
-
LayerReleaseLayerDefn
void LayerReleaseLayerDefn(Object layerDefn)
-
LayerCanDeleteFeature
boolean LayerCanDeleteFeature(Object layer)
-
LayerCanWriteRandom
boolean LayerCanWriteRandom(Object layer)
-
LayerCanWriteSequential
boolean LayerCanWriteSequential(Object layer)
-
LayerCanCreateField
boolean LayerCanCreateField(Object layer)
-
LayerCanIgnoreFields
boolean LayerCanIgnoreFields(Object layer)
-
LayerSyncToDisk
void LayerSyncToDisk(Object layer)
-
toEnvelope
ReferencedEnvelope toEnvelope(Object extent, CoordinateReferenceSystem crs)
-
LayerResetReading
void LayerResetReading(Object layer)
-
LayerDeleteFeature
boolean LayerDeleteFeature(Object layer, long fid)
-
FieldGetType
long FieldGetType(Object field)
-
FieldGetWidth
int FieldGetWidth(Object field)
-
FieldSetWidth
void FieldSetWidth(Object field, int width)
-
FieldSetJustifyRight
void FieldSetJustifyRight(Object field)
-
FieldSetPrecision
void FieldSetPrecision(Object field, int precision)
-
FieldIsIntegerType
boolean FieldIsIntegerType(long type)
-
FieldIsRealType
boolean FieldIsRealType(long type)
-
FieldIsBinaryType
boolean FieldIsBinaryType(long type)
-
FieldIsDateType
boolean FieldIsDateType(long type)
-
FieldIsTimeType
boolean FieldIsTimeType(long type)
-
FieldIsDateTimeType
boolean FieldIsDateTimeType(long type)
-
FieldIsIntegerListType
boolean FieldIsIntegerListType(long type)
-
FieldIsRealListType
boolean FieldIsRealListType(long type)
-
FeatureGetFID
long FeatureGetFID(Object feature)
-
FeatureIsFieldSet
boolean FeatureIsFieldSet(Object feature, int i)
-
FeatureUnsetField
void FeatureUnsetField(Object feature, int i)
-
FeatureSetFieldInteger
void FeatureSetFieldInteger(Object feature, int field, int value)
-
FeatureSetFieldDouble
void FeatureSetFieldDouble(Object feature, int field, double value)
-
FeatureSetFieldBinary
void FeatureSetFieldBinary(Object feature, int field, int length, byte[] value)
-
FeatureSetFieldDateTime
void FeatureSetFieldDateTime(Object feature, int field, int year, int month, int day, int hour, int minute, int second, int tz)
-
FeatureGetFieldAsInteger
int FeatureGetFieldAsInteger(Object feature, int i)
-
FeatureGetFieldAsDouble
double FeatureGetFieldAsDouble(Object feature, int i)
-
FeatureGetFieldAsDateTime
void FeatureGetFieldAsDateTime(Object feature, int i, int[] year, int[] month, int[] day, int[] hour, int[] minute, int[] second, int[] tzFlag)
-
FeatureDestroy
void FeatureDestroy(Object feature)
-
GetPointType
long GetPointType()
-
GetPoint25DType
long GetPoint25DType()
-
GetLinearRingType
long GetLinearRingType()
-
GetLineStringType
long GetLineStringType()
-
GetLineString25DType
long GetLineString25DType()
-
GetPolygonType
long GetPolygonType()
-
GetPolygon25DType
long GetPolygon25DType()
-
GetMultiPointType
long GetMultiPointType()
-
GetMultiLineStringType
long GetMultiLineStringType()
-
GetMultiLineString25DType
long GetMultiLineString25DType()
-
GetMultiPolygonType
long GetMultiPolygonType()
-
GetMultiPolygon25DType
long GetMultiPolygon25DType()
-
GetGeometryCollectionType
long GetGeometryCollectionType()
-
GetGeometryCollection25DType
long GetGeometryCollection25DType()
-
GetGeometryNoneType
long GetGeometryNoneType()
-
GetGeometryUnknownType
long GetGeometryUnknownType()
-
GeometryGetWkbSize
int GeometryGetWkbSize(Object geom)
-
GeometryExportToWkb
int GeometryExportToWkb(Object geom, byte[] wkb)
-
GeometryCreateFromWkb
Object GeometryCreateFromWkb(byte[] wkb, int[] ret)
-
GeometryDestroy
void GeometryDestroy(Object geometry)
-
SpatialRefRelease
void SpatialRefRelease(Object spatialRef)
-
-