russia_fd.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. [{
  2. "name": "read_data",
  3. "file_name": "/Users/kirilllebedev/Maps/ne_10m_admin_1_states_provinces_lakes/ne_10m_admin_1_states_provinces_lakes.shp"
  4. },{
  5. "name": "remove",
  6. "where": "iso_a2 != 'RU' or objectid_1 == '3637'"
  7. },{
  8. "name": "join_data",
  9. "data": [
  10. ["RU-CE", "2515"],
  11. ["RU-CE", "2505"],
  12. ["RU-CE", "2491"],
  13. ["RU-CE", "2497"],
  14. ["RU-CE", "2492"],
  15. ["RU-CE", "2507"],
  16. ["RU-CE", "2508"],
  17. ["RU-CE", "2510"],
  18. ["RU-CE", "2509"],
  19. ["RU-CE", "2511"],
  20. ["RU-CE", "2519"],
  21. ["RU-CE", "2506"],
  22. ["RU-CE", "2520"],
  23. ["RU-CE", "2513"],
  24. ["RU-CE", "2494"],
  25. ["RU-CE", "2521"],
  26. ["RU-CE", "2522"],
  27. ["RU-CE", "2496"],
  28. ["RU-FE", "2718"],
  29. ["RU-FE", "2485"],
  30. ["RU-FE", "2719"],
  31. ["RU-FE", "3561"],
  32. ["RU-FE", "2709"],
  33. ["RU-FE", "2716"],
  34. ["RU-FE", "2689"],
  35. ["RU-FE", "2717"],
  36. ["RU-FE", "2551"],
  37. ["RU-NC", "2534"],
  38. ["RU-NC", "2500"],
  39. ["RU-NC", "2499"],
  40. ["RU-NC", "2185"],
  41. ["RU-NC", "2490"],
  42. ["RU-NC", "2501"],
  43. ["RU-NC", "2502"],
  44. ["RU-NW", "2486"],
  45. ["RU-NW", "2362"],
  46. ["RU-NW", "2524"],
  47. ["RU-NW", "2482"],
  48. ["RU-NW", "2488"],
  49. ["RU-NW", "2489"],
  50. ["RU-NW", "2503"],
  51. ["RU-NW", "2504"],
  52. ["RU-NW", "2484"],
  53. ["RU-NW", "2481"],
  54. ["RU-NW", "2495"],
  55. ["RU-SI", "2543"],
  56. ["RU-SI", "2544"],
  57. ["RU-SI", "2721"],
  58. ["RU-SI", "2545"],
  59. ["RU-SI", "2722"],
  60. ["RU-SI", "2547"],
  61. ["RU-SI", "2542"],
  62. ["RU-SI", "2724"],
  63. ["RU-SI", "2546"],
  64. ["RU-SI", "2540"],
  65. ["RU-SI", "2723"],
  66. ["RU-SI", "2727"],
  67. ["RU-SO", "2221"],
  68. ["RU-SO", "2516"],
  69. ["RU-SO", "2498"],
  70. ["RU-SO", "2529"],
  71. ["RU-SO", "2512"],
  72. ["RU-SO", "2514"],
  73. ["RU-UR", "2535"],
  74. ["RU-UR", "2541"],
  75. ["RU-UR", "2536"],
  76. ["RU-UR", "2537"],
  77. ["RU-UR", "2539"],
  78. ["RU-UR", "2487"],
  79. ["RU-VO", "2528"],
  80. ["RU-VO", "2525"],
  81. ["RU-VO", "2526"],
  82. ["RU-VO", "2493"],
  83. ["RU-VO", "2538"],
  84. ["RU-VO", "2518"],
  85. ["RU-VO", "3284"],
  86. ["RU-VO", "2523"],
  87. ["RU-VO", "2517"],
  88. ["RU-VO", "2532"],
  89. ["RU-VO", "2530"],
  90. ["RU-VO", "2531"],
  91. ["RU-VO", "2527"],
  92. ["RU-VO", "2533"]
  93. ],
  94. "fields": [{
  95. "name": "distr_code",
  96. "type": 4,
  97. "width": 5
  98. },{
  99. "name": "OBJECTID_1",
  100. "type": 4,
  101. "width": 9
  102. }],
  103. "on": "OBJECTID_1"
  104. },{
  105. "name": "union",
  106. "by": "distr_code"
  107. },{
  108. "name": "join_data",
  109. "data": [
  110. ["RU-CE", "Central Federal District"],
  111. ["RU-FE", "Far Eastern Federal District"],
  112. ["RU-NC", "North Caucasian Federal District"],
  113. ["RU-NW", "Northwestern Federal District"],
  114. ["RU-SI", "Siberian Federal District"],
  115. ["RU-SO", "Southern Federal District"],
  116. ["RU-UR", "Ural Federal District"],
  117. ["RU-VO", "Volga Federal District"]
  118. ],
  119. "fields": [{
  120. "name": "distr_code",
  121. "type": 4,
  122. "width": 5
  123. },{
  124. "name": "distr_name",
  125. "type": 4,
  126. "width": 100
  127. }],
  128. "on": "distr_code"
  129. },{
  130. "name": "remove_other_fields",
  131. "fields": ["distr_code", "distr_name"]
  132. },{
  133. "name": "write_data",
  134. "file_name": "/Users/kirilllebedev/Maps/russia_fd/russia_fd.shp"
  135. }]