SimpleFeature gtFeat = m_Iter.next();
Object values[] = new Object[gtFeat.getAttributeCount() - 1];
for (int i = 1; i < gtFeat.getAttributeCount(); i++) {
values[i - 1] = gtFeat.getAttribute(i);
}
IFeature feat = new FeatureImpl((Geometry) gtFeat.getDefaultGeometry(), values);
return feat;
}
else{
return null;
}