[gdal-dev] ogr2ogr JSON -> Shapefile Failing
Cechini, Matthew F. (GSFC-423.0)[Science Systems & Applications, Inc.]
matthew.f.cechini at nasa.gov
Wed Apr 18 13:41:05 PDT 2018
Great, that worked. Now to figure out how to solve the "Warning 1: Feature id not preserved" error. I suspect if I dig long enough in google I'll find the key, but am hoping someone will see this and make my life easy.
Matt
.................................................................
Matthew Cechini
Contractor, Science Systems and Applications, Inc.
NASA GIBS Systems/Software Engineer
410.205.6272
On 4/18/18, 4:34 PM, "Even Rouault" <even.rouault at spatialys.com> wrote:
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