Skip to content

Commit

Permalink
latest from nitro
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Smith committed Jan 5, 2022
1 parent aff92f4 commit a535245
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions externals/nitro/modules/c++/nitf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,10 @@ coda_add_tests(
test_image_segment_computer.cpp
test_nitf_buffer_list.cpp
test_tre_mods++.cpp)

add_executable(show_nitf++ apps/show_nitf++.cpp)
target_link_libraries(show_nitf++ PRIVATE nitf-c++)

install(TARGETS show_nitf++
${CODA_INSTALL_OPTION}
RUNTIME DESTINATION "${CODA_STD_PROJECT_BIN_DIR}")
2 changes: 1 addition & 1 deletion externals/nitro/modules/c/nrt/source/Utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ static NRT_BOOL is_valid_dms(int degrees, int minutes, double seconds)
{
return NRT_FALSE;
}
if (fabs(seconds) >= 60.0)
if (fabs(seconds) > 60.0) // From Eric: allow slightly out-of-spec IGEOLO fields
{
return NRT_FALSE;
}
Expand Down

0 comments on commit a535245

Please sign in to comment.