public CloseableIterator < GeometryIndex > query ( GeometryEnvelope envelope ) { CloseableIterator < GeometryIndex > geometryIndices = null ; QueryBuilder < GeometryIndex , GeometryIndexKey > qb = queryBuilder ( envelope ) ; try { geometryIndices = qb . iterator ( ) ; } catch ( SQLException e ) { throw new GeoPackageException ( "Failed to query for Geometry Indices. GeoPackage: " + geoPackage . getName ( ) + ", Table Name: " + tableName + ", Column Name: " + columnName , e ) ; } return geometryIndices ; }
Query for Geometry Index objects within the Geometry Envelope