I am trying to import a .DGN with Grass v.in.ogr in QGIS. I am able to import the DGN perfectly, but I would like to filter the elements using the WHERE option. From searching, reading and testing I think it should be running correct, but it is erroring out. Any help would be appreciated. The attribute column holding the information I would like to Filter on is called Level and it is an Integer. I want to filter it on a value of 1 (see attached image).
ogr cannot read Microstation DGN files if the versions starting from 8.0. You could be using a newer version dgn file.
from the gdal ogr website,