I am using srtmreader class. When I set coordinates to
(-23.4,34.3)
_latitude_secs = -46.399999999999999
and in readHeight() function
unsigned temp_row = (unsigned) round(_latitude_secs *3600/3);
where temp_row is expected be row number in binary file but its value is 4294911616in 1201*1201file.
Thank you for reporting this, it is likely there is bug in the math code which converts the coordinates. I will investigate this issue. Tracking it under the other repository.
I am using srtmreader class. When I set coordinates to
and in r
eadHeight()
functionunsigned temp_row = (unsigned) round(_latitude_secs *3600/3);
wheretemp_row
is expected be row number in binary file but its value is4294911616
in1201*1201
file.