[gdal-dev] ogr2ogr JSON -> Shapefile Failing

Even Rouault even.rouault at spatialys.com
Wed Apr 18 13:34:18 PDT 2018


On mercredi 18 avril 2018 20:00:40 CEST Cechini, Matthew F. (GSFC-423.0)
[Science Systems & Applications, Inc.] wrote:
> All,
>     Once upon a time (GDAL 1.x) I was able to convert the following JSON to
> Shapefile without errors.  However with GDAL 2.x I am not.  Any assistance
> you can provide is welcome.  I’m running a simple ` ogr2ogr -f "ESRI
> Shapefile" -preserve_fid <out> <in>` command.

Add " -fieldTypeToString Time" to force the conversion of time fields as 
strings.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list