[GRASS-dev] [GRASS GIS] #2499: GRASS70: v.in.ogr in does not handle "nan" in attribute tables properly
GRASS GIS
trac at osgeo.org
Tue Nov 25 02:33:05 PST 2014
#2499: GRASS70: v.in.ogr in does not handle "nan" in attribute tables properly
-----------------------------------------+----------------------------------
Reporter: sbl | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: unspecified
Keywords: v.in.ogr, DBMI, SQLite, nan | Platform: Unspecified
Cpu: Unspecified |
-----------------------------------------+----------------------------------
v.in.ogr in GRASS 7.0 (r58048) does not seem to handle "nan" in attribute
tables (of shape files) properly.
Looks like it is treated like a name of an attribute column.
When I try to import a shape file I get the following error message:
{{{
DBMI-SQLite driver error:
Error in sqlite3_prepare():
no such column: nan
}}}
After converting the shape-file to sqlite-format (ogr2ogr) in advance of
the import to GRASS, everything works fine.
Maybe "nan" got replaced by another type of NoData value during that
operaton...
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2499>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list