coord_transform

Luo_Suppe2026-08-15

gma.smc.query.coord_transform

[function] coord_transform(points, in_crs = "WGS84", out_crs = "EPSG:4490"):

Transform the coordinates of the input point to the coordinates of the target coordinate system.

Parameters:

points: list||tuple||array.

The X (longitude), Y (latitude) coordinates (and Z (elevation), if any) of the point (or multiple points) to be transformed.

**Optional:

in_crs = str||int||CoordinateReferenceSystem. Default 'WGS84'.

Coordinate system. Can be EPSG, WKT, Proj4, and other types of coordinate characters or CoordinateReferenceSystem class.

out_crs = str||int||CoordinateReferenceSystem. Default 'WGS84'.

Coordinate system. Can be EPSG, WKT, Proj4, and other types of coordinate characters or CoordinateReferenceSystem class.

Returns:

Type: array.

Last Updated 8/19/2026, 6:10:59 AM