Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit eea6fb1

Browse files
fix: crs parsing
1 parent 01ae8ab commit eea6fb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s2p/rpc_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def min_max_heights_from_bbx(im, lon_m, lon_M, lat_m, lat_M, rpc, exogenous_dem_
111111
vertical_datum = [x for x in proj_crs.sub_crs_list if x.is_vertical][0]
112112
crs_epsg = f"epsg:{horizontal_crs.to_epsg()}+{vertical_datum.to_epsg()}"
113113
else:
114-
crs_epsg = proj_crs.to_epsg()
114+
crs_epsg = f"epsg:{proj_crs.to_epsg()}"
115115
# convert lon/lat to im projection
116116
x_im_proj, y_im_proj = geographiclib.pyproj_transform([lon_m, lon_M],
117117
[lat_m, lat_M],

0 commit comments

Comments
 (0)