Skip to content

Commit

Permalink
transfrom_point use explicit kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle committed Sep 15, 2023
1 parent 2a13d86 commit 521766e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/geovista/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ def transform_point(
.. versionadded:: 0.4.0
"""
result = transform_points(src_crs, tgt_crs, x, y, z, trap=trap)
result = transform_points(
src_crs=src_crs, tgt_crs=tgt_crs, xs=x, ys=y, zs=z, trap=trap
)
shape = result.shape
assert shape == (1, 3), f"Cannot transform point, got unexpected shape {shape}."
return result[0]
Expand Down

0 comments on commit 521766e

Please sign in to comment.