[gdal-dev] Can't convert .dgn file to shape file by using ogr2ogr

Even Rouault even.rouault at mines-paris.org
Thu Jul 12 02:31:25 PDT 2012

Selon taibc <taibc_coltech at yahoo.com>:

> Thanks Even Rouault,
> I tried as you said, but still got the error:
> /C:\dc16>ogr2ogr Dc16_lines.shp Dc16.dgn -where "ORG_GEOMETRY =
> 'LINESTRING'" -nln Dc16_lines
> ERROR 1: Failed to identify field:ORG_GEOMETRY

There is a typo in your command line. It is OGR_GEOMETRY. No magic here : see
http://gdal.org/ogr/ogr_sql.html for the explanations

More information about the gdal-dev mailing list