MapWinGIS: Gdal 3.4.0 Load Geotiff Not Show

Describe the bug Compiled with Gdal 3.4.0 and loaded the Geotiff file, it can not display normally (or does not display). When the function “ReadProjection” is commented out, it can be displayed normally, but I don’t know if there will be other problems. The reason why it cannot be displayed by debugging is the “DrawImage” function in" ImageDrawing.cpp". Code as below:

if (!WithinVisibleExtents(specs.xllCorner, specs.GetXtrCorner(), specs.yllCorner, specs.GetYtrCorner()))
{
     return NULL;
}

This always return NULL. Check it, please. Best wishes to you.

Expected behavior Can not show geotiff nomally.

Screenshots None.

Desktop

  • OS: Windows 10,64 bit.
  • Version [latest from github]

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 29 (13 by maintainers)

Most upvoted comments

@tangxiaodao It seems you know C++. Are you interested in helping fix the issue we have with upgrading LibSpatial? It is explained at libspatialindex/libspatialindex#224 (comment)

I’m sorry, I just see your this reply. I was busy with other work recently, so I didn’t have noticed your reply.