getSegmentsAroundCoordinates abstract method

List<OCMSegmentId> getSegmentsAroundCoordinates(
  1. GeoCoordinates coordinates,
  2. double radiusInMeters
)

Loads the segments around a certain coordinates.

Returns an empty list in case no segments could be found around the coordinates.

  • coordinates The location to explore

  • radiusInMeters The radius of the search. Only values between 1m and 5000m are accepted.

Returns List<OCMSegmentId>. The list of segments around the given position.

The segments are sorted by distance from the point. Throws if it's not possible to return list of a list of segments.

Throws MapDataLoaderExceptionException. Specifies reason, why list of a list of segments is not returned.

Implementation

List<OCMSegmentId> getSegmentsAroundCoordinates(GeoCoordinates coordinates, double radiusInMeters);