gdal
gdal copied to clipboard
Allow writing vector VRT from gdal.VectorTranslate
Feature description
The vector VRT format offers a tremendously useful capability for lazily performing transformations on vector layers. However, the files currently must be authored by hand. The proposed enhancement would allow ogr2ogr to write VRT files, using arguments such as -sql and -t_srs to create and serialize a OGRVRTLayer, OGRVRTWarpedLayer, etc.
Implementing pfnVectorTranslateFrom in OGRVRTDriver may be a possible means to implement the functionality.
Additional context
No response