public List<XmlWfsPoint> getFeatureMemberCoordinates() { List<XmlWfsPoint> resultList = new ArrayList<XmlWfsPoint>(); if (featureMemberList.size() > 0) { for (WfsFeatureMember featureMember : featureMemberList) { for (XmlWfsPoint point : featureMember.getGeometry().getCoordinates()) { resultList.add(point); } } } return resultList; }
public List<String> getFeatureMemberPropertyKey() { List<String> resultList = new ArrayList<String>(); if (featureMemberList.size() > 0) { WfsFeatureMember member = featureMemberList.get(0); List<WfsFeatureMemberProperty> properties = member.getProperties(); for (WfsFeatureMemberProperty property : properties) { resultList.add(property.getKey()); } } return resultList; }
public List<HashMap<String, String>> getFeatureMemberProperties() { List<HashMap<String, String>> resultList = new ArrayList<HashMap<String, String>>(); if (featureMemberList.size() > 0) { for (WfsFeatureMember featureMember : featureMemberList) { HashMap<String, String> map = new HashMap<String, String>(); for (WfsFeatureMemberProperty property : featureMember.getProperties()) { map.put(property.getKey(), property.getValue()); } resultList.add(map); } } return resultList; }