What is the best way to handle geometries between different Python functions? For example: I have a function that exports a line from grass.script. The line will be a parameter of another function where it will be passed in.
Is it best to export them to WKT, or safe them in a GPX, or GeoJSON? The formats OGR offers are endless. But which one is most recommended?