[Gdal-dev] Append two shapefiles

Mario Beauchamp starged at videotron.ca
Tue Dec 6 00:37:20 EST 2005


Hi Alex,

Alex Mandel wrote:
> 
> There's something wrong with the geometry line though. boa says that
> feat2.SetGeometry(pnt) has invalid syntax
> #Copy Feature table data
>         for fld_index in range(field_count):
>             fld_name = layerDef.GetFieldDefn(fld_index)
>             #if fld_list.has_key(fld_name.GetName()):
>             feat2.SetField(fld_index, \
> feat.GetField(fld_list.get(fld_name))

You're missing a ")" here             ^ :)

Bye
--
Mario B.




More information about the Gdal-dev mailing list