Mr SID Example

Apr 25, 2011 at 6:30 PM

Does someone have an example of how to add Mr SID layer to a map? Or let me know where

to look. It would be much appreciated.

Thanks.

Jun 1, 2011 at 9:28 PM
Edited Jun 1, 2011 at 9:28 PM

I tried to add a .sid file with the example map project and it returned a format not supported exception. Are mrsid files really supported???

Developer
Jun 1, 2011 at 9:57 PM

Make sure whereever your GDAL is deployed that you have included the gdalplugins folder and that it includes gdal_MrSID.dll

HTH

Jun 9, 2011 at 7:49 PM

I started looking around for examples on how to ensure that GDAL was configured and working correctly, and had more success. To add mr sid filed to the map i had to download the pre-compiled version of dot spatial (x64 or x86 as appropriate). I then had to download and build the test projects, and then copy the example map exe file from the debug project into the root folder of the downloaded executable. I found a reference to the most recent visual studio project file haveing some incorrect settings, and this must be the cause of the problems i was having.