Package org.geotools.data.ogr.jni
Class JniOGR
Object
JniOGR
- All Implemented Interfaces:
- OGR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidCheckError(int code) Checks the ogr error status code and throws java exceptions accordingly.CreateBinaryField(String name) CreateDateField(String name) CreateDateTimeField(String name) CreateIntegerField(String name) CreateRealField(String name) CreateStringField(String name) CreateTimeField(String name) DataSourceCreateLayer(Object dataSource, String name, Object srs, long geomType, String[] opts) DataSourceExecuteSQL(Object dataSource, String sql, Object spatialFilter) DataSourceGetDriver(Object dataSource) DataSourceGetLayer(Object dataSource, int i) DataSourceGetLayerByName(Object dataSource, String name) intDataSourceGetLayerCount(Object dataSource) voidDataSourceRelease(Object dataSource) DriverCreateDataSource(Object driver, String dataSourceName, String[] opts) DriverGetName(Object driver) DriverOpen(Object driver, String dataSourceName, int mode) voidDriverRelease(Object driver) voidFeatureDestroy(Object feature) longFeatureGetFID(Object feature) voidFeatureGetFieldAsDateTime(Object feature, int i, int[] year, int[] month, int[] day, int[] hour, int[] minute, int[] second, int[] tzFlag) doubleFeatureGetFieldAsDouble(Object feature, int i) intFeatureGetFieldAsInteger(Object feature, int i) FeatureGetFieldAsString(Object feature, int i) FeatureGetGeometry(Object feature) booleanFeatureIsFieldSet(Object feature, int i) voidFeatureSetFieldBinary(Object feature, int field, int length, byte[] value) voidFeatureSetFieldDateTime(Object feature, int field, int year, int month, int day, int hour, int minute, int second, int tz) voidFeatureSetFieldDouble(Object feature, int field, double value) voidFeatureSetFieldInteger(Object feature, int field, int value) voidFeatureSetFieldString(Object feature, int field, String str) voidFeatureSetGeometryDirectly(Object feature, Object geometry) voidFeatureUnsetField(Object feature, int i) FieldGetName(Object field) longFieldGetType(Object field) intFieldGetWidth(Object field) booleanFieldIsBinaryType(long type) booleanFieldIsDateTimeType(long type) booleanFieldIsDateType(long type) booleanFieldIsIntegerListType(long type) booleanFieldIsIntegerType(long type) booleanFieldIsRealListType(long type) booleanFieldIsRealType(long type) booleanFieldIsTimeType(long type) voidFieldSetJustifyRight(Object field) voidFieldSetPrecision(Object field, int precision) voidFieldSetWidth(Object field, int width) GeometryCreateFromWkb(byte[] wkb, int[] ret) GeometryCreateFromWkt(String wkt, int[] ret) voidGeometryDestroy(Object geometry) intGeometryExportToWkb(Object geom, byte[] wkb) GeometryExportToWkt(Object geom, int[] ret) intGeometryGetWkbSize(Object geom) GetDriver(int i) GetDriverByName(String name) intlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglongbooleanbooleanLayerCanCreateField(Object layer) booleanLayerCanDeleteFeature(Object layer) booleanLayerCanIgnoreFields(Object layer) booleanLayerCanWriteRandom(Object layer) booleanLayerCanWriteSequential(Object layer) intLayerCreateFeature(Object layer, Object feature) voidLayerCreateField(Object layer, Object fieldDefn, int approx) booleanLayerDeleteFeature(Object layer, long fid) LayerGetExtent(Object layer) longLayerGetFeatureCount(Object layer) LayerGetFIDColumnName(Object layer) intLayerGetFieldCount(Object layerDefn) LayerGetFieldDefn(Object layerDefn, int i) longLayerGetGeometryType(Object layerDefn) LayerGetLayerDefn(Object layer) LayerGetName(Object layer) LayerGetNextFeature(Object layer) LayerGetSpatialRef(Object layer) LayerNewFeature(Object layerDefn) voidLayerRelease(Object layer) voidLayerReleaseLayerDefn(Object layerDefn) voidLayerResetReading(Object layer) voidLayerSetAttributeFilter(Object layer, String attFilter) intLayerSetFeature(Object layer, Object feature) intLayerSetIgnoredFields(Object layer, String[] fields) voidLayerSetSpatialFilter(Object layer, Object geometry) voidLayerSyncToDisk(Object layer) NewSpatialRef(String wkt) OpenShared(String dataSourceName, int mode) SpatialRefExportToWkt(Object spatialRef) SpatialRefGetAuthorityCode(Object spatialRef, String authority) voidSpatialRefRelease(Object spatialRef) toEnvelope(Object extent, CoordinateReferenceSystem crs) 
- 
Constructor Details- 
JniOGRpublic JniOGR()
 
- 
- 
Method Details- 
IsGEOSEnabledpublic boolean IsGEOSEnabled()- Specified by:
- IsGEOSEnabledin interface- OGR
 
- 
getVersion
- 
GetDriverCountpublic int GetDriverCount()- Specified by:
- GetDriverCountin interface- OGR
 
- 
GetDriver
- 
GetDriverByName- Specified by:
- GetDriverByNamein interface- OGR
 
- 
Open
- 
CheckErrorDescription copied from interface:OGRChecks the ogr error status code and throws java exceptions accordingly.- Specified by:
- CheckErrorin interface- OGR
- Parameters:
- code- The ogr error code.
- Throws:
- IOException
 
- 
GetLastErrorMsg- Specified by:
- GetLastErrorMsgin interface- OGR
 
- 
DriverGetName- Specified by:
- DriverGetNamein interface- OGR
 
- 
DriverOpen- Specified by:
- DriverOpenin interface- OGR
 
- 
DriverCreateDataSource- Specified by:
- DriverCreateDataSourcein interface- OGR
 
- 
DriverRelease- Specified by:
- DriverReleasein interface- OGR
 
- 
DataSourceGetDriver- Specified by:
- DataSourceGetDriverin interface- OGR
 
- 
DataSourceGetLayerCount- Specified by:
- DataSourceGetLayerCountin interface- OGR
 
- 
DataSourceGetLayer- Specified by:
- DataSourceGetLayerin interface- OGR
 
- 
DataSourceGetLayerByName- Specified by:
- DataSourceGetLayerByNamein interface- OGR
 
- 
DataSourceRelease- Specified by:
- DataSourceReleasein interface- OGR
 
- 
DataSourceCreateLayerpublic Object DataSourceCreateLayer(Object dataSource, String name, Object srs, long geomType, String[] opts) - Specified by:
- DataSourceCreateLayerin interface- OGR
 
- 
DataSourceExecuteSQL- Specified by:
- DataSourceExecuteSQLin interface- OGR
 
- 
LayerGetLayerDefn- Specified by:
- LayerGetLayerDefnin interface- OGR
 
- 
LayerGetFieldCount- Specified by:
- LayerGetFieldCountin interface- OGR
 
- 
LayerGetFieldDefn- Specified by:
- LayerGetFieldDefnin interface- OGR
 
- 
LayerGetName- Specified by:
- LayerGetNamein interface- OGR
 
- 
LayerGetGeometryType- Specified by:
- LayerGetGeometryTypein interface- OGR
 
- 
LayerGetSpatialRef- Specified by:
- LayerGetSpatialRefin interface- OGR
 
- 
LayerGetExtent- Specified by:
- LayerGetExtentin interface- OGR
 
- 
LayerGetFeatureCount- Specified by:
- LayerGetFeatureCountin interface- OGR
 
- 
LayerRelease- Specified by:
- LayerReleasein interface- OGR
 
- 
LayerReleaseLayerDefn- Specified by:
- LayerReleaseLayerDefnin interface- OGR
 
- 
LayerCanDeleteFeature- Specified by:
- LayerCanDeleteFeaturein interface- OGR
 
- 
LayerCanWriteRandom- Specified by:
- LayerCanWriteRandomin interface- OGR
 
- 
LayerCanWriteSequential- Specified by:
- LayerCanWriteSequentialin interface- OGR
 
- 
LayerCanCreateField- Specified by:
- LayerCanCreateFieldin interface- OGR
 
- 
LayerCanIgnoreFields- Specified by:
- LayerCanIgnoreFieldsin interface- OGR
 
- 
LayerCreateField- Specified by:
- LayerCreateFieldin interface- OGR
 
- 
LayerSyncToDisk- Specified by:
- LayerSyncToDiskin interface- OGR
 
- 
LayerNewFeature- Specified by:
- LayerNewFeaturein interface- OGR
 
- 
toEnvelope- Specified by:
- toEnvelopein interface- OGR
 
- 
LayerSetSpatialFilter- Specified by:
- LayerSetSpatialFilterin interface- OGR
 
- 
LayerSetAttributeFilter- Specified by:
- LayerSetAttributeFilterin interface- OGR
 
- 
LayerSetIgnoredFields- Specified by:
- LayerSetIgnoredFieldsin interface- OGR
 
- 
LayerResetReading- Specified by:
- LayerResetReadingin interface- OGR
 
- 
LayerGetNextFeature- Specified by:
- LayerGetNextFeaturein interface- OGR
 
- 
LayerDeleteFeature- Specified by:
- LayerDeleteFeaturein interface- OGR
 
- 
LayerSetFeature- Specified by:
- LayerSetFeaturein interface- OGR
 
- 
LayerCreateFeature- Specified by:
- LayerCreateFeaturein interface- OGR
 
- 
LayerGetFIDColumnName- Specified by:
- LayerGetFIDColumnNamein interface- OGR
 
- 
FieldGetName- Specified by:
- FieldGetNamein interface- OGR
 
- 
FieldGetType- Specified by:
- FieldGetTypein interface- OGR
 
- 
FieldGetWidth- Specified by:
- FieldGetWidthin interface- OGR
 
- 
FieldSetWidth- Specified by:
- FieldSetWidthin interface- OGR
 
- 
FieldSetJustifyRight- Specified by:
- FieldSetJustifyRightin interface- OGR
 
- 
FieldSetPrecision- Specified by:
- FieldSetPrecisionin interface- OGR
 
- 
FieldIsIntegerTypepublic boolean FieldIsIntegerType(long type) - Specified by:
- FieldIsIntegerTypein interface- OGR
 
- 
FieldIsRealTypepublic boolean FieldIsRealType(long type) - Specified by:
- FieldIsRealTypein interface- OGR
 
- 
FieldIsBinaryTypepublic boolean FieldIsBinaryType(long type) - Specified by:
- FieldIsBinaryTypein interface- OGR
 
- 
FieldIsDateTypepublic boolean FieldIsDateType(long type) - Specified by:
- FieldIsDateTypein interface- OGR
 
- 
FieldIsTimeTypepublic boolean FieldIsTimeType(long type) - Specified by:
- FieldIsTimeTypein interface- OGR
 
- 
FieldIsDateTimeTypepublic boolean FieldIsDateTimeType(long type) - Specified by:
- FieldIsDateTimeTypein interface- OGR
 
- 
FieldIsIntegerListTypepublic boolean FieldIsIntegerListType(long type) - Specified by:
- FieldIsIntegerListTypein interface- OGR
 
- 
FieldIsRealListTypepublic boolean FieldIsRealListType(long type) - Specified by:
- FieldIsRealListTypein interface- OGR
 
- 
CreateStringField- Specified by:
- CreateStringFieldin interface- OGR
 
- 
CreateIntegerField- Specified by:
- CreateIntegerFieldin interface- OGR
 
- 
CreateRealField- Specified by:
- CreateRealFieldin interface- OGR
 
- 
CreateBinaryField- Specified by:
- CreateBinaryFieldin interface- OGR
 
- 
CreateDateField- Specified by:
- CreateDateFieldin interface- OGR
 
- 
CreateTimeField- Specified by:
- CreateTimeFieldin interface- OGR
 
- 
CreateDateTimeField- Specified by:
- CreateDateTimeFieldin interface- OGR
 
- 
FeatureGetFID- Specified by:
- FeatureGetFIDin interface- OGR
 
- 
FeatureIsFieldSet- Specified by:
- FeatureIsFieldSetin interface- OGR
 
- 
FeatureSetGeometryDirectly- Specified by:
- FeatureSetGeometryDirectlyin interface- OGR
 
- 
FeatureGetGeometry- Specified by:
- FeatureGetGeometryin interface- OGR
 
- 
FeatureUnsetField- Specified by:
- FeatureUnsetFieldin interface- OGR
 
- 
FeatureSetFieldInteger- Specified by:
- FeatureSetFieldIntegerin interface- OGR
 
- 
FeatureSetFieldDouble- Specified by:
- FeatureSetFieldDoublein interface- OGR
 
- 
FeatureSetFieldBinary- Specified by:
- FeatureSetFieldBinaryin interface- OGR
 
- 
FeatureSetFieldDateTimepublic void FeatureSetFieldDateTime(Object feature, int field, int year, int month, int day, int hour, int minute, int second, int tz) - Specified by:
- FeatureSetFieldDateTimein interface- OGR
 
- 
FeatureSetFieldString- Specified by:
- FeatureSetFieldStringin interface- OGR
 
- 
FeatureGetFieldAsString- Specified by:
- FeatureGetFieldAsStringin interface- OGR
 
- 
FeatureGetFieldAsInteger- Specified by:
- FeatureGetFieldAsIntegerin interface- OGR
 
- 
FeatureGetFieldAsDouble- Specified by:
- FeatureGetFieldAsDoublein interface- OGR
 
- 
FeatureGetFieldAsDateTimepublic void FeatureGetFieldAsDateTime(Object feature, int i, int[] year, int[] month, int[] day, int[] hour, int[] minute, int[] second, int[] tzFlag) - Specified by:
- FeatureGetFieldAsDateTimein interface- OGR
 
- 
FeatureDestroy- Specified by:
- FeatureDestroyin interface- OGR
 
- 
GetPointTypepublic long GetPointType()- Specified by:
- GetPointTypein interface- OGR
 
- 
GetPoint25DTypepublic long GetPoint25DType()- Specified by:
- GetPoint25DTypein interface- OGR
 
- 
GetLinearRingTypepublic long GetLinearRingType()- Specified by:
- GetLinearRingTypein interface- OGR
 
- 
GetLineStringTypepublic long GetLineStringType()- Specified by:
- GetLineStringTypein interface- OGR
 
- 
GetLineString25DTypepublic long GetLineString25DType()- Specified by:
- GetLineString25DTypein interface- OGR
 
- 
GetPolygonTypepublic long GetPolygonType()- Specified by:
- GetPolygonTypein interface- OGR
 
- 
GetPolygon25DTypepublic long GetPolygon25DType()- Specified by:
- GetPolygon25DTypein interface- OGR
 
- 
GetMultiPointTypepublic long GetMultiPointType()- Specified by:
- GetMultiPointTypein interface- OGR
 
- 
GetMultiLineStringTypepublic long GetMultiLineStringType()- Specified by:
- GetMultiLineStringTypein interface- OGR
 
- 
GetMultiLineString25DTypepublic long GetMultiLineString25DType()- Specified by:
- GetMultiLineString25DTypein interface- OGR
 
- 
GetMultiPolygonTypepublic long GetMultiPolygonType()- Specified by:
- GetMultiPolygonTypein interface- OGR
 
- 
GetMultiPolygon25DTypepublic long GetMultiPolygon25DType()- Specified by:
- GetMultiPolygon25DTypein interface- OGR
 
- 
GetGeometryCollectionTypepublic long GetGeometryCollectionType()- Specified by:
- GetGeometryCollectionTypein interface- OGR
 
- 
GetGeometryCollection25DTypepublic long GetGeometryCollection25DType()- Specified by:
- GetGeometryCollection25DTypein interface- OGR
 
- 
GetGeometryNoneTypepublic long GetGeometryNoneType()- Specified by:
- GetGeometryNoneTypein interface- OGR
 
- 
GetGeometryUnknownTypepublic long GetGeometryUnknownType()- Specified by:
- GetGeometryUnknownTypein interface- OGR
 
- 
GeometryGetWkbSize- Specified by:
- GeometryGetWkbSizein interface- OGR
 
- 
GeometryExportToWkb- Specified by:
- GeometryExportToWkbin interface- OGR
 
- 
GeometryCreateFromWkb- Specified by:
- GeometryCreateFromWkbin interface- OGR
 
- 
GeometryExportToWkt- Specified by:
- GeometryExportToWktin interface- OGR
 
- 
GeometryCreateFromWkt- Specified by:
- GeometryCreateFromWktin interface- OGR
 
- 
GeometryDestroy- Specified by:
- GeometryDestroyin interface- OGR
 
- 
SpatialRefGetAuthorityCode- Specified by:
- SpatialRefGetAuthorityCodein interface- OGR
 
- 
SpatialRefExportToWkt- Specified by:
- SpatialRefExportToWktin interface- OGR
 
- 
SpatialRefRelease- Specified by:
- SpatialRefReleasein interface- OGR
 
- 
NewSpatialRef- Specified by:
- NewSpatialRefin interface- OGR
 
 
-