Convert Dictionary To Temp FeatureClass

1995
10
Jump to solution
12-18-2017 11:31 AM
JamesCrandall
MVP Frequent Contributor

What's fastest way to convert the dictionary below of polygon features into an in_memory feature class?

{
 "COUNTIES": [
  {
   "COUNTY": "COUNTY 1",
   "COUNTYRINGFEATURE": {
    "rings": [
     [
      [
       -8930981.5967,
       3040606.1534
      ],
      [
       -8930880.296,
       3040593.7322000004
      ],
      [
       -8930860.2585,
       3040604.911200002
      ],
      [
       -8930361.547,
       3040438.4703
      ],
      [
       -8929910.703,
       3040288.178100001
      ],
      [
       -8929241.6727,
       3040065.848200001
      ],
      [
       -8928384.5124,
       3039780.1779000014
      ],
      [
       -8928253.1552,
       3039740.4329000004
      ],
      [
       -8930981.5967,
       3040606.1534
      ]
     ]
    ]
   },
   "COUNTYOID": 50
  },
  {
   "COUNTY": "COUNTY 2",
   "COUNTYRINGFEATURE": {
    "rings": [
     [
      [
       -8947371.1721,
       3118264.7214
      ],
      [
       -8947243.1547,
       3118263.4723999985
      ],
      [
       -8946191.1852,
       3118252.2322999984
      ],
      [
       -8946173.3741,
       3118252.2322999984
      ],
      [
       -8946160.0158,
       3118250.9833999984
      ],
      [
       -8946099.9032,
       3118250.9833999984
      ],
      [
       -8945873.9246,
       3118249.7346
      ],
      [
       -8945723.6431,
       3118244.7388000004
      ],
      [
       -8945527.7209,
       3118244.7388000004
      ],
      [
       -8945303.9686,
       3118242.2410999984
      ],
      [
       -8945138.1025,
       3118238.4943999983
      ],
      [
       -8945100.2539,
       3118238.4943999983
      ],
      [
       -8941077.1663,
       3118199.7786
      ],
      [
       -8937553.9034,
       3118162.3117000014
      ],
      [
       -8947371.1721,
       3118264.7214
      ]
     ]
    ]
   },
   "COUNTYOID": 61
  }
 ]
}
10 Replies
NikSands
New Contributor II

thanks... updated the spatial ref

0 Kudos