Convert geometry to gml format using ogr