foxes.utils.from_lonlat(lonlat)[source]

Convert longitude and latitude to UTM coordinates.

Parameters

lonlat: array_like

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

Returns

xy: numpy.ndarray

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