foxes.utils.to_lonlat(xy)[source]

Convert UTM coordinates to longitude and latitude.

Parameters

xy: array_like

The cartesian coordinates, shape: (n_points, 2), where the last dimension is (x, y).

Returns

lonlat: numpy.ndarray

The longitude and latitude coordinates, shape: (n_points, 2), where the last dimension is (lon, lat).