Adapt UI to geometry dimension of selected layer in extension for
importing spatial data using GDAL/OGR

(references OpenFLUID/openfluid#6)