Skip to content

Instantly share code, notes, and snippets.

@daguar
Created June 23, 2014 01:42
Show Gist options
  • Save daguar/58d5ff3f8aecae17fdd7 to your computer and use it in GitHub Desktop.
Save daguar/58d5ff3f8aecae17fdd7 to your computer and use it in GitHub Desktop.
var ArcGIS = require('terraformer-arcgis-parser');
var geojson = ArcGIS.parse({"attributes":{"OBJECTID":1,"UNITNAME":"Admiral William Standley SRA","MgmtStat":"Park Unit or Property"},"geometry":{"rings":[[[-13761597.2359,4814839.6358999982],[-13761525.5836,4814901.4843000025],[-13761000.2678,4814910.8694999963],[-13760905.007300001,4814912.5741999969],[-13760565.695700001,4814918.6353999972],[-13760622.784499999,4814872.6111000031],[-13760668.9476,4814793.0847000033],[-13760674.622099999,4814764.3650000021],[-13760725.478700001,4814669.2823000029],[-13760695.670499999,4814646.4248000011],[-13760706.396400001,4814619.0486999974],[-13760804.101199999,4814662.186999999],[-13760873.4585,4814656.6824999973],[-13760917.006000001,4814585.2906000018],[-13760882.4077,4814508.256099999],[-13760907.517099999,4814462.2704999968],[-13761209.6734,4814565.1185000017],[-13761361.928300001,4814659.2875000015],[-13761409.311099999,4814656.9126999974],[-13761485.3971,4814602.7092999965],[-13761554.1358,4814600.0754999965],[-13761726.1337,4814754.0824000016],[-13761748.7048,4814789.0639000013],[-13761738.814300001,4814837.2563000023],[-13761659.1285,4814899.2572999969],[-13761597.2359,4814839.6358999982]]]}});
console.log(geojson);
console.log(geojson['geometry']['coordinates']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment