SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [
  2.   {
  3.     "type": "Feature",
  4.     "geometry": {
  5.       "type": "MultiPolygon"
  6.     },
  7.     "id": "94601"
  8.   },
  9.    {
  10.     "type": "Feature",
  11.     "geometry": {
  12.       "type": "MultiPolygon"
  13.     },
  14.     "id": "94801"
  15.   }
  16. ]
  17.      
  18. {
  19.     "type": "FeatureCollection",
  20.     "features":[
  21.   {
  22.     "type": "Feature",
  23.     "geometry": {
  24.       "type": "MultiPolygon"
  25.     },
  26.     "id": "94601"
  27.   },
  28.    {
  29.     "type": "Feature",
  30.     "geometry": {
  31.       "type": "MultiPolygon"
  32.     },
  33.     "id": "94801"
  34.   }
  35. ]
  36. }
  37.      
  38. import json
  39. f = open('/Users/Downloads/out_ca_california_zip_codes_geo.json', 'r')
  40. out_file = open("/Users/Downloads/outNew_ca_california_zip_codes_geo.json", "w")
  41. out_file.write(json.dumps(myFinalResult))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top