ThinkGeo.com    |     Documentation    |     Premium Support

Issue when re-projecting Raster Layers

In our continuing efforts to upgrade our application from TG 10 to TG 14 we discovered a problem when attempting to re-project raster layers. These layers display properly when displayed without applying a GdalProjectionConverter, but display as a solid black rectangle when projected into a different coordinate system. If a KeyColor is added (Black) the layers does not draw at all.

I have attached a sample project which will display a GeoTiff or a Jpeg, which you can adjust by commenting and un-commenting the code in the main form.

I was having problems reproducing this issue in the sample project until I compared the NuGet packages between our application and the sample. The sample project was using ThinkGeo.Gdal.Dependency.Windows v14.01 and our application is using v14.2.0. When I upgraded to v14.2.0 in the sample project I was able to reproduce the problem.

As always, thanks for any help!

Steve
ThinkGeo_14_Raster_Issue.zip (3.2 MB)

Hi Steve, just FYI this issue was recreated and we are still on it.

Hi Steve,

This issue has been fixed in the beta packages and will also be included in the upcoming v14.5 release, expected by the end of this month.

Thanks,
Ben