Observations when working with SQLServer OGR datasource
1. In Ogr2Shape, MapWinGIS was handling the OGR Date type, but not handling the OGR DateTime type.
2. In TableClass, when converting from OGR types to Shapefile types, Width and Precision of a Real (Double) data type were coming in as zero, so we needed additional validation checks,
1. No conversion code changed related to Dates; only the case was added to account for DateTime along with Date. Otherwise a DateTime field would default to a String.
2. Error checking already existed for Precision being too small, but not for Width. Additionally, I accounted for the sign and decimal point that may be written, meaning that Precision could not be greater than (Width - 2).