Package mil.nga.geopackage.db
Class FeatureIndexer
- java.lang.Object
-
- mil.nga.geopackage.db.FeatureIndexer
-
public class FeatureIndexer extends Object
Feature Indexer, indexes feature geometries into a table for searching
-
-
Field Summary
Fields Modifier and Type Field Description protected intchunkLimitQuery single chunk limit
-
Constructor Summary
Constructors Constructor Description FeatureIndexer(Context context, FeatureDao featureDao)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the database connection in the feature indexerlongcount()Query for all Geometry Metadata countlongcount(BoundingBox boundingBox)Query for Geometry Metadata count within the bounding box, projected correctlylongcount(BoundingBox boundingBox, Projection projection)Query for Geometry Metadata count within the bounding box in the provided projectionlongcount(GeometryEnvelope envelope)Query for Geometry Metadata count within the Geometry EnvelopeintcountColumnFeatures(String column)Count featuresintcountFeatures()Count featuresintcountFeatures(boolean distinct, String column)Count featuresintcountFeatures(boolean distinct, String column, String where)Count featuresintcountFeatures(boolean distinct, String column, String where, String[] whereArgs)Count featuresintcountFeatures(boolean distinct, String column, Map<String,Object> fieldValues)Count featuresintcountFeatures(boolean distinct, String column, BoundingBox boundingBox)Count the features within the bounding boxintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, String where)Count the features within the bounding boxintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, String where, String[] whereArgs)Count the features within the bounding boxintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Count the features within the bounding boxintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection)Count the features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where)Count the features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the features within the bounding box in the provided projectionintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope)Count the features within the geometry envelopeintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where)Count the features within the geometry envelopeintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where, String[] whereArgs)Count the features within the geometry envelopeintcountFeatures(boolean distinct, String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the features within the geometry envelopeintcountFeatures(String where)Count featuresintcountFeatures(String column, String where)Count featuresintcountFeatures(String where, String[] whereArgs)Count featuresintcountFeatures(String column, String where, String[] whereArgs)Count featuresintcountFeatures(String column, Map<String,Object> fieldValues)Count featuresintcountFeatures(String column, BoundingBox boundingBox)Count the features within the bounding boxintcountFeatures(String column, BoundingBox boundingBox, String where)Count the features within the bounding boxintcountFeatures(String column, BoundingBox boundingBox, String where, String[] whereArgs)Count the features within the bounding boxintcountFeatures(String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Count the features within the bounding boxintcountFeatures(String column, BoundingBox boundingBox, Projection projection)Count the features within the bounding box in the provided projectionintcountFeatures(String column, BoundingBox boundingBox, Projection projection, String where)Count the features within the bounding box in the provided projectionintcountFeatures(String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the features within the bounding box in the provided projectionintcountFeatures(String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the features within the bounding box in the provided projectionintcountFeatures(String column, GeometryEnvelope envelope)Count the features within the geometry envelopeintcountFeatures(String column, GeometryEnvelope envelope, String where)Count the features within the geometry envelopeintcountFeatures(String column, GeometryEnvelope envelope, String where, String[] whereArgs)Count the features within the geometry envelopeintcountFeatures(String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the features within the geometry envelopeintcountFeatures(Map<String,Object> fieldValues)Count featuresintcountFeatures(BoundingBox boundingBox)Count the features within the bounding boxintcountFeatures(BoundingBox boundingBox, String where)Count the features within the bounding boxintcountFeatures(BoundingBox boundingBox, String where, String[] whereArgs)Count the features within the bounding boxintcountFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)Count the features within the bounding boxintcountFeatures(BoundingBox boundingBox, Projection projection)Count the features within the bounding box in the provided projectionintcountFeatures(BoundingBox boundingBox, Projection projection, String where)Count the features within the bounding box in the provided projectionintcountFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the features within the bounding box in the provided projectionintcountFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the features within the bounding box in the provided projectionintcountFeatures(GeometryEnvelope envelope)Count the features within the geometry envelopeintcountFeatures(GeometryEnvelope envelope, String where)Count the features within the geometry envelopeintcountFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)Count the features within the geometry envelopeintcountFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the features within the geometry envelopebooleandeleteIndex()Delete the feature table indexbooleandeleteIndex(long geomId)Delete the index for the geometry idbooleandeleteIndex(FeatureRow row)Delete the index for the feature rowBoundingBoxgetBoundingBox()Query for the bounds of the feature table indexBoundingBoxgetBoundingBox(Projection projection)Query for the feature index bounds and return in the provided projectionintgetChunkLimit()Get the SQL query chunk limitFeatureRowgetFeatureRow(Cursor cursor)Get the feature row for the current place in the cursorFeatureRowgetFeatureRow(GeometryMetadata geometryMetadata)Get the feature row for the Geometry MetadatalonggetGeometryId(Cursor cursor)Get the Geometry Metadata id for the current place in the cursorGeometryMetadatagetGeometryMetadata(Cursor cursor)Get the Geometry Metadata for the current place in the cursorDategetLastIndexed()Get the date last indexeddoublegetTolerance()Get the query range toleranceintindex()Index the feature table if neededintindex(boolean force)Index the feature tablebooleanindex(FeatureRow row)Index the feature row.booleanisIndexed()Determine if the database table is indexed after database modificationsCursorquery()Query for all Geometry MetadataCursorquery(String[] columns)Query for all Geometry MetadataCursorquery(String[] columns, BoundingBox boundingBox)Query for Geometry Metadata within the bounding box, projected correctlyCursorquery(String[] columns, BoundingBox boundingBox, Projection projection)Query for Geometry Metadata within the bounding box in the provided projectionCursorquery(String[] columns, GeometryEnvelope envelope)Query for Geometry Metadata within the Geometry EnvelopeCursorquery(BoundingBox boundingBox)Query for Geometry Metadata within the bounding box, projected correctlyCursorquery(BoundingBox boundingBox, Projection projection)Query for Geometry Metadata within the bounding box in the provided projectionCursorquery(GeometryEnvelope envelope)Query for Geometry Metadata within the Geometry EnvelopeFeatureCursorqueryFeatures()Query for all featuresFeatureCursorqueryFeatures(boolean distinct)Query for all featuresFeatureCursorqueryFeatures(boolean distinct, String where)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns)Query for all featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns, String where)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns, String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns, Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope)Query for features within the geometry envelopeFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where)Query for features within the geometry envelopeFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)Query for features within the geometry envelopeFeatureCursorqueryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for features within the geometry envelopeFeatureCursorqueryFeatures(boolean distinct, String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(boolean distinct, Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, String where)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, String where, String[] whereArgs)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for features within the bounding boxFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope)Query for features within the geometry envelopeFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope, String where)Query for features within the geometry envelopeFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope, String where, String[] whereArgs)Query for features within the geometry envelopeFeatureCursorqueryFeatures(boolean distinct, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for features within the geometry envelopeFeatureCursorqueryFeatures(String where)Query for featuresFeatureCursorqueryFeatures(String[] columns)Query for all featuresFeatureCursorqueryFeatures(String[] columns, String where)Query for featuresFeatureCursorqueryFeatures(String[] columns, String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(String[] columns, Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox)Query for features within the bounding boxFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, String where)Query for features within the bounding boxFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)Query for features within the bounding boxFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)Query for features within the bounding boxFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope)Query for features within the geometry envelopeFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope, String where)Query for features within the geometry envelopeFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)Query for features within the geometry envelopeFeatureCursorqueryFeatures(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for features within the geometry envelopeFeatureCursorqueryFeatures(String where, String[] whereArgs)Query for featuresFeatureCursorqueryFeatures(Map<String,Object> fieldValues)Query for featuresFeatureCursorqueryFeatures(BoundingBox boundingBox)Query for features within the bounding boxFeatureCursorqueryFeatures(BoundingBox boundingBox, String where)Query for features within the bounding boxFeatureCursorqueryFeatures(BoundingBox boundingBox, String where, String[] whereArgs)Query for features within the bounding boxFeatureCursorqueryFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)Query for features within the bounding boxFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection, String where)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Query for features within the bounding box in the provided projectionFeatureCursorqueryFeatures(GeometryEnvelope envelope)Query for features within the geometry envelopeFeatureCursorqueryFeatures(GeometryEnvelope envelope, String where)Query for features within the geometry envelopeFeatureCursorqueryFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)Query for features within the geometry envelopeFeatureCursorqueryFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)Query for features within the geometry envelopeCursorqueryIds()Query for all Geometry Metadata idsCursorqueryIds(BoundingBox boundingBox)Query for Geometry Metadata ids within the bounding box, projected correctlyCursorqueryIds(BoundingBox boundingBox, Projection projection)Query for Geometry Metadata ids within the bounding box in the provided projectionCursorqueryIds(GeometryEnvelope envelope)Query for Geometry Metadata idswithin the Geometry EnvelopevoidsetChunkLimit(int chunkLimit)Set the SQL query chunk limitvoidsetProgress(GeoPackageProgress progress)Set the progress trackervoidsetTolerance(double tolerance)Set the query range tolerance
-
-
-
Constructor Detail
-
FeatureIndexer
public FeatureIndexer(Context context, FeatureDao featureDao)
Constructor- Parameters:
context- contextfeatureDao- feature dao
-
-
Method Detail
-
close
public void close()
Close the database connection in the feature indexer- Since:
- 1.1.0
-
setProgress
public void setProgress(GeoPackageProgress progress)
Set the progress tracker- Parameters:
progress- progress tracker
-
getChunkLimit
public int getChunkLimit()
Get the SQL query chunk limit- Returns:
- chunk limit
- Since:
- 3.1.0
-
setChunkLimit
public void setChunkLimit(int chunkLimit)
Set the SQL query chunk limit- Parameters:
chunkLimit- chunk limit- Since:
- 3.1.0
-
index
public int index()
Index the feature table if needed- Returns:
- count
-
index
public int index(boolean force)
Index the feature table- Parameters:
force- true to force re-indexing- Returns:
- count
-
index
public boolean index(FeatureRow row)
Index the feature row. This method assumes that indexing has been completed and maintained as the last indexed time is updated.- Parameters:
row- feature row- Returns:
- true if indexed
-
deleteIndex
public boolean deleteIndex()
Delete the feature table index- Returns:
- true if index deleted
- Since:
- 1.1.0
-
deleteIndex
public boolean deleteIndex(FeatureRow row)
Delete the index for the feature row- Parameters:
row- feature row- Returns:
- true if deleted
- Since:
- 1.1.0
-
deleteIndex
public boolean deleteIndex(long geomId)
Delete the index for the geometry id- Parameters:
geomId- geometry id- Returns:
- true if deleted
-
isIndexed
public boolean isIndexed()
Determine if the database table is indexed after database modifications- Returns:
- true if indexed
-
getLastIndexed
public Date getLastIndexed()
Get the date last indexed- Returns:
- last indexed date or null
- Since:
- 1.1.0
-
query
public Cursor query()
Query for all Geometry Metadata- Returns:
- geometry metadata cursor
- Since:
- 1.1.0
-
query
public Cursor query(String[] columns)
Query for all Geometry Metadata- Parameters:
columns- columns- Returns:
- geometry metadata cursor
- Since:
- 3.5.0
-
queryIds
public Cursor queryIds()
Query for all Geometry Metadata ids- Returns:
- geometry metadata cursor
- Since:
- 3.4.0
-
count
public long count()
Query for all Geometry Metadata count- Returns:
- count
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures()
Query for all features- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct)
Query for all features- Parameters:
distinct- distinct rows- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns)
Query for all features- Parameters:
columns- columns- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns)
Query for all features- Parameters:
distinct- distinct rowscolumns- columns- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures()
Count features- Returns:
- count
- Since:
- 4.0.0
-
countColumnFeatures
public int countColumnFeatures(String column)
Count features- Parameters:
column- count column name- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column)Count features- Parameters:
distinct- distinct column valuescolumn- count column name- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(Map<String,Object> fieldValues)
Query for features- Parameters:
fieldValues- field values- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, Map<String,Object> fieldValues)
Query for features- Parameters:
distinct- distinct rowsfieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, Map<String,Object> fieldValues)
Query for features- Parameters:
columns- columnsfieldValues- field values- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, Map<String,Object> fieldValues)
Query for features- Parameters:
distinct- distinct rowscolumns- columnsfieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(Map<String,Object> fieldValues)
Count features- Parameters:
fieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, Map<String,Object> fieldValues)
Count features- Parameters:
column- count column namefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, Map<String,Object> fieldValues)Count features- Parameters:
distinct- distinct column valuescolumn- count column namefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String where)
Query for features- Parameters:
where- where clause- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String where)
Query for features- Parameters:
distinct- distinct rowswhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, String where)
Query for features- Parameters:
columns- columnswhere- where clause- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, String where)
Query for features- Parameters:
distinct- distinct rowscolumns- columnswhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(String where)
Count features- Parameters:
where- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, String where)
Count features- Parameters:
column- count column namewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, String where)Count features- Parameters:
distinct- distinct column valuescolumn- count column namewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String where, String[] whereArgs)
Query for features- Parameters:
where- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String where, String[] whereArgs)
Query for features- Parameters:
distinct- distinct rowswhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, String where, String[] whereArgs)
Query for features- Parameters:
columns- columnswhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, String where, String[] whereArgs)
Query for features- Parameters:
distinct- distinct rowscolumns- columnswhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(String where, String[] whereArgs)
Count features- Parameters:
where- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, String where, String[] whereArgs)
Count features- Parameters:
column- count column namewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, String where, String[] whereArgs)Count features- Parameters:
distinct- distinct column valuescolumn- count column namewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
getBoundingBox
public BoundingBox getBoundingBox()
Query for the bounds of the feature table index- Returns:
- bounding box
- Since:
- 3.1.0
-
getBoundingBox
public BoundingBox getBoundingBox(Projection projection)
Query for the feature index bounds and return in the provided projection- Parameters:
projection- desired projection- Returns:
- bounding box
- Since:
- 3.1.0
-
query
public Cursor query(BoundingBox boundingBox)
Query for Geometry Metadata within the bounding box, projected correctly- Parameters:
boundingBox- bounding box- Returns:
- geometry metadata cursor
- Since:
- 1.1.0
-
query
public Cursor query(String[] columns, BoundingBox boundingBox)
Query for Geometry Metadata within the bounding box, projected correctly- Parameters:
columns- columnsboundingBox- bounding box- Returns:
- geometry metadata cursor
- Since:
- 3.5.0
-
queryIds
public Cursor queryIds(BoundingBox boundingBox)
Query for Geometry Metadata ids within the bounding box, projected correctly- Parameters:
boundingBox- bounding box- Returns:
- geometry metadata cursor
- Since:
- 3.4.0
-
count
public long count(BoundingBox boundingBox)
Query for Geometry Metadata count within the bounding box, projected correctly- Parameters:
boundingBox- bounding box- Returns:
- count
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox)
Query for features within the bounding box- Parameters:
boundingBox- bounding box- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox)
Query for features within the bounding box- Parameters:
distinct- distinct rowsboundingBox- bounding box- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox)
Query for features within the bounding box- Parameters:
columns- columnsboundingBox- bounding box- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox)
Query for features within the bounding box- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding box- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox)
Count the features within the bounding box- Parameters:
boundingBox- bounding box- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox)
Count the features within the bounding box- Parameters:
column- count column nameboundingBox- bounding box- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox)Count the features within the bounding box- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding box- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for features within the bounding box- Parameters:
boundingBox- bounding boxfieldValues- field values- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for features within the bounding box- Parameters:
distinct- distinct rowsboundingBox- bounding boxfieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for features within the bounding box- Parameters:
columns- columnsboundingBox- bounding boxfieldValues- field values- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Map<String,Object> fieldValues)
Query for features within the bounding box- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxfieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Map<String,Object> fieldValues)
Count the features within the bounding box- Parameters:
boundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Map<String,Object> fieldValues)
Count the features within the bounding box- Parameters:
column- count column nameboundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Map<String,Object> fieldValues)Count the features within the bounding box- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, String where)
Query for features within the bounding box- Parameters:
boundingBox- bounding boxwhere- where clause- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, String where)
Query for features within the bounding box- Parameters:
distinct- distinct rowsboundingBox- bounding boxwhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, String where)
Query for features within the bounding box- Parameters:
columns- columnsboundingBox- bounding boxwhere- where clause- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where)
Query for features within the bounding box- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxwhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, String where)
Count the features within the bounding box- Parameters:
boundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, String where)
Count the features within the bounding box- Parameters:
column- count column nameboundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, String where)Count the features within the bounding box- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
Query for features within the bounding box- Parameters:
boundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, String where, String[] whereArgs)
Query for features within the bounding box- Parameters:
distinct- distinct rowsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
Query for features within the bounding box- Parameters:
columns- columnsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, String where, String[] whereArgs)
Query for features within the bounding box- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, String where, String[] whereArgs)
Count the features within the bounding box- Parameters:
boundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, String where, String[] whereArgs)
Count the features within the bounding box- Parameters:
column- count column nameboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, String where, String[] whereArgs)Count the features within the bounding box- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
query
public Cursor query(BoundingBox boundingBox, Projection projection)
Query for Geometry Metadata within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- geometry metadata cursor
- Since:
- 1.1.0
-
query
public Cursor query(String[] columns, BoundingBox boundingBox, Projection projection)
Query for Geometry Metadata within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- geometry metadata cursor
- Since:
- 3.5.0
-
queryIds
public Cursor queryIds(BoundingBox boundingBox, Projection projection)
Query for Geometry Metadata ids within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- geometry metadata cursor
- Since:
- 3.4.0
-
count
public long count(BoundingBox boundingBox, Projection projection)
Query for Geometry Metadata count within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection of the provided bounding box- Returns:
- count
- Since:
- 1.1.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection)
Query for features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projection- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection)
Query for features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projection- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projection- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection)
Count the features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projection- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection)
Count the features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projection- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection)Count the features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projection- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Count the features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)
Count the features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, Map<String,Object> fieldValues)Count the features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projectionfieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, String where)
Query for features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where)
Query for features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection, String where)
Count the features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection, String where)
Count the features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where)Count the features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projectionwhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowsboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for features within the bounding box in the provided projection- Parameters:
columns- columnsboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Query for features within the bounding box in the provided projection- Parameters:
distinct- distinct rowscolumns- columnsboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Count the features within the bounding box in the provided projection- Parameters:
boundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)
Count the features within the bounding box in the provided projection- Parameters:
column- count column nameboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, BoundingBox boundingBox, Projection projection, String where, String[] whereArgs)Count the features within the bounding box in the provided projection- Parameters:
distinct- distinct column valuescolumn- count column nameboundingBox- bounding boxprojection- projectionwhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
query
public Cursor query(GeometryEnvelope envelope)
Query for Geometry Metadata within the Geometry Envelope- Parameters:
envelope- geometry envelope- Returns:
- geometry metadata cursor
- Since:
- 1.1.0
-
query
public Cursor query(String[] columns, GeometryEnvelope envelope)
Query for Geometry Metadata within the Geometry Envelope- Parameters:
columns- columnsenvelope- geometry envelope- Returns:
- geometry metadata cursor
- Since:
- 3.5.0
-
queryIds
public Cursor queryIds(GeometryEnvelope envelope)
Query for Geometry Metadata idswithin the Geometry Envelope- Parameters:
envelope- geometry envelope- Returns:
- geometry metadata cursor
- Since:
- 1.1.0
-
count
public long count(GeometryEnvelope envelope)
Query for Geometry Metadata count within the Geometry Envelope- Parameters:
envelope- geometry envelope- Returns:
- count
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope)
Query for features within the geometry envelope- Parameters:
envelope- geometry envelope- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope)
Query for features within the geometry envelope- Parameters:
distinct- distinct column valuesenvelope- geometry envelope- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope)
Query for features within the geometry envelope- Parameters:
columns- columnsenvelope- geometry envelope- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope)
Query for features within the geometry envelope- Parameters:
distinct- distinct column valuescolumns- columnsenvelope- geometry envelope- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope)
Count the features within the geometry envelope- Parameters:
envelope- geometry envelope- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope)
Count the features within the geometry envelope- Parameters:
column- count column nameenvelope- geometry envelope- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope)Count the features within the geometry envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelope- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for features within the geometry envelope- Parameters:
envelope- geometry envelopefieldValues- field values- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for features within the geometry envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopefieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for features within the geometry envelope- Parameters:
columns- columnsenvelope- geometry envelopefieldValues- field values- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Query for features within the geometry envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopefieldValues- field values- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope, Map<String,Object> fieldValues)
Count the features within the geometry envelope- Parameters:
envelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)
Count the features within the geometry envelope- Parameters:
column- count column nameenvelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope, Map<String,Object> fieldValues)Count the features within the geometry envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopefieldValues- field values- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope, String where)
Query for features within the geometry envelope- Parameters:
envelope- geometry envelopewhere- where clause- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, String where)
Query for features within the geometry envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopewhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, String where)
Query for features within the geometry envelope- Parameters:
columns- columnsenvelope- geometry envelopewhere- where clause- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where)
Query for features within the geometry envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopewhere- where clause- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope, String where)
Count the features within the geometry envelope- Parameters:
envelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope, String where)
Count the features within the geometry envelope- Parameters:
column- count column nameenvelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where)Count the features within the geometry envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopewhere- where clause- Returns:
- count
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)
Query for features within the geometry envelope- Parameters:
envelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.4.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for features within the geometry envelope- Parameters:
distinct- distinct rowsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
queryFeatures
public FeatureCursor queryFeatures(String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for features within the geometry envelope- Parameters:
columns- columnsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 3.5.0
-
queryFeatures
public FeatureCursor queryFeatures(boolean distinct, String[] columns, GeometryEnvelope envelope, String where, String[] whereArgs)
Query for features within the geometry envelope- Parameters:
distinct- distinct rowscolumns- columnsenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- feature results
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(GeometryEnvelope envelope, String where, String[] whereArgs)
Count the features within the geometry envelope- Parameters:
envelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 3.4.0
-
countFeatures
public int countFeatures(String column, GeometryEnvelope envelope, String where, String[] whereArgs)
Count the features within the geometry envelope- Parameters:
column- count column nameenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
countFeatures
public int countFeatures(boolean distinct, String column, GeometryEnvelope envelope, String where, String[] whereArgs)Count the features within the geometry envelope- Parameters:
distinct- distinct column valuescolumn- count column nameenvelope- geometry envelopewhere- where clausewhereArgs- where arguments- Returns:
- count
- Since:
- 4.0.0
-
getGeometryMetadata
public GeometryMetadata getGeometryMetadata(Cursor cursor)
Get the Geometry Metadata for the current place in the cursor- Parameters:
cursor- cursor- Returns:
- geometry metadata
- Since:
- 1.1.0
-
getGeometryId
public long getGeometryId(Cursor cursor)
Get the Geometry Metadata id for the current place in the cursor- Parameters:
cursor- cursor- Returns:
- geometry id
- Since:
- 3.4.0
-
getFeatureRow
public FeatureRow getFeatureRow(Cursor cursor)
Get the feature row for the current place in the cursor- Parameters:
cursor- cursor- Returns:
- feature row
- Since:
- 1.1.0
-
getFeatureRow
public FeatureRow getFeatureRow(GeometryMetadata geometryMetadata)
Get the feature row for the Geometry Metadata- Parameters:
geometryMetadata- geometry metadata- Returns:
- feature row
- Since:
- 1.1.0
-
getTolerance
public double getTolerance()
Get the query range tolerance- Returns:
- query range tolerance
- Since:
- 3.1.0
-
setTolerance
public void setTolerance(double tolerance)
Set the query range tolerance- Parameters:
tolerance- query range tolerance- Since:
- 3.1.0
-
-