Dear Users,
Occasionally, users encounter an error with their LANDIS installation due to a conflict with the GDAL library. Here's a typical message:
LANDIS-II 7.0 (7)
Internal error occurred within the program:
The type initializer for 'Landis.RasterIO.Gdal.RasterFactory' threw an exception.
The type initializer for 'Landis.RasterIO.Gdal.GdalSystem' threw an exception.
Stack trace:
at Landis.RasterIO.Gdal.RasterFactory..ctor()
Here are a few of the solutions people have found - and please reply with your own!
"Just fyi, I think I've fixed it. After all that, it turns out I installed .NET runtime 2.2 rather than .NET sdk 2.2. Glad it was just a simple mistake on my part and that I double-checked the detailed instructions! I've addressed that, and now LANDIS is running, so it seems like it is compatible with Windows 10 Pro."
"I figured out a solution: For whatever reason, Parallels [for Mac OS] did not allow for the full utilization of Windows. So, I repartitioned my hard drive with Bootcamp and reinstalled everything and that worked fine."
"1. Check the GDAL_DATA environment variable - if you don't see the GDAL_DATA path, add it, and run Landis to see if it works.
2. In my experience, GDAL installation is not straight forward. I would uninstall QGIS and GDAL completely and install them using the
OSGeo4W package. I am not sure that the installer adds the GDAL_DATA path. Try step 1 after the installation and run Landis."