Package org.geotools.data.ogr.jni
Class JniOGR
- Object
-
- JniOGR
-
-
Constructor Summary
Constructors Constructor Description JniOGR()
-
Method Summary
-
-
-
Method Detail
-
IsGEOSEnabled
public boolean IsGEOSEnabled()
- Specified by:
IsGEOSEnabledin interfaceOGR
-
getVersion
public String getVersion()
-
GetDriverCount
public int GetDriverCount()
- Specified by:
GetDriverCountin interfaceOGR
-
GetDriverByName
public Object GetDriverByName(String name)
- Specified by:
GetDriverByNamein interfaceOGR
-
OpenShared
public Object OpenShared(String dataSourceName, int mode)
- Specified by:
OpenSharedin interfaceOGR
-
CheckError
public void CheckError(int code) throws IOExceptionDescription copied from interface:OGRChecks the ogr error status code and throws java exceptions accordingly.- Specified by:
CheckErrorin interfaceOGR- Parameters:
code- The ogr error code.- Throws:
IOException
-
GetLastErrorMsg
public String GetLastErrorMsg()
- Specified by:
GetLastErrorMsgin interfaceOGR
-
DriverGetName
public String DriverGetName(Object driver)
- Specified by:
DriverGetNamein interfaceOGR
-
DriverOpen
public Object DriverOpen(Object driver, String dataSourceName, int mode)
- Specified by:
DriverOpenin interfaceOGR
-
DriverCreateDataSource
public Object DriverCreateDataSource(Object driver, String dataSourceName, String[] opts)
- Specified by:
DriverCreateDataSourcein interfaceOGR
-
DriverRelease
public void DriverRelease(Object driver)
- Specified by:
DriverReleasein interfaceOGR
-
DataSourceGetDriver
public Object DataSourceGetDriver(Object dataSource)
- Specified by:
DataSourceGetDriverin interfaceOGR
-
DataSourceGetLayerCount
public int DataSourceGetLayerCount(Object dataSource)
- Specified by:
DataSourceGetLayerCountin interfaceOGR
-
DataSourceGetLayer
public Object DataSourceGetLayer(Object dataSource, int i)
- Specified by:
DataSourceGetLayerin interfaceOGR
-
DataSourceGetLayerByName
public Object DataSourceGetLayerByName(Object dataSource, String name)
- Specified by:
DataSourceGetLayerByNamein interfaceOGR
-
DataSourceRelease
public void DataSourceRelease(Object dataSource)
- Specified by:
DataSourceReleasein interfaceOGR
-
DataSourceCreateLayer
public Object DataSourceCreateLayer(Object dataSource, String name, Object srs, long geomType, String[] opts)
- Specified by:
DataSourceCreateLayerin interfaceOGR
-
DataSourceExecuteSQL
public Object DataSourceExecuteSQL(Object dataSource, String sql, Object spatialFilter)
- Specified by:
DataSourceExecuteSQLin interfaceOGR
-
LayerGetLayerDefn
public Object LayerGetLayerDefn(Object layer)
- Specified by:
LayerGetLayerDefnin interfaceOGR
-
LayerGetFieldCount
public int LayerGetFieldCount(Object layerDefn)
- Specified by:
LayerGetFieldCountin interfaceOGR
-
LayerGetFieldDefn
public Object LayerGetFieldDefn(Object layerDefn, int i)
- Specified by:
LayerGetFieldDefnin interfaceOGR
-
LayerGetName
public String LayerGetName(Object layer)
- Specified by:
LayerGetNamein interfaceOGR
-
LayerGetGeometryType
public long LayerGetGeometryType(Object layerDefn)
- Specified by:
LayerGetGeometryTypein interfaceOGR
-
LayerGetSpatialRef
public Object LayerGetSpatialRef(Object layer)
- Specified by:
LayerGetSpatialRefin interfaceOGR
-
LayerGetExtent
public Object LayerGetExtent(Object layer)
- Specified by:
LayerGetExtentin interfaceOGR
-
LayerGetFeatureCount
public long LayerGetFeatureCount(Object layer)
- Specified by:
LayerGetFeatureCountin interfaceOGR
-
LayerRelease
public void LayerRelease(Object layer)
- Specified by:
LayerReleasein interfaceOGR
-
LayerReleaseLayerDefn
public void LayerReleaseLayerDefn(Object layerDefn)
- Specified by:
LayerReleaseLayerDefnin interfaceOGR
-
LayerCanDeleteFeature
public boolean LayerCanDeleteFeature(Object layer)
- Specified by:
LayerCanDeleteFeaturein interfaceOGR
-
LayerCanWriteRandom
public boolean LayerCanWriteRandom(Object layer)
- Specified by:
LayerCanWriteRandomin interfaceOGR
-
LayerCanWriteSequential
public boolean LayerCanWriteSequential(Object layer)
- Specified by:
LayerCanWriteSequentialin interfaceOGR
-
LayerCanCreateField
public boolean LayerCanCreateField(Object layer)
- Specified by:
LayerCanCreateFieldin interfaceOGR
-
LayerCanIgnoreFields
public boolean LayerCanIgnoreFields(Object layer)
- Specified by:
LayerCanIgnoreFieldsin interfaceOGR
-
LayerCreateField
public void LayerCreateField(Object layer, Object fieldDefn, int approx)
- Specified by:
LayerCreateFieldin interfaceOGR
-
LayerSyncToDisk
public void LayerSyncToDisk(Object layer)
- Specified by:
LayerSyncToDiskin interfaceOGR
-
LayerNewFeature
public Object LayerNewFeature(Object layerDefn)
- Specified by:
LayerNewFeaturein interfaceOGR
-
toEnvelope
public ReferencedEnvelope toEnvelope(Object extent, CoordinateReferenceSystem crs)
- Specified by:
toEnvelopein interfaceOGR
-
LayerSetSpatialFilter
public void LayerSetSpatialFilter(Object layer, Object geometry)
- Specified by:
LayerSetSpatialFilterin interfaceOGR
-
LayerSetAttributeFilter
public void LayerSetAttributeFilter(Object layer, String attFilter)
- Specified by:
LayerSetAttributeFilterin interfaceOGR
-
LayerSetIgnoredFields
public int LayerSetIgnoredFields(Object layer, String[] fields)
- Specified by:
LayerSetIgnoredFieldsin interfaceOGR
-
LayerResetReading
public void LayerResetReading(Object layer)
- Specified by:
LayerResetReadingin interfaceOGR
-
LayerGetNextFeature
public Object LayerGetNextFeature(Object layer)
- Specified by:
LayerGetNextFeaturein interfaceOGR
-
LayerDeleteFeature
public boolean LayerDeleteFeature(Object layer, long fid)
- Specified by:
LayerDeleteFeaturein interfaceOGR
-
LayerSetFeature
public int LayerSetFeature(Object layer, Object feature)
- Specified by:
LayerSetFeaturein interfaceOGR
-
LayerCreateFeature
public int LayerCreateFeature(Object layer, Object feature)
- Specified by:
LayerCreateFeaturein interfaceOGR
-
LayerGetFIDColumnName
public String LayerGetFIDColumnName(Object layer)
- Specified by:
LayerGetFIDColumnNamein interfaceOGR
-
FieldGetName
public String FieldGetName(Object field)
- Specified by:
FieldGetNamein interfaceOGR
-
FieldGetType
public long FieldGetType(Object field)
- Specified by:
FieldGetTypein interfaceOGR
-
FieldGetWidth
public int FieldGetWidth(Object field)
- Specified by:
FieldGetWidthin interfaceOGR
-
FieldSetWidth
public void FieldSetWidth(Object field, int width)
- Specified by:
FieldSetWidthin interfaceOGR
-
FieldSetJustifyRight
public void FieldSetJustifyRight(Object field)
- Specified by:
FieldSetJustifyRightin interfaceOGR
-
FieldSetPrecision
public void FieldSetPrecision(Object field, int precision)
- Specified by:
FieldSetPrecisionin interfaceOGR
-
FieldIsIntegerType
public boolean FieldIsIntegerType(long type)
- Specified by:
FieldIsIntegerTypein interfaceOGR
-
FieldIsRealType
public boolean FieldIsRealType(long type)
- Specified by:
FieldIsRealTypein interfaceOGR
-
FieldIsBinaryType
public boolean FieldIsBinaryType(long type)
- Specified by:
FieldIsBinaryTypein interfaceOGR
-
FieldIsDateType
public boolean FieldIsDateType(long type)
- Specified by:
FieldIsDateTypein interfaceOGR
-
FieldIsTimeType
public boolean FieldIsTimeType(long type)
- Specified by:
FieldIsTimeTypein interfaceOGR
-
FieldIsDateTimeType
public boolean FieldIsDateTimeType(long type)
- Specified by:
FieldIsDateTimeTypein interfaceOGR
-
FieldIsIntegerListType
public boolean FieldIsIntegerListType(long type)
- Specified by:
FieldIsIntegerListTypein interfaceOGR
-
FieldIsRealListType
public boolean FieldIsRealListType(long type)
- Specified by:
FieldIsRealListTypein interfaceOGR
-
CreateStringField
public Object CreateStringField(String name)
- Specified by:
CreateStringFieldin interfaceOGR
-
CreateIntegerField
public Object CreateIntegerField(String name)
- Specified by:
CreateIntegerFieldin interfaceOGR
-
CreateRealField
public Object CreateRealField(String name)
- Specified by:
CreateRealFieldin interfaceOGR
-
CreateBinaryField
public Object CreateBinaryField(String name)
- Specified by:
CreateBinaryFieldin interfaceOGR
-
CreateDateField
public Object CreateDateField(String name)
- Specified by:
CreateDateFieldin interfaceOGR
-
CreateTimeField
public Object CreateTimeField(String name)
- Specified by:
CreateTimeFieldin interfaceOGR
-
CreateDateTimeField
public Object CreateDateTimeField(String name)
- Specified by:
CreateDateTimeFieldin interfaceOGR
-
FeatureGetFID
public long FeatureGetFID(Object feature)
- Specified by:
FeatureGetFIDin interfaceOGR
-
FeatureIsFieldSet
public boolean FeatureIsFieldSet(Object feature, int i)
- Specified by:
FeatureIsFieldSetin interfaceOGR
-
FeatureSetGeometryDirectly
public void FeatureSetGeometryDirectly(Object feature, Object geometry)
- Specified by:
FeatureSetGeometryDirectlyin interfaceOGR
-
FeatureGetGeometry
public Object FeatureGetGeometry(Object feature)
- Specified by:
FeatureGetGeometryin interfaceOGR
-
FeatureUnsetField
public void FeatureUnsetField(Object feature, int i)
- Specified by:
FeatureUnsetFieldin interfaceOGR
-
FeatureSetFieldInteger
public void FeatureSetFieldInteger(Object feature, int field, int value)
- Specified by:
FeatureSetFieldIntegerin interfaceOGR
-
FeatureSetFieldDouble
public void FeatureSetFieldDouble(Object feature, int field, double value)
- Specified by:
FeatureSetFieldDoublein interfaceOGR
-
FeatureSetFieldBinary
public void FeatureSetFieldBinary(Object feature, int field, int length, byte[] value)
- Specified by:
FeatureSetFieldBinaryin interfaceOGR
-
FeatureSetFieldDateTime
public void FeatureSetFieldDateTime(Object feature, int field, int year, int month, int day, int hour, int minute, int second, int tz)
- Specified by:
FeatureSetFieldDateTimein interfaceOGR
-
FeatureSetFieldString
public void FeatureSetFieldString(Object feature, int field, String str)
- Specified by:
FeatureSetFieldStringin interfaceOGR
-
FeatureGetFieldAsString
public String FeatureGetFieldAsString(Object feature, int i)
- Specified by:
FeatureGetFieldAsStringin interfaceOGR
-
FeatureGetFieldAsInteger
public int FeatureGetFieldAsInteger(Object feature, int i)
- Specified by:
FeatureGetFieldAsIntegerin interfaceOGR
-
FeatureGetFieldAsDouble
public double FeatureGetFieldAsDouble(Object feature, int i)
- Specified by:
FeatureGetFieldAsDoublein interfaceOGR
-
FeatureGetFieldAsDateTime
public void FeatureGetFieldAsDateTime(Object feature, int i, int[] year, int[] month, int[] day, int[] hour, int[] minute, int[] second, int[] tzFlag)
- Specified by:
FeatureGetFieldAsDateTimein interfaceOGR
-
FeatureDestroy
public void FeatureDestroy(Object feature)
- Specified by:
FeatureDestroyin interfaceOGR
-
GetPointType
public long GetPointType()
- Specified by:
GetPointTypein interfaceOGR
-
GetPoint25DType
public long GetPoint25DType()
- Specified by:
GetPoint25DTypein interfaceOGR
-
GetLinearRingType
public long GetLinearRingType()
- Specified by:
GetLinearRingTypein interfaceOGR
-
GetLineStringType
public long GetLineStringType()
- Specified by:
GetLineStringTypein interfaceOGR
-
GetLineString25DType
public long GetLineString25DType()
- Specified by:
GetLineString25DTypein interfaceOGR
-
GetPolygonType
public long GetPolygonType()
- Specified by:
GetPolygonTypein interfaceOGR
-
GetPolygon25DType
public long GetPolygon25DType()
- Specified by:
GetPolygon25DTypein interfaceOGR
-
GetMultiPointType
public long GetMultiPointType()
- Specified by:
GetMultiPointTypein interfaceOGR
-
GetMultiLineStringType
public long GetMultiLineStringType()
- Specified by:
GetMultiLineStringTypein interfaceOGR
-
GetMultiLineString25DType
public long GetMultiLineString25DType()
- Specified by:
GetMultiLineString25DTypein interfaceOGR
-
GetMultiPolygonType
public long GetMultiPolygonType()
- Specified by:
GetMultiPolygonTypein interfaceOGR
-
GetMultiPolygon25DType
public long GetMultiPolygon25DType()
- Specified by:
GetMultiPolygon25DTypein interfaceOGR
-
GetGeometryCollectionType
public long GetGeometryCollectionType()
- Specified by:
GetGeometryCollectionTypein interfaceOGR
-
GetGeometryCollection25DType
public long GetGeometryCollection25DType()
- Specified by:
GetGeometryCollection25DTypein interfaceOGR
-
GetGeometryNoneType
public long GetGeometryNoneType()
- Specified by:
GetGeometryNoneTypein interfaceOGR
-
GetGeometryUnknownType
public long GetGeometryUnknownType()
- Specified by:
GetGeometryUnknownTypein interfaceOGR
-
GeometryGetWkbSize
public int GeometryGetWkbSize(Object geom)
- Specified by:
GeometryGetWkbSizein interfaceOGR
-
GeometryExportToWkb
public int GeometryExportToWkb(Object geom, byte[] wkb)
- Specified by:
GeometryExportToWkbin interfaceOGR
-
GeometryCreateFromWkb
public Object GeometryCreateFromWkb(byte[] wkb, int[] ret)
- Specified by:
GeometryCreateFromWkbin interfaceOGR
-
GeometryExportToWkt
public String GeometryExportToWkt(Object geom, int[] ret)
- Specified by:
GeometryExportToWktin interfaceOGR
-
GeometryCreateFromWkt
public Object GeometryCreateFromWkt(String wkt, int[] ret)
- Specified by:
GeometryCreateFromWktin interfaceOGR
-
GeometryDestroy
public void GeometryDestroy(Object geometry)
- Specified by:
GeometryDestroyin interfaceOGR
-
SpatialRefGetAuthorityCode
public String SpatialRefGetAuthorityCode(Object spatialRef, String authority)
- Specified by:
SpatialRefGetAuthorityCodein interfaceOGR
-
SpatialRefExportToWkt
public String SpatialRefExportToWkt(Object spatialRef)
- Specified by:
SpatialRefExportToWktin interfaceOGR
-
SpatialRefRelease
public void SpatialRefRelease(Object spatialRef)
- Specified by:
SpatialRefReleasein interfaceOGR
-
NewSpatialRef
public Object NewSpatialRef(String wkt)
- Specified by:
NewSpatialRefin interfaceOGR
-
-