I would like to use ogr2ogr to transform an input GML to WKT CSV, and from EPSG:27700 to EPSG:4326.
This is my command:
ogr2ogr -f CSV output.csv input.gml -sql "select id as gmlid, OGR_GEOM_WKT as geom from layer" -s_srs EPSG:27700 -t_srs EPSG:4326
It transforms the file to CSV just fine, but the WKT content is still EPSG:27700.
Do I need to do this as two separate steps? Or perhaps I need to do the transformation as part of the SQL command? Interested in why it's not working.