Package org.gdal.ogr
Class Layer
java.lang.Object
org.gdal.gdal.MajorObject
org.gdal.ogr.Layer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReference(Object reference) intAlterFieldDefn(int iField, FieldDefn field_def, int nFlags) intintintClip(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) intintCreateFeature(Feature feature) intCreateField(FieldDefn field_def) intCreateField(FieldDefn field_def, int approx_ok) intCreateGeomField(GeomFieldDefn field_def) intCreateGeomField(GeomFieldDefn field_def, int approx_ok) voiddelete()intDeleteFeature(long fid) intDeleteField(int iField) booleanintintintErase(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) intFindFieldIndex(String pszFieldName, int bExactMatch) static longstatic longgetCPtrAndDisown(Layer obj) double[]double[]GetExtent(boolean force) intGetExtent(double[] argout, int force) GetFeature(long fid) longlongGetFeatureCount(int force) longintGetName()intinthashCode()intintintIdentity(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) intIntersection(Layer method_layer, Layer result_layer) intIntersection(Layer method_layer, Layer result_layer, Vector options) intIntersection(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) intReorderField(int iOldFieldPos, int iNewFieldPos) intReorderFields(int[] nList) voidintintSetAttributeFilter(String filter_string) intSetFeature(Feature feature) intSetIgnoredFields(Vector options) intSetNextByIndex(long new_index) voidSetSpatialFilter(int iGeomField, Geometry filter) voidSetSpatialFilter(Geometry filter) voidSetSpatialFilterRect(double minx, double miny, double maxx, double maxy) voidSetSpatialFilterRect(int iGeomField, double minx, double miny, double maxx, double maxy) voidSetStyleTable(StyleTable table) intintSymDifference(Layer method_layer, Layer result_layer) intSymDifference(Layer method_layer, Layer result_layer, Vector options) intSymDifference(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) intbooleanTestCapability(String cap) intintintUnion(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) intintintUpdate(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) Methods inherited from class org.gdal.gdal.MajorObject
GetDescription, GetMetadata_Dict, GetMetadata_Dict, GetMetadata_List, GetMetadata_List, GetMetadataDomainList, GetMetadataItem, GetMetadataItem, SetDescription, SetMetadata, SetMetadata, SetMetadata, SetMetadata, SetMetadata, SetMetadata, SetMetadataItem, SetMetadataItem
-
Constructor Details
-
Layer
public Layer(long cPtr, boolean cMemoryOwn)
-
-
Method Details
-
getCPtr
-
delete
public void delete()- Overrides:
deletein classMajorObject
-
getCPtrAndDisown
-
addReference
-
equals
-
hashCode
public int hashCode() -
GetExtent
public double[] GetExtent(boolean force) -
GetExtent
public double[] GetExtent() -
GetRefCount
public int GetRefCount() -
SetSpatialFilter
-
SetSpatialFilterRect
public void SetSpatialFilterRect(double minx, double miny, double maxx, double maxy) -
SetSpatialFilter
-
SetSpatialFilterRect
public void SetSpatialFilterRect(int iGeomField, double minx, double miny, double maxx, double maxy) -
GetSpatialFilter
-
SetAttributeFilter
-
ResetReading
public void ResetReading() -
GetName
-
GetGeomType
public int GetGeomType() -
GetGeometryColumn
-
GetFIDColumn
-
GetFeature
-
GetNextFeature
-
SetNextByIndex
public int SetNextByIndex(long new_index) -
SetFeature
-
CreateFeature
-
DeleteFeature
public int DeleteFeature(long fid) -
SyncToDisk
public int SyncToDisk() -
GetLayerDefn
-
GetFeatureCount
public long GetFeatureCount(int force) -
GetFeatureCount
public long GetFeatureCount() -
GetExtent
public int GetExtent(double[] argout, int force) -
TestCapability
-
CreateField
-
CreateField
-
DeleteField
public int DeleteField(int iField) -
ReorderField
public int ReorderField(int iOldFieldPos, int iNewFieldPos) -
ReorderFields
public int ReorderFields(int[] nList) -
AlterFieldDefn
-
CreateGeomField
-
CreateGeomField
-
StartTransaction
public int StartTransaction() -
CommitTransaction
public int CommitTransaction() -
RollbackTransaction
public int RollbackTransaction() -
FindFieldIndex
-
GetSpatialRef
-
GetFeaturesRead
public long GetFeaturesRead() -
SetIgnoredFields
-
Intersection
public int Intersection(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) -
Intersection
-
Intersection
-
Union
-
Union
-
Union
-
SymDifference
public int SymDifference(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) -
SymDifference
-
SymDifference
-
Identity
public int Identity(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) -
Identity
-
Identity
-
Update
public int Update(Layer method_layer, Layer result_layer, Vector options, ProgressCallback callback) -
Update
-
Update
-
Clip
-
Clip
-
Clip
-
Erase
-
Erase
-
Erase
-
GetStyleTable
-
SetStyleTable
-