getContainingIds

fun getContainingIds(minLongitude: Double, minLatitude: Double, maxLongitude: Double, maxLatitude: Double): Set<String>

Identify which countries are guaranteed to contain the given bounding box fully. The given bounding box may wrap around the 180th longitude, e.g. minLongitude = 170 and maxLongitude = -170.

Return

the ids of the countries the given bounding box is guaranteed to be contained in, not in any particular order

Parameters

minLongitude

minimum longitude of geo position (-180...180)

minLatitude

minimum latitude of geo position (-90...90)

maxLongitude

maximum longitude of geo position (-180...180)

maxLatitude

maximum latitude of geo position (-90...90)

Throws

if any parameter is not finite (NaN or Infinite), minLatitude is greater than maxLatitude or any latitude is not between -90.0 and +90.0