Commit cce8e511 authored by Marcel Reinmuth's avatar Marcel Reinmuth
Browse files

fixed 3D polygon issue for HOT TM import

parent 44fd5163
......@@ -301,6 +301,7 @@ def saveGeomAsShapefile(geometry, shapeName):
# save each polygon as feature in layer
for p in range(0, geometry.GetGeometryCount()):
da = geometry.GetGeometryRef(p)
if da.GetGeometryName()!='POLYGON':
print 'other geometry type: %s' % da.GetGeometryName()
print da
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment