/** * {@inheritDoc} */ @Override public BoundingBox getBoundingBox(Projection projection) { Contents contents = geometryColumns.getContents(); BoundingBox boundingBox = contents.getBoundingBox(projection); return boundingBox; }
/** * {@inheritDoc} */ @Override public BoundingBox getBoundingBox(Projection projection) { Contents contents = geometryColumns.getContents(); BoundingBox boundingBox = contents.getBoundingBox(projection); return boundingBox; }
/** * Get the bounding box for the table in the provided projection * * @param projection * desired bounding box projection * @param table * table name * * @return bounding box * @since 3.1.0 */ public BoundingBox getBoundingBox(Projection projection, String table) { BoundingBox boundingBox = null; try { Contents contents = queryForId(table); boundingBox = contents.getBoundingBox(projection); } catch (SQLException e) { throw new GeoPackageException( "Failed to query for contents of table: " + table, e); } return boundingBox; }
/** * Get a bounding box in the provided projection * * @param projection * desired projection * * @return bounding box * @since 3.1.0 */ public BoundingBox getBoundingBox(Projection projection) { BoundingBox boundingBox = getBoundingBox(); if (boundingBox != null && projection != null) { ProjectionTransform transform = getProjection().getTransformation( projection); if (!transform.isSameProjection()) { boundingBox = boundingBox.transform(transform); } } return boundingBox; }
.getBoundingBox(projection); if (contentsBoundingBox != null) { TestCase.assertTrue(geoPackageContentsBoundingBox geoPackage.getContentsBoundingBox(projection, contents.getTableName())); TestCase.assertEquals(contents.getBoundingBox(), geoPackage.getContentsBoundingBox(contents.getTableName())); .getBoundingBox(projection); if (featureBoundingBox != null && manager.isIndexed()) { if (expectedFeatureProjectionBoundingBox == null) { .getBoundingBox(projection); if (featureBoundingBox != null) { if (expectedFeatureManualProjectionBoundingBox == null) { .getBoundingBox(); if (featureBoundingBox != null && manager.isIndexed()) { if (expectedFeatureBoundingBox == null) { .getBoundingBox(); if (featureBoundingBox != null) { if (expectedFeatureManualBoundingBox == null) { .union(contents.getBoundingBox(projection)); TestCase.assertEquals( expectedProjectionTileBoundingBox,
BoundingBox previousContentsBoundingBox = contents.getBoundingBox(); if (previousContentsBoundingBox != null) { ProjectionTransform transformProjectionToContents = projection.getTransformation(contents.getProjection());
BoundingBox previousContentsBoundingBox = contents.getBoundingBox(); if (previousContentsBoundingBox != null) { ProjectionTransform transformProjectionToContents = projection