Selon "Henneke, Amanda M" :
Amanda,
The fundamental reason is a call ordering problem. You currently do :
FeatureDefn feadefPt = lyrPt.GetLayerDefn();
Feature feaPt = new Feature(feadefPt);
lyrPt.CreateField(flddefLandUse, 0);
which is wrong as you change the feature definition after having ins
Hello-
I'm trying to create a point shapefile of all the first points in the polygons
(from a poly shapefile) as shown below. I also want to assign some attributes
to the different point features. I am having some issues doing this. I get an
error on the "feaPt.SetField("LAND_USE", sLandUse)