Apply cleaned diff for si-1.2
FIX: Unequal target and source width with small tiles.
Code cleanup.
Change GDAL locks to DS locks.
Adjust tiles even if bounding same LOD.
FIX: Drape blowouts when using non-level camera.
Add brackets for clarity.
Now fix brackets.
Add include file.
Convert round to osg::round.
FIX: Unequal target and source width with small tiles.
Convert tile edge resetting to use frame number.
Change some GDAL_DS locks for global locks.
Remove DS locks.
Change fseek ftell method for file size to fstat.
Restore all original locks.
Implement more accurate buffer calculations for subsampled gdal tiles.
Add comments to last code change.
Implement StoreIndices method. Check bounding tiles valid.
Reinstate DS locks for GDAL and remove other locks.