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

Commit ab675ee

Browse files
Merge pull request #47 from 20treeAI/fix/crs_parsing
Fix/crs parsing
2 parents 01ae8ab + ec54b51 commit ab675ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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],

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def finalize_options(self):
6363
}
6464

6565
setup(name="s2p",
66-
version="1.6.4",
66+
version="1.6.5",
6767
description="Satellite Stereo Pipeline.",
6868
long_description=readme(),
6969
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)