Estou tentando extrair uma LineStringgeometria do PostGIS e analisá-la com OGR (python bindinds). from osgeo import ogr import psycopg2 connection = psycopg2.connect("...") cursor = connection.cursor() query = "SELECT geom FROM points LIMIT 1" cursor.execute(query) row = cursor.fetchone() wkb...