Skip to content

Commit

Permalink
Merge pull request #47 from 20treeAI/fix/crs_parsing
Browse files Browse the repository at this point in the history
Fix/crs parsing
  • Loading branch information
roelofvandijkO authored May 22, 2024
2 parents 01ae8ab + ec54b51 commit ab675ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion s2p/rpc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def min_max_heights_from_bbx(im, lon_m, lon_M, lat_m, lat_M, rpc, exogenous_dem_
vertical_datum = [x for x in proj_crs.sub_crs_list if x.is_vertical][0]
crs_epsg = f"epsg:{horizontal_crs.to_epsg()}+{vertical_datum.to_epsg()}"
else:
crs_epsg = proj_crs.to_epsg()
crs_epsg = f"epsg:{proj_crs.to_epsg()}"
# convert lon/lat to im projection
x_im_proj, y_im_proj = geographiclib.pyproj_transform([lon_m, lon_M],
[lat_m, lat_M],
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def finalize_options(self):
}

setup(name="s2p",
version="1.6.4",
version="1.6.5",
description="Satellite Stereo Pipeline.",
long_description=readme(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit ab675ee

Please sign in to comment.