This project is read-only.

Project (dspx) serialization and GDAL Imagery

Jan 20, 2014 at 8:44 PM
It appears that when I add a GDAL image to a DotSpatial Map and save the dspx file the serialization works, however if I go back and open that dspx file up again it always fails and says "Failed to read a portion of the specified map file: path_to_projectfile.dspx"

Do I have to run sort of custom serialization to save the imagery to the dspx file for later usage?

Jan 21, 2014 at 4:42 AM
Could you attach your GDAL image file? And describe full steps how to reproduce this? It seems it is a bug...
Jan 21, 2014 at 6:58 PM
This seems to happen even when using the DemoMap.exe.

1.) Start up DemoMap.exe
2.) Add a gdal imagery layer to the application
3.) Save the project file
4.) Close DemoMap.exe
5.) Reopen DemoMap.exe
6.) Open the saved project file
7.) -- Error Here --

Link to a relatively small sid file I was using for this test:
Jan 23, 2014 at 11:27 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jan 23, 2014 at 11:28 AM
Thank you for detailed description. Yes, it is a bug.
Marked as answer by jany_ on 9/9/2014 at 1:41 AM