Thank you guys for the correction.
It seems I have copied an old polygon definition in my previous email (in my
last script, I have changed odd ',' with ' ' to set couples). The issue was
that I missed double brackets. However, the importFromWkt didn't work (Being
undefined in the python bindings,
Daniele Romagnoli wrote:
Hi list,
I'm creating a shapefile using the OGR python bindings. (from the 1.6.1
installer)
I have some issues in creating the boundingBox for it.
This is a snippet of the code I'm using:
-
from osgeo import ogr
from
Daniele,
Try: ogr.CreateGeometryFromWkt(wkt)
Best regards,
Even
Daniele Romagnoli a écrit :
Hi list,
I'm creating a shapefile using the OGR python bindings. (from the
1.6.1 installer)
I have some issues in creating the boundingBox for it.
This is a snippet of the code I'm using:
---
Hi list,
I'm creating a shapefile using the OGR python bindings. (from the 1.6.1
installer)
I have some issues in creating the boundingBox for it.
This is a snippet of the code I'm using:
-
from osgeo import ogr
from osgeo import osr
no