Skip to content
Snippets Groups Projects
Commit cdab4159 authored by acpaquette's avatar acpaquette
Browse files

Final integration with ALE changes

parent 1781d7df
No related branches found
No related tags found
No related merge requests found
...@@ -239,7 +239,7 @@ csm::ImageCoord UsgsAstroProjectedLsSensorModel::groundToImage( ...@@ -239,7 +239,7 @@ csm::ImageCoord UsgsAstroProjectedLsSensorModel::groundToImage(
PJ_CONTEXT *C = proj_context_create(); PJ_CONTEXT *C = proj_context_create();
/* Create a projection. */ /* Create a projection. */
PJ *isdProj = proj_create(C, m_projString.c_str()); PJ *isdProj = proj_create(C, (m_projString + " +type=crs").c_str());
if (0 == isdProj) { if (0 == isdProj) {
MESSAGE_LOG( MESSAGE_LOG(
spdlog::level::debug, spdlog::level::debug,
...@@ -316,7 +316,7 @@ csm::EcefCoord UsgsAstroProjectedLsSensorModel::imageToGround( ...@@ -316,7 +316,7 @@ csm::EcefCoord UsgsAstroProjectedLsSensorModel::imageToGround(
PJ_CONTEXT *C = proj_context_create(); PJ_CONTEXT *C = proj_context_create();
/* Create a projection. */ /* Create a projection. */
PJ *isdProj = proj_create(C, m_projString.c_str()); PJ *isdProj = proj_create(C, (m_projString + " +type=crs").c_str());
if (0 == isdProj) { if (0 == isdProj) {
MESSAGE_LOG( MESSAGE_LOG(
spdlog::level::debug, spdlog::level::debug,
...@@ -776,7 +776,7 @@ std::string UsgsAstroProjectedLsSensorModel::constructStateFromIsd( ...@@ -776,7 +776,7 @@ std::string UsgsAstroProjectedLsSensorModel::constructStateFromIsd(
json state = json::parse(imageSupportData); json state = json::parse(imageSupportData);
lsState["m_geoTransform"] = ale::getGeoTransform(state); lsState["m_geoTransform"] = ale::getGeoTransform(state);
lsState["m_projString"] = ale::getProjectionString(state); lsState["m_projString"] = ale::getProjection(state);
MESSAGE_LOG( MESSAGE_LOG(
spdlog::level::trace, spdlog::level::trace,
"m_geoTransform: {} " "m_geoTransform: {} "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment