Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package here
    Definition Classes
    com
  • package platform
    Definition Classes
    here
  • package location
    Definition Classes
    platform
  • package inmemory
    Definition Classes
    location
  • package geospatial

    A collection of geospatial components and interfaces that implement different flavors of proximity search.

    A collection of geospatial components and interfaces that implement different flavors of proximity search.

    Note: com.here.platform.location packages use a set of terms to describe different geospatial aspects:

    Coordinates: Cartesian coordinates (x, y[, z]) Geo coordinates: WGS 84 coordinates (latitude, longitude[, elevation]) Point: Geometry element holding coordinates + system specific information (ID, precision, etc.) Geo point: Geospatial element holding geocoordinates + system specific information Node: Topological element of the road network representing a location where multiple manoeuvres are possible, such as before an intersection or where a lane starts/finishes forming/merging. Segment: Topological element of the road network that connects exactly two nodes Any change in attributes along the segment define a new link (sub-segment) Link: Nonbreakable element of a topological segment with a particular set of attributes Attribute: Property of a link, such as its speed limit Vertex: Node in the routing graph, referring to a topological segment Edge: Arc in the routing graph that connects exactly two vertices Incidence graph: Routing graph providing vertices connected to a given edge:

    • its source vertex, which is the tail of the arrow when directed
    • its target vertex, which is the head of the arrow when directed Directed graph: Incidence graph providing edges going out of a given vertex

    Note: WGS84-related functionality works with a reasonable accuracy when latitude is between -85 and +85 degrees.

    Definition Classes
    inmemory
  • AncestorTileResolver
  • DiskTileResolver
  • GeometryTile
  • PackedGeoCoordinate
  • PackedLineString
  • TileId
  • TileResolver
  • TiledProximitySearch
  • VertexProximitySearch

class TiledProximitySearch extends ProximitySearch[(TileId, SegmentIndex)]

An implementation of com.here.platform.location.core.geospatial.ProximitySearch for the indexed segment geometry of the Optimized Map for Location Library, which uses an R-tree to find segments.

It will return one result for each segment chunk that is in range. Thus, the search might return multiple results for a segment.

See also GeometryTile for details on the data format used by this class.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TiledProximitySearch
  2. ProximitySearch
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TiledProximitySearch(tileById: (TileId) ⇒ Option[GeometryTile], tileResolver: DiskTileResolver, projection: GeoProjection)

    tileById

    Used to retrieve the necessary data for a search

    tileResolver

    Determines which tiles need to be looked at for a particular search

    projection

    Used for quickly calculating distances between points. Specifically, the distance between the search center and a segment chunk

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def search[GC](center: GC, radiusInMeters: Double)(implicit arg0: GeoCoordinateOperations[GC]): Iterable[ElementProjection[(TileId, SegmentIndex)]]

    Returns all elements within a given distance around a given center.

    Returns all elements within a given distance around a given center.

    GC

    The type of the search center (WGS84 geocoordinates type)

    center

    Search around these geocoordinates

    radiusInMeters

    Search inside the circle defined by this radius

    returns

    The results that are within radiusInMeters of center, including items on the boundary

    Definition Classes
    TiledProximitySearchProximitySearch
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ProximitySearch[(TileId, SegmentIndex)]

Inherited from AnyRef

Inherited from Any

Ungrouped