public interface TileBasedDataProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(org.openstreetmap.osmosis.core.domain.v0_6.Node node)
Add a node to the data store.
|
void |
addRelation(org.openstreetmap.osmosis.core.domain.v0_6.Relation relation)
Add a relation to the data store.
|
void |
addWay(org.openstreetmap.osmosis.core.domain.v0_6.Way way)
Add a way to the data store.
|
void |
close()
Release all acquired resources, e.g.
|
void |
complete()
Complete the data store, e.g.
|
long |
cumulatedNumberOfTiles()
Retrieve the total amount of tiles cumulated over all base zoom levels that is needed to represent the underlying
bounding box of this tile data store.
|
org.mapsforge.core.model.BoundingBox |
getBoundingBox()
Get the bounding box that describes this TileBasedDataStore.
|
java.util.Set<TDWay> |
getCoastLines(TileCoordinate tc)
Retrieve all coastlines that cross the given tile.
|
java.util.List<TDWay> |
getInnerWaysOfMultipolygon(long outerWayID)
Retrieve the all the inner ways that are associated with an outer way that represents a multipolygon.
|
TileData |
getTile(int baseZoomIndex,
int tileCoordinateX,
int tileCoordinateY)
Retrieves all the data that is associated with a tile.
|
TileGridLayout |
getTileGridLayout(int zoomIntervalIndex)
Get the layout of a grid on the given zoom interval specification.
|
ZoomIntervalConfiguration |
getZoomIntervalConfiguration()
Get the zoom interval configuration of the data store.
|
void addNode(org.openstreetmap.osmosis.core.domain.v0_6.Node node)
node - the nodevoid addRelation(org.openstreetmap.osmosis.core.domain.v0_6.Relation relation)
relation - the relationvoid addWay(org.openstreetmap.osmosis.core.domain.v0_6.Way way)
way - the wayvoid close()
void complete()
long cumulatedNumberOfTiles()
org.mapsforge.core.model.BoundingBox getBoundingBox()
java.util.Set<TDWay> getCoastLines(TileCoordinate tc)
tc - the coordinate of the tilejava.util.List<TDWay> getInnerWaysOfMultipolygon(long outerWayID)
outerWayID - id of the outer wayTileData getTile(int baseZoomIndex, int tileCoordinateX, int tileCoordinateY)
baseZoomIndex - index of the base zoom, as defined in a ZoomIntervalConfigurationtileCoordinateX - x coordinate of the tiletileCoordinateY - y coordinate of the tileTileGridLayout getTileGridLayout(int zoomIntervalIndex)
zoomIntervalIndex - the index of the zoom intervalZoomIntervalConfiguration getZoomIntervalConfiguration()