[GRASS-dev] [GRASS GIS] #2851: v.in.ogr: imports empty values as empty strings instead of NULL values

GRASS GIS trac at osgeo.org
Tue Jan 5 05:33:58 PST 2016


#2851: v.in.ogr: imports empty values as empty strings instead of NULL values
--------------------------+----------------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.3
 Component:  Default      |    Version:  svn-trunk
Resolution:               |   Keywords:  vector v.in.ogr null
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+----------------------------------
Changes (by mlennert):

 * keywords:   => vector v.in.ogr null
 * version:  unspecified => svn-trunk


Comment:

 v.in.ogr imports empty values in string fields (including date fields) as
 empty strings and not as NULL values.

 Is there any specific reason for that ?

 If not, I've attached a patch against trunk that changes that. But before
 applying, I would like to hear if anyone has an opinion on why this might
 or might not be a good idea.

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



More information about the grass-dev mailing list