/** * {@inheritDoc} */ @Override public BoundingBox getBoundingBox(Projection projection) { return tileMatrixSet.getBoundingBox(projection); }
/** * {@inheritDoc} */ @Override public BoundingBox getBoundingBox() { return tileMatrixSet.getBoundingBox(); }
/** * {@inheritDoc} */ @Override public BoundingBox getBoundingBox() { return tileMatrixSet.getBoundingBox(); }
/** * {@inheritDoc} */ @Override public BoundingBox getBoundingBox(Projection projection) { return tileMatrixSet.getBoundingBox(projection); }
/** * Constructor, specified tile size and projection * * @param tileDao tile dao * @param width requested width * @param height requested height * @param requestProjection requested projection */ public TileCreator(TileDao tileDao, Integer width, Integer height, Projection requestProjection) { this.tileDao = tileDao; this.width = width; this.height = height; this.requestProjection = requestProjection; tileMatrixSet = tileDao.getTileMatrixSet(); tilesProjection = tileDao.getTileMatrixSet().getProjection(); tileSetBoundingBox = tileMatrixSet.getBoundingBox(); // Check if the projections have the same units sameProjection = (requestProjection.getUnit().name.equals(tilesProjection.getUnit().name)); }
/** * 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 (projection != null) { ProjectionTransform transform = getProjection().getTransformation( projection); if (!transform.isSameProjection()) { boundingBox = boundingBox.transform(transform); } } return boundingBox; }
this.requestProjection = requestProjection; coverageProjection = tileMatrixSet.getProjection(); coverageBoundingBox = tileMatrixSet.getBoundingBox();
tileSetBoundingBox = tileMatrixSet.getBoundingBox();
TileMatrixSet tileMatrixSet = getTileMatrixSetDao() .queryForId(table); tableBoundingBox = tileMatrixSet.getBoundingBox(projection); } catch (SQLException e) { throw new GeoPackageException(
BoundingBox boundingBox = tileMatrixSet.getBoundingBox(); BoundingBox wgs84BoundingBox = boundingBox.transform( projection.getTransformation(
BoundingBox boundingBox = tileMatrixSet.getBoundingBox(); BoundingBox wgs84BoundingBox = boundingBox .transform(projection
tileMatrixSet.getBoundingBox(), tileMatrix, tileRow.getTileColumn(), tileRow.getTileRow()); CoverageDataResults coverageDataResults = coverageData
coverageData.setHeight(specifiedHeight); BoundingBox boundingBox = tileMatrixSet.getBoundingBox();
BoundingBox boundingBox = tileMatrixSet.getBoundingBox(); SpatialReferenceSystemDao srsDao = geoPackage .getSpatialReferenceSystemDao();
tileMatrixSet.getBoundingBox(), tileMatrix, tileRow.getTileColumn(), tileRow.getTileRow());
TestCase.assertNotNull(dao); BoundingBox totalBoundingBox = tileMatrixSet.getBoundingBox(); TestCase.assertEquals(totalBoundingBox, dao.getBoundingBox());
BoundingBox boundingBox = tileMatrixSet.getBoundingBox(); if (PRINT) { System.out.println("Min Latitude: "
.getBoundingBox(); BoundingBox setWebMercatorBoundingBox = setProjectionBoundingBox .transform(tileMatrixSet.getProjection()
BoundingBox boundingBox = tileMatrixSet.getBoundingBox(); if (PRINT) { System.out.println("Min Latitude: "
BoundingBox previousTileMatrixSetBoundingBox = tileMatrixSet.getBoundingBox();