[gdal-dev] convert to ESRI Shapefile- datetime as a string?

Ashley Mort ashley_c_mort at raytheon.com
Fri Jun 17 07:51:51 PDT 2022


We are using GDAL 3.4.1 to convert GeoJSON to ESRI Shapefile with ogr2ogr.  Our source data has a datetime field with content like "2022-07-09T23:59:59.000000Z" and in the resultant Shapefile it shows up as 7/9/2002.

Is there a way to get the ISO datetime into the Shapefile as a string instead of the truncated date?

Thanks!

Ashley Mort
Sr. Software Engineer
972-638-6317 office
814-571-3039 cell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220617/0759dfb4/attachment.htm>


More information about the gdal-dev mailing list