Andriod for arcgis 字段属性

Feature pFeature = selFeatureLayer.getFeature(8);
Log.d("FID===", "" + pFeature.getId()+":");
Map<String,Object>     atts=   pFeature.getAttributes();
//得到包含所有属性的Map集合,并进行遍历之后将属性和属性值打印在Log的上
Set<Map.Entry<String ,Object>> ents= atts.entrySet();
for(Map.Entry<String ,Object> ent:ents){
    Log.i("Attribute ",ent.getKey()+"  :  "+ent.getValue());
}

 

posted on 2017-02-10 14:28  gisoracle  阅读(191)  评论(0编辑  收藏  举报