android客户端如何获取ArcgisFeaturelayer的field的数据

clunyes 发布于 2012/10/19 09:39
阅读 1K+
收藏 0

目前拿到的field只有以下信息

Fields:

  • OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID, Editable: False)
  • ID (Type: esriFieldTypeString, Alias: ID, Length: 50, Editable: True)
  • MC (Type: esriFieldTypeString, Alias: Name, Length: 50, Editable: True)
  • CJSJ (Type: esriFieldTypeString, Alias: CreateTime, Length: 50, Editable: True)
  • CJRID (Type: esriFieldTypeString, Alias: CJRID, Length: 50, Editable: True)
  • MS (Type: esriFieldTypeString, Alias: Description, Length: 50, Editable: True)
  • KSSJ (Type: esriFieldTypeDate, Alias: KSSJ, Length: 36, Editable: True)
  • JSSJ (Type: esriFieldTypeDate, Alias: JSSJ, Length: 36, Editable: True)

Field[] fields = BJQYLayer.getFields();
        for (int i = 0; i < fields.length; i++) {
            Field field = fields[i];
            field.toString();
            Log.i("----------------", field.toString());
        }

BJQYLayer是一个featurelayer

现在拿到的是字段的数据类型,字段里面的各个数据,应该怎么做?

加载中
返回顶部
顶部