ossimlabs / ossim

Core OSSIM (Open Source Software Image Map) package including C++ code for OSSIM library, command-line applications, tests, and build system
MIT License
294 stars 143 forks source link

Longitude cross over in LCC projection #288

Open ghansham opened 1 year ago

ghansham commented 1 year ago

If we have a coarsegrid with longitude having Dateline crossover +178 and -178, the LCC projection does not handle it properly. I tried to cross check with proj4 LCC implementation. For +178, the x y values are matching with proj 4 but not for -178.

ghansham commented 1 year ago

The reason may be that longitude wrap around has been are handled around in 2018 in proj4 in version 5.0 while seeing at the history of the ossim Lcc projection implementation there are no major changes in it after 2015