I have been using an ElevationLayer successfully for a long time using the code below and version 2.9.0. I recently upgraded to 2.10.2 and now my elevation no longer works. Should the code be the same? Has anything changed in the latest versions that will likely cause my code to stop working?
gdalOptBaseElevation.url() = settingPtr->getBaseElevationURL();
if (settingPtr->getElevationProfile().length() > 0)
gdalOptBaseElevation.profile()->srsString() = settingPtr->getElevationProfile();
_baseElevationLayer = new ElevationLayer("Base Elevation", gdalOptBaseElevation);
Where my "URL" is set to: "C:\\topography\\topo15.grd"
And my elevation profile is set to: "+proj=longlat +ellps=WGS84 +datum=WGS84"
I am including the new version of gdal204.dll instead of gdal201.dll.