xoa.core.geo#
Geographic utilities
Functions
|
Bounding window of the points of a 2D grid that are in a lon/lat box |
|
Half extents in longitude and latitude of the cells of a 2D grid |
|
Find the closest point of a 2D grid, without scanning large grids |
|
Find indices of closest point on 2D lon/lat grid |
|
Convert longitudes and latitudes to cartesian coordinates on the unit sphere |
|
Largest rectangle of a 2D boolean array that contains only true values |
|
Normalize longitude to [-180, 180] range. |
|
Put longitudes in the [-180, 180] range, leaving the ones that already are |
|
Approximate distance in radians of points to the boundary of a polygon |
|
Compute relative cell coordinates for counter-clockwise vertex ordering. |
Classes
|
A box of longitudes and latitudes, where the longitude range may cross the dateline |
|
A circle of great circle distance around a point |
|
Find the indices of the points of a grid or cloud that are near a point or in a shape |
|
A polygon, which may be concave and cross the dateline |
|
A KD-tree of points on a sphere, defined by their longitudes and latitudes |