Hi, The -dialect parameter in ogr2ogr does not have an effect when using VRT as datasource but could it be made to inject the selected dialect into SrcSQL element of the VRT? Thus ogr2ogr -dialect SQLITE would lead to <SrcSQL dialect="sqlite">SELECT ...</SrcSQL> -Jukka Rahkonen-