SimpleFeatureBuilder fb = new SimpleFeatureBuilder(sft);
fb.add(g);
SimpleFeature footprintFeature = fb.buildFeature(null);
SimpleFeatureStore fs = (SimpleFeatureStore) sds.getFeatureSource();
fs.addFeatures(DataUtilities.collection(footprintFeature));
sds.dispose();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}, null);