[GRASS-user] Explain v.in.ogr error
Moritz Lennert
mlennert at club.worldonline.be
Thu Sep 12 02:28:09 PDT 2019
On 11/09/19 17:53, Rich Shepard wrote:
> 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)
Could it be that your FileGDB contains raster data ?
AFAIK, this not support by GDAL at the moment, and if it was, you would
have to use r.in.gdal, not v.in.ogr.
Moritz
More information about the grass-user
mailing list