Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cam2rpc and various planets #261

Open
oleg-alexandrov opened this issue May 16, 2019 · 2 comments
Open

cam2rpc and various planets #261

oleg-alexandrov opened this issue May 16, 2019 · 2 comments

Comments

@oleg-alexandrov
Copy link
Member

The tool cam2rpc was tested only for Earth, Moon, and Mars. Apparently it does not work well for other bodies. The fix would likely entail have this tool save the current planet's datum to the RPC files when creating them and use that one during stereo. The problem is likely that stereo does not know on what planet the RPC were made. It does have a --datum flag, but there is no standard datum string for most bodies unlike for Mars, etc.

@dpmayerUSGS
Copy link

There are, in fact a growing number of standardized datum names for other bodies in the solar system. Take a look at any of the *.wkt files here:
https://github.com/USGS-Astrogeology/GDAL_scripts/tree/master/OGC_IAU2000_WKT_v2

That entire repository is meant help provide planetary support for OGC-compliant web services, but the WKT representations can certainly be used for other purposes as well.

@oleg-alexandrov
Copy link
Member Author

Thanks. Good to know. Yes, we should revisit this. Our tools could also be made to take a projwin string that would encode the datum semi-axes and some other info. This tool was meant more like an experiment, the ISIS cameras (and upcoming CSM model) should be good enough. Its only purpose is to export the camera model into a "standard" and simple camera model that is supported by third party tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants