trait TileResolver extends DiskTileResolver with AncestorTileResolver with Serializable
Looks up TileIds using various point- or area-based queries.
- Note
The output tile level is implementation specific.
- Alphabetic
- By Inheritance
- TileResolver
- Serializable
- Serializable
- AncestorTileResolver
- DiskTileResolver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
fromAncestorTile(tileId: TileId): Set[TileId]
Returns all descendant tiles for a given tile.
Returns all descendant tiles for a given tile.
- tileId
The ancestor tile to be split
-
abstract
def
fromBoundingBox[BB](bbox: BB)(implicit arg0: BoundingBoxOperations[BB]): Iterable[TileId]
Returns the tiles that cover a given bounding box.
Returns the tiles that cover a given bounding box.
Throws an IllegalArgumentException if
bbox
is not a valid bounding box. -
abstract
def
fromCenterAndRadius[GC](center: GC, radiusInMeters: Double)(implicit arg0: GeoCoordinateOperations[GC]): Iterable[TileId]
Returns the tiles that cover a given circle.
Returns the tiles that cover a given circle.
Throws an IllegalArgumentException if the center's latitude is not between -90.0 and 90.0.
- center
Position of the circle center
- radiusInMeters
Radius of the circle
- Definition Classes
- TileResolver → DiskTileResolver
-
abstract
def
fromCoordinate[GC](point: GC)(implicit arg0: GeoCoordinateOperations[GC]): TileId
Returns the tile containing a given point.
Returns the tile containing a given point.
Throws an IllegalArgumentException if the point's latitude is not between -90.0 and 90.0.
- point
Position within the tile
-
abstract
def
fromDescendantTile(tileId: TileId): TileId
Returns the ancestor tile for the output level that is configured for this TileResolver.
Returns the ancestor tile for the output level that is configured for this TileResolver.
- tileId
The descendant tile
- Definition Classes
- TileResolver → AncestorTileResolver
-
abstract
def
fromTile(tileId: TileId): Set[TileId]
Returns the tiles associated with a given input tile.
Returns the tiles associated with a given input tile.
Which tiles that are depends on the zoom level of the input tile compared to the output level that is configured for this TileResolver. There are three cases to consider.
- The level of the input tile is the same as the output level. In this case, only the input tile itself is returned.
- The input tile is at a lower zoom level than the output level, meaning its area is greater than the area of a single tile at the output level. In this case, the input tile covers multiple tiles at the output level and all of them are returned.
- The input tile is at a higher zoom level than the output level, meaning its area is smaller than the area of a single tile at the output level. In this case, the input tile is fully contained within a single output level tile and that tile is returned.
-
abstract
def
fromTileWithBuffer(tileId: TileId, bufferInMeters: Double): Set[TileId]
Returns the tiles that cover the area of a given tile extended by the given buffer in all directions.
Returns the tiles that cover the area of a given tile extended by the given buffer in all directions.
- tileId
The tile ID used as initial bounding box
- bufferInMeters
The buffer to be added around the tile's bounding box
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()