Class TiledProximitySearch

java.lang.Object
com.here.platform.location.inmemory.geospatial.TiledProximitySearch
All Implemented Interfaces:
com.here.platform.location.core.geospatial.ProximitySearch<scala.Tuple2<TileId,SegmentIndex>>

public class TiledProximitySearch extends Object implements com.here.platform.location.core.geospatial.ProximitySearch<scala.Tuple2<TileId,SegmentIndex>>
An implementation of 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.

param: tileById Used to retrieve the necessary data for a search param: tileResolver Determines which tiles need to be looked at for a particular search param: projection Used for quickly calculating distances between points. Specifically, the distance between the search center and a segment chunk