ARCGIS JSON

  • Post author:
  • Post category:其他

ARCGIS JSON文件说明

{
  "displayFieldName" : "",
  "fieldAliases" : {
    "FID" : "FID",
    "PARENTID" : "PARENTID",
    "ORGTYPE" : "ORGTYPE",
    "ORGLEVEL" : "ORGLEVEL"
  },
  "geometryType" : "esriGeometryPolygon",
  "spatialReference" : {
    "wkid" : 4326,
    "latestWkid" : 4326
  },
  "fields" : [
    {
      "name" : "FID",
      "type" : "esriFieldTypeOID",
      "alias" : "FID"
    },
    {
      "name" : "PARENTID",
      "type" : "esriFieldTypeString",
      "alias" : "PARENTID",
      "length" : 254
    },
    {
      "name" : "ORGTYPE",
      "type" : "esriFieldTypeString",
      "alias" : "ORGTYPE",
      "length" : 254
    },
    {
      "name" : "ORGLEVEL",
      "type" : "esriFieldTypeString",
      "alias" : "ORGLEVEL",
      "length" : 254
    }
  ],
  "features" : [
    {
      "attributes" : {
        "FID" : 0,
        "PARENTID" : "0",
        "ORGTYPE" : "0",
        "ORGLEVEL" : "0"
      },
      "geometry" : {
        "rings" : [
          [
            [
              115.11078274540546,
              26.82874250923885
            ],
            [
              115.12377232187828,
              26.835311950213566
            ],
            [
              115.12810218070263,
              26.823666123031103
            ],
            [
              115.11123066183563,
              26.821725151834016
            ],
            [
              115.11078274540546,
              26.82874250923885
            ]
          ]
        ]
      }
    },
    {
      "attributes" : {
        "FID" : 1,
        "PARENTID" : "1",
        "ORGTYPE" : "1",
        "ORGLEVEL" : "1"
      },
      "geometry" : {
        "rings" : [
          [
            [
              115.12616120950554,
              26.808287658931079
            ],
            [
              115.13556745453764,
              26.803211272723161
            ],
            [
              115.12227926711137,
              26.797089748178507
            ],
            [
              115.11287302207938,
              26.808138353454297
            ],
            [
              115.13019245737655,
              26.819485569683536
            ],
            [
              115.12616120950554,
              26.808287658931079
            ]
          ]
        ]
      }
    }
  ]
}

具体说明

  • fieldAliases 字段名称列表

    • ”FID”
    • “ORGTYPE”
    • 以上内容 皆为arcgis ShapeFile 中的字段名称
  • geometryType 数据类型

    • polygon
    • point
    • polyline
    • 以上内容是arcgis 创建点线面时候所赋予
  • spatialReference 坐标系
    • 坐标系名称
  • fields 字段名称设置
    • name 字段名
    • type 数据类型 int long string double float date
    • alias 别名
    • length 字段长度
  • features 属性
    • attributes
      • ”FID” : 0,
      • “PARENTID” : “0”,
      • “ORGTYPE” : “0”,
      • “ORGLEVEL” : “0”
        以上内容是相关属性信息
    • geometry
      • rings 坐标数据

相关工具

这里写图片描述


版权声明:本文为staHuri原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。