[gdal-dev] OGR precision vs Scale and DateTime values not set
Markus Neteler
neteler at osgeo.org
Sun Dec 30 08:46:03 EST 2007
On Dec 29, 2007 9:19 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Clay, Bruce wrote:
...
> > Also the DateTime fields are not getting set. If I use the
> > DisplayFeature method in the c# createData.cs example, the date time
> > fields appear to be set properly (2006/10/10 9:00:00) but is I use
> > ogrinfo –al the the date fields are not set.
>
> Are you working with Shapefiles? I think the shapefile driver only
> supports date fields, not datetime or time. But I would expect that
> at least the date would be handled. If you can file a bug demonstrating
> broken OFTDate field support, I would appreciate that.
It would be a nice-to-have also for GRASS:
cd grass63/db/drivers/dbf
[neteler at localhost dbf]$ grep -i date *
...
dbfexe.c: case (SQLP_DATE): /* DATE treated as string unless
SHAPELIB/DBFLIB supports date type */
This is a working but ugly approach...
Markus
More information about the gdal-dev
mailing list