airbornegeo.reproject#
- reproject(x, y, input_crs, output_crs)[source]#
Convert coordinates from input CRS to output CRS.
- Parameters:
x (
ndarray[tuple[Any,...],dtype[TypeVar(_ScalarT, bound=generic)]] |Series) – coordinates of either easting or longitudey (
ndarray[tuple[Any,...],dtype[TypeVar(_ScalarT, bound=generic)]] |Series) – coordinates of either northing or latitudeinput_crs (
str) – input CRS in EPSG format, e.g. “epsg:4326” which can used for geographic data in degreesoutput_crs (
str) – output CRS in EPSG format, e.g. “epsg:3413”
- Returns:
a tuple of two arrays in the order earthing, northing, or longitude, latitude.
- Return type:
tuple[ndarray[tuple[Any,...],dtype[TypeVar(_ScalarT, bound=generic)]],ndarray[tuple[Any,...],dtype[TypeVar(_ScalarT, bound=generic)]]]