Skip to content

Commit c40f4fd

Browse files
committedMar 31, 2025
gdaldem: allow -az zero or negative
1 parent 3854a57 commit c40f4fd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎apps/gdaldem_lib.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -4104,11 +4104,6 @@ GDALDEMProcessingOptions *GDALDEMProcessingOptionsNew(
41044104
throw std::invalid_argument("Invalid value for -alt");
41054105
}
41064106

4107-
if (psOptions->az <= 0)
4108-
{
4109-
throw std::invalid_argument("Invalid value for -az");
4110-
}
4111-
41124107
if (psOptions->bMultiDirectional && argParser->is_used_globally("-az"))
41134108
{
41144109
throw std::invalid_argument(

0 commit comments

Comments
 (0)
Failed to load comments.