private void parseFeatureSource(SimpleFeatureCollection features) {
try {
Logger.d("Features size: " + features.size());
SimpleFeatureIterator iterator = features.features();
SimpleFeatureImpl simpleFeature;
while (iterator.hasNext()) {
simpleFeature = (SimpleFeatureImpl) iterator.next();
if (simpleFeature != null) {
java.util.List list = (java.util.List) simpleFeature.getAttributes();
Collection<Properties> properties = (java.util.List) simpleFeature.getProperties();
//Logger.d("Feature " + list.size() + " " + properties.size());
/*for (int i = 0; i < list.size(); i++) {
if (list.get(i) != null) {
Logger.d("Feature " + list.get(i).toString());
}