This project has moved. For the latest updates, please go here.

GDAL and threads

Topics: SharpMap v0.9 / v1.x
Mar 27, 2013 at 1:06 PM
I realize that this is not a bug. I am just asking here: Is there a thread safe version of GDAL? If there is, could it be used w/in SharpMap?
Mar 28, 2013 at 2:48 PM
In the event someone else has a similiar issue. To answer myself.

Well, yes and no. GDAL 1.9.2 IS the latest and greatest so that is what it is. It is obvious to me that the MrSiD driver is NOT thread safe. I have read that some are but I am out of luck on that front.

Since I have to refresh the map prior to capturing the map image for varies other applications, I set up a ManualResetEvent around mapBox.MapRefreshed and this seems to work fine.