Constructor and Description |
---|
JniOGR() |
public boolean IsGEOSEnabled()
IsGEOSEnabled
in interface OGR
public String getVersion()
public int GetDriverCount()
GetDriverCount
in interface OGR
public Object GetDriverByName(String name)
GetDriverByName
in interface OGR
public Object OpenShared(String dataSourceName, int mode)
OpenShared
in interface OGR
public void CheckError(int code) throws IOException
OGR
CheckError
in interface OGR
code
- The ogr error code.IOException
public String GetLastErrorMsg()
GetLastErrorMsg
in interface OGR
public String DriverGetName(Object driver)
DriverGetName
in interface OGR
public Object DriverOpen(Object driver, String dataSourceName, int mode)
DriverOpen
in interface OGR
public Object DriverCreateDataSource(Object driver, String dataSourceName, String[] opts)
DriverCreateDataSource
in interface OGR
public void DriverRelease(Object driver)
DriverRelease
in interface OGR
public Object DataSourceGetDriver(Object dataSource)
DataSourceGetDriver
in interface OGR
public int DataSourceGetLayerCount(Object dataSource)
DataSourceGetLayerCount
in interface OGR
public Object DataSourceGetLayer(Object dataSource, int i)
DataSourceGetLayer
in interface OGR
public Object DataSourceGetLayerByName(Object dataSource, String name)
DataSourceGetLayerByName
in interface OGR
public void DataSourceRelease(Object dataSource)
DataSourceRelease
in interface OGR
public Object DataSourceCreateLayer(Object dataSource, String name, Object srs, long geomType, String[] opts)
DataSourceCreateLayer
in interface OGR
public Object DataSourceExecuteSQL(Object dataSource, String sql, Object spatialFilter)
DataSourceExecuteSQL
in interface OGR
public Object LayerGetLayerDefn(Object layer)
LayerGetLayerDefn
in interface OGR
public int LayerGetFieldCount(Object layerDefn)
LayerGetFieldCount
in interface OGR
public Object LayerGetFieldDefn(Object layerDefn, int i)
LayerGetFieldDefn
in interface OGR
public String LayerGetName(Object layer)
LayerGetName
in interface OGR
public long LayerGetGeometryType(Object layerDefn)
LayerGetGeometryType
in interface OGR
public Object LayerGetSpatialRef(Object layer)
LayerGetSpatialRef
in interface OGR
public Object LayerGetExtent(Object layer)
LayerGetExtent
in interface OGR
public long LayerGetFeatureCount(Object layer)
LayerGetFeatureCount
in interface OGR
public void LayerRelease(Object layer)
LayerRelease
in interface OGR
public void LayerReleaseLayerDefn(Object layerDefn)
LayerReleaseLayerDefn
in interface OGR
public boolean LayerCanDeleteFeature(Object layer)
LayerCanDeleteFeature
in interface OGR
public boolean LayerCanWriteRandom(Object layer)
LayerCanWriteRandom
in interface OGR
public boolean LayerCanWriteSequential(Object layer)
LayerCanWriteSequential
in interface OGR
public boolean LayerCanCreateField(Object layer)
LayerCanCreateField
in interface OGR
public boolean LayerCanIgnoreFields(Object layer)
LayerCanIgnoreFields
in interface OGR
public void LayerCreateField(Object layer, Object fieldDefn, int approx)
LayerCreateField
in interface OGR
public void LayerSyncToDisk(Object layer)
LayerSyncToDisk
in interface OGR
public Object LayerNewFeature(Object layerDefn)
LayerNewFeature
in interface OGR
public ReferencedEnvelope toEnvelope(Object extent, CoordinateReferenceSystem crs)
toEnvelope
in interface OGR
public void LayerSetSpatialFilter(Object layer, Object geometry)
LayerSetSpatialFilter
in interface OGR
public void LayerSetAttributeFilter(Object layer, String attFilter)
LayerSetAttributeFilter
in interface OGR
public int LayerSetIgnoredFields(Object layer, String[] fields)
LayerSetIgnoredFields
in interface OGR
public void LayerResetReading(Object layer)
LayerResetReading
in interface OGR
public Object LayerGetNextFeature(Object layer)
LayerGetNextFeature
in interface OGR
public boolean LayerDeleteFeature(Object layer, long fid)
LayerDeleteFeature
in interface OGR
public int LayerSetFeature(Object layer, Object feature)
LayerSetFeature
in interface OGR
public int LayerCreateFeature(Object layer, Object feature)
LayerCreateFeature
in interface OGR
public String LayerGetFIDColumnName(Object layer)
LayerGetFIDColumnName
in interface OGR
public String FieldGetName(Object field)
FieldGetName
in interface OGR
public long FieldGetType(Object field)
FieldGetType
in interface OGR
public int FieldGetWidth(Object field)
FieldGetWidth
in interface OGR
public void FieldSetWidth(Object field, int width)
FieldSetWidth
in interface OGR
public void FieldSetJustifyRight(Object field)
FieldSetJustifyRight
in interface OGR
public void FieldSetPrecision(Object field, int precision)
FieldSetPrecision
in interface OGR
public boolean FieldIsIntegerType(long type)
FieldIsIntegerType
in interface OGR
public boolean FieldIsRealType(long type)
FieldIsRealType
in interface OGR
public boolean FieldIsBinaryType(long type)
FieldIsBinaryType
in interface OGR
public boolean FieldIsDateType(long type)
FieldIsDateType
in interface OGR
public boolean FieldIsTimeType(long type)
FieldIsTimeType
in interface OGR
public boolean FieldIsDateTimeType(long type)
FieldIsDateTimeType
in interface OGR
public boolean FieldIsIntegerListType(long type)
FieldIsIntegerListType
in interface OGR
public boolean FieldIsRealListType(long type)
FieldIsRealListType
in interface OGR
public Object CreateStringField(String name)
CreateStringField
in interface OGR
public Object CreateIntegerField(String name)
CreateIntegerField
in interface OGR
public Object CreateRealField(String name)
CreateRealField
in interface OGR
public Object CreateBinaryField(String name)
CreateBinaryField
in interface OGR
public Object CreateDateField(String name)
CreateDateField
in interface OGR
public Object CreateTimeField(String name)
CreateTimeField
in interface OGR
public Object CreateDateTimeField(String name)
CreateDateTimeField
in interface OGR
public long FeatureGetFID(Object feature)
FeatureGetFID
in interface OGR
public boolean FeatureIsFieldSet(Object feature, int i)
FeatureIsFieldSet
in interface OGR
public void FeatureSetGeometryDirectly(Object feature, Object geometry)
FeatureSetGeometryDirectly
in interface OGR
public Object FeatureGetGeometry(Object feature)
FeatureGetGeometry
in interface OGR
public void FeatureUnsetField(Object feature, int i)
FeatureUnsetField
in interface OGR
public void FeatureSetFieldInteger(Object feature, int field, int value)
FeatureSetFieldInteger
in interface OGR
public void FeatureSetFieldDouble(Object feature, int field, double value)
FeatureSetFieldDouble
in interface OGR
public void FeatureSetFieldBinary(Object feature, int field, int length, byte[] value)
FeatureSetFieldBinary
in interface OGR
public void FeatureSetFieldDateTime(Object feature, int field, int year, int month, int day, int hour, int minute, int second, int tz)
FeatureSetFieldDateTime
in interface OGR
public void FeatureSetFieldString(Object feature, int field, String str)
FeatureSetFieldString
in interface OGR
public String FeatureGetFieldAsString(Object feature, int i)
FeatureGetFieldAsString
in interface OGR
public int FeatureGetFieldAsInteger(Object feature, int i)
FeatureGetFieldAsInteger
in interface OGR
public double FeatureGetFieldAsDouble(Object feature, int i)
FeatureGetFieldAsDouble
in interface OGR
public void FeatureGetFieldAsDateTime(Object feature, int i, int[] year, int[] month, int[] day, int[] hour, int[] minute, int[] second, int[] tzFlag)
FeatureGetFieldAsDateTime
in interface OGR
public void FeatureDestroy(Object feature)
FeatureDestroy
in interface OGR
public long GetPointType()
GetPointType
in interface OGR
public long GetPoint25DType()
GetPoint25DType
in interface OGR
public long GetLinearRingType()
GetLinearRingType
in interface OGR
public long GetLineStringType()
GetLineStringType
in interface OGR
public long GetLineString25DType()
GetLineString25DType
in interface OGR
public long GetPolygonType()
GetPolygonType
in interface OGR
public long GetPolygon25DType()
GetPolygon25DType
in interface OGR
public long GetMultiPointType()
GetMultiPointType
in interface OGR
public long GetMultiLineStringType()
GetMultiLineStringType
in interface OGR
public long GetMultiLineString25DType()
GetMultiLineString25DType
in interface OGR
public long GetMultiPolygonType()
GetMultiPolygonType
in interface OGR
public long GetMultiPolygon25DType()
GetMultiPolygon25DType
in interface OGR
public long GetGeometryCollectionType()
GetGeometryCollectionType
in interface OGR
public long GetGeometryCollection25DType()
GetGeometryCollection25DType
in interface OGR
public long GetGeometryNoneType()
GetGeometryNoneType
in interface OGR
public long GetGeometryUnknownType()
GetGeometryUnknownType
in interface OGR
public int GeometryGetWkbSize(Object geom)
GeometryGetWkbSize
in interface OGR
public int GeometryExportToWkb(Object geom, byte[] wkb)
GeometryExportToWkb
in interface OGR
public Object GeometryCreateFromWkb(byte[] wkb, int[] ret)
GeometryCreateFromWkb
in interface OGR
public String GeometryExportToWkt(Object geom, int[] ret)
GeometryExportToWkt
in interface OGR
public Object GeometryCreateFromWkt(String wkt, int[] ret)
GeometryCreateFromWkt
in interface OGR
public void GeometryDestroy(Object geometry)
GeometryDestroy
in interface OGR
public String SpatialRefGetAuthorityCode(Object spatialRef, String authority)
SpatialRefGetAuthorityCode
in interface OGR
public String SpatialRefExportToWkt(Object spatialRef)
SpatialRefExportToWkt
in interface OGR
public void SpatialRefRelease(Object spatialRef)
SpatialRefRelease
in interface OGR
public Object NewSpatialRef(String wkt)
NewSpatialRef
in interface OGR
Copyright © 1996–2023 Geotools. All rights reserved.