[GRASS-dev] [GRASS GIS] #3407: v.in.ogr fails to import ESRI Shapefile with empty attribute table cells

GRASS GIS trac at osgeo.org
Wed Aug 23 13:09:16 PDT 2017


#3407: v.in.ogr fails to import ESRI Shapefile with empty attribute table cells
----------------------+-------------------------
  Reporter:  mikatt   |      Owner:  grass-dev@…
      Type:  defect   |     Status:  new
  Priority:  normal   |  Milestone:
 Component:  Default  |    Version:  7.2.1
Resolution:           |   Keywords:
       CPU:  x86-64   |   Platform:  Linux
----------------------+-------------------------

Comment (by mmetz):

 Replying to [comment:8 rouault]:
 > > In order to preserve backwards compatibility for other software
 packages, GRASS will need to use OGR_F_SetFieldNull() starting with GDAL
 2.2 if data export should not change.
 >
 > Yes that only affects GeoJSON based drivers and GML, that are the only
 ones that can translate differently unset and NULL in the format. Other
 drivers will translate in the same way a unset field or a null field.

 OK, export from GRASS to OGR (v.out.ogr) has been adjusted in r71433,4
 (trunk, relbr72) such that exported data are the same independent of the
 GDAL version, important for compatibility with other software not (yet)
 using GDAL 2.2.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3407#comment:9>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list