[GRASS-user] Explain v.in.ogr error
Rich Shepard
rshepard at appl-ecosys.com
Wed Sep 11 08:53:51 PDT 2019
Trying to import an ESRI FileGDB with 10m DEM for Oregon. I don't understand
what I've done incorrectly and would appreciate learning from the grass
command error message.
Input file is OR_DEM_10M.gdb
$ ogrinfo -al -so
Geometry: Multi Polygon
Feature Count: 1
Extent: (-106508955.000000, -85400955.000000) - (109133655.000000, 130241655.000000)
Layer SRS WKT:
PROJCS["NAD_1983_Oregon_Statewide_Lambert_Feet_Intl",
GEOGCS["GCS_North_American_1983",
DATUM["North_American_Datum_1983",
SPHEROID["GRS_1980",6378137.0,298.257222101]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]],
PROJECTION["Lambert_Conformal_Conic_2SP"],
PARAMETER["False_Easting",1312335.958005249],
PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",-120.5],
PARAMETER["Standard_Parallel_1",43.0],
PARAMETER["Standard_Parallel_2",45.5],
PARAMETER["Latitude_Of_Origin",41.75],
UNIT["Foot",0.3048]]
FID Column = OID
Geometry Column = FOOTPRINT
RASTER: Binary (0.0)
FOOTPRINT_Length: Real (0.0)
FOOTPRINT_Area: Real (0.0)
Run error:
v.in.ogr input=/data/grassdata/OR_DEM_10M.gdb output=dem10m
Check if OGR layer <DEM_10meter_Oregon> contains polygons...
Creating attribute table for layer <DEM_10meter_Oregon>...
WARNING: Column type (Ogr_ftype: 8) not supported (Ogr_fieldname: RASTER)
Importing 1 features (OGR layer <DEM_10meter_Oregon>)...
DBMI-SQLite driver error:
Error in sqlite3_prepare():
table dem10m has 4 columns but 3 values were supplied
DBMI-SQLite driver error:
Error in sqlite3_prepare():
table dem10m has 4 columns but 3 values were supplied
ERROR: Cannot insert new row for input layer <DEM_10meter_Oregon>: insert into dem10m values ( 1, 862570440, 4.65017352476121e+16 )
(Wed Sep 11 08:48:30 2019) Command finished (0 sec)
Is the .gdb download corrupted?
Regards,
Rich
More information about the grass-user
mailing list