gdal icon indicating copy to clipboard operation
gdal copied to clipboard

Allow writing vector VRT from gdal.VectorTranslate

Open dbaston opened this issue 1 year ago • 0 comments

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

dbaston avatar May 29 '24 18:05 dbaston