meteoalarm 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +14 -0
  3. data/Gemfile +16 -0
  4. data/Gemfile.lock +44 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +90 -0
  7. data/Rakefile +14 -0
  8. data/countries/austria.json +116122 -0
  9. data/countries/belgium.json +369 -0
  10. data/countries/bosnia-herzegovina.json +474 -0
  11. data/countries/bulgeria.json +1084 -0
  12. data/countries/croatia.json +129694 -0
  13. data/countries/cyprus.json +67 -0
  14. data/countries/czechia.json +839 -0
  15. data/countries/denmark.json +2359 -0
  16. data/countries/estonia.json +838 -0
  17. data/countries/finland.json +3546 -0
  18. data/countries/france.json +4601 -0
  19. data/countries/germany.json +13918 -0
  20. data/countries/greece.json +1958 -0
  21. data/countries/hungary.json +545 -0
  22. data/countries/iceland.json +653 -0
  23. data/countries/ireland.json +1949 -0
  24. data/countries/israel.json +1733 -0
  25. data/countries/italy.json +3192 -0
  26. data/countries/latvia.json +164392 -0
  27. data/countries/lithuania.json +556 -0
  28. data/countries/luxembourg.json +52 -0
  29. data/countries/malta.json +47 -0
  30. data/countries/moldova.json +1609 -0
  31. data/countries/montenegro.json +193 -0
  32. data/countries/netherlands.json +956 -0
  33. data/countries/norway.json +7295 -0
  34. data/countries/poland.json +16858 -0
  35. data/countries/portugal.json +5923 -0
  36. data/countries/republic-of-north-macedonia.json +908 -0
  37. data/countries/romania.json +2122 -0
  38. data/countries/serbia.json +881 -0
  39. data/countries/slovenia.json +256 -0
  40. data/countries/slovkia.json +2628 -0
  41. data/countries/spain.json +14032 -0
  42. data/countries/sweden.json +3660 -0
  43. data/countries/switzerland.json +30511 -0
  44. data/countries/united-kingdom.json +98131 -0
  45. data/lib/meteoalarm/country_mapping.rb +41 -0
  46. data/lib/meteoalarm/tasks/areas.rake +17 -0
  47. data/lib/meteoalarm/tasks/countries.rake +10 -0
  48. data/lib/meteoalarm/version.rb +5 -0
  49. data/lib/meteoalarm.rb +185 -0
  50. metadata +93 -0
@@ -0,0 +1,256 @@
1
+ [
2
+ {
3
+ "code": "SI010",
4
+ "area": "Southeast",
5
+ "coordinates": [
6
+ [
7
+ [15.235952696077504, 46.07229347658853],
8
+ [15.619332681580886, 46.05948190058581],
9
+ [15.663218043646282, 46.06700458743438],
10
+ [15.690067015572025, 46.04719539876754],
11
+ [15.665375476769668, 46.02469236495414],
12
+ [15.475013586098328, 45.879734183307505],
13
+ [15.35659094296898, 45.788940379166036],
14
+ [15.329213673068805, 45.75958641566524],
15
+ [15.310137844547057, 45.712810586906244],
16
+ [15.229443969463832, 45.4563331482334],
17
+ [15.222427118427618, 45.41796519614274],
18
+ [15.18637971342548, 45.43423262137702],
19
+ [14.841747111541224, 45.53772285817627],
20
+ [14.661357150316917, 45.591376801614274],
21
+ [14.627690422138299, 45.590726278604556],
22
+ [14.593416854650059, 45.58599804771245],
23
+ [14.578675030650457, 45.61118812728864],
24
+ [14.51266172265099, 45.819849054566134],
25
+ [14.504809995628989, 45.854888106369394],
26
+ [14.538885001466953, 45.86673453821145],
27
+ [14.743193175325414, 45.883995084598666],
28
+ [14.756794562182904, 45.944384344522405],
29
+ [14.766320926479978, 46.003780248642954],
30
+ [14.861642194213061, 46.003947771002174],
31
+ [14.893188138110816, 46.001080285159276],
32
+ [14.985710863117106, 45.96628364311135],
33
+ [15.014450005678837, 45.96146018031396],
34
+ [15.17237285705545, 46.070206683602116],
35
+ [15.201993787464174, 46.07578677879269],
36
+ [15.235952696077504, 46.07229347658853]
37
+ ]
38
+ ],
39
+ "type": "Polygon"
40
+ },
41
+ {
42
+ "code": "SI009",
43
+ "area": "Central",
44
+ "coordinates": [
45
+ [
46
+ [14.575044157674311, 46.23134500138082],
47
+ [14.801905271720669, 46.19362756577266],
48
+ [14.842839927185421, 46.200344374598046],
49
+ [14.885443811290486, 46.212731425768595],
50
+ [14.919974178350401, 46.19918426300688],
51
+ [15.069125292635249, 46.18758007960071],
52
+ [15.111594941718636, 46.178224088407376],
53
+ [15.173808792501914, 46.10112499937463],
54
+ [15.201993787464174, 46.07578677879269],
55
+ [15.17237285705545, 46.070206683602116],
56
+ [15.014450005678837, 45.96146018031396],
57
+ [14.985710863117106, 45.96628364311135],
58
+ [14.893188138110816, 46.001080285159276],
59
+ [14.861642194213061, 46.003947771002174],
60
+ [14.766320926479978, 46.003780248642954],
61
+ [14.756794562182904, 45.944384344522405],
62
+ [14.743193175325414, 45.883995084598666],
63
+ [14.538885001466953, 45.86673453821145],
64
+ [14.504809995628989, 45.854888106369394],
65
+ [14.475378865039488, 45.861286340170864],
66
+ [14.440189511489505, 45.85824959811981],
67
+ [14.38883046798594, 45.86333990231145],
68
+ [14.259267111636687, 45.928351538144966],
69
+ [14.221158039950978, 45.95452506909265],
70
+ [14.198993281664116, 45.979821395532774],
71
+ [14.1711054972007, 46.001184006028154],
72
+ [14.198363690087035, 46.03789153336959],
73
+ [14.228566015623016, 46.0598714767367],
74
+ [14.362228821858423, 46.14399579920848],
75
+ [14.395047138594634, 46.162090808348296],
76
+ [14.539967810267626, 46.230312021759005],
77
+ [14.575044157674311, 46.23134500138082]
78
+ ]
79
+ ],
80
+ "type": "Polygon"
81
+ },
82
+ {
83
+ "code": "SI006",
84
+ "area": "Northeast",
85
+ "coordinates": [
86
+ [
87
+ [16.553359838245107, 46.49264624823413],
88
+ [16.519380024113417, 46.4942790537451],
89
+ [16.420915340476224, 46.52469980948258],
90
+ [16.39017492118597, 46.53109775011346],
91
+ [16.324724150156996, 46.52549999046503],
92
+ [16.278848705848677, 46.51697392279324],
93
+ [16.2376439367927, 46.50031259868042],
94
+ [15.928988919749543, 46.349566082265596],
95
+ [15.660440515396251, 46.21689823271262],
96
+ [15.636729734281653, 46.19458055548716],
97
+ [15.61127313500421, 46.16126966804799],
98
+ [15.605175130310121, 46.11439733128371],
99
+ [15.62625208785659, 46.0932478045639],
100
+ [15.66321804364623, 46.06700458743436],
101
+ [15.619332681580824, 46.0594819005858],
102
+ [15.235952696077428, 46.072293476588456],
103
+ [15.201993787464117, 46.07578677879258],
104
+ [15.173808792501829, 46.10112499937464],
105
+ [15.111594941718648, 46.17822408840729],
106
+ [15.069125292635283, 46.18758007960062],
107
+ [14.91997417835042, 46.199184263006885],
108
+ [14.885443811290509, 46.21273142576861],
109
+ [14.879638754651388, 46.23835886450027],
110
+ [14.841243193835576, 46.24989443273806],
111
+ [14.722378707100425, 46.26206794546197],
112
+ [14.689692667717223, 46.27652030015186],
113
+ [14.60837341380889, 46.366337720706035],
114
+ [14.583922061908083, 46.39011065371619],
115
+ [14.603908634220181, 46.40792153580679],
116
+ [14.689901323200516, 46.4599634400561],
117
+ [14.804852919459938, 46.535093124552134],
118
+ [14.826117251437232, 46.54955647591937],
119
+ [14.896300749131974, 46.601842343007746],
120
+ [14.921796004460397, 46.617034620068296],
121
+ [15.016967173489256, 46.64253519420639],
122
+ [15.052595975584723, 46.64901678640987],
123
+ [15.383607228665047, 46.65185333161855],
124
+ [15.42629033393323, 46.653156211724834],
125
+ [15.657344748086997, 46.68679056474046],
126
+ [15.8597722705208, 46.71581066277477],
127
+ [15.887977285312438, 46.720937788356466],
128
+ [15.966045857174201, 46.74539257444106],
129
+ [15.987088694762619, 46.76164245788462],
130
+ [15.993149447325457, 46.80222085913151],
131
+ [16.01426821434861, 46.8431973756984],
132
+ [16.062016030685108, 46.853055316534295],
133
+ [16.116823041429647, 46.8721342592503],
134
+ [16.134968761960522, 46.850202764955704],
135
+ [16.378110172445304, 46.65045484358073],
136
+ [16.52908329304754, 46.52529707275848],
137
+ [16.553359838245107, 46.49264624823413]
138
+ ]
139
+ ],
140
+ "type": "Polygon"
141
+ },
142
+ {
143
+ "code": "SI007",
144
+ "area": "Northwest",
145
+ "coordinates": [
146
+ [
147
+ [14.879638754651353, 46.2383588645003],
148
+ [14.885443811290486, 46.212731425768595],
149
+ [14.842839927185421, 46.200344374598046],
150
+ [14.801905271720669, 46.19362756577266],
151
+ [14.575044157674311, 46.23134500138082],
152
+ [14.539967810267626, 46.230312021759005],
153
+ [14.395047138594634, 46.162090808348296],
154
+ [14.362228821858423, 46.14399579920848],
155
+ [14.228566015623016, 46.0598714767367],
156
+ [14.198363690087035, 46.03789153336959],
157
+ [14.1711054972007, 46.001184006028154],
158
+ [14.148686409871914, 45.98016241933402],
159
+ [14.072125346627729, 45.88845778086152],
160
+ [14.041109030921518, 45.890630161784486],
161
+ [13.875914481552911, 46.007933564304494],
162
+ [13.654458160285401, 46.16389261999626],
163
+ [13.623741033182, 46.17995369788042],
164
+ [13.628431272348676, 46.21933211238422],
165
+ [13.698408877295774, 46.468175066480455],
166
+ [13.707092973539261, 46.51004631567241],
167
+ [13.747838684917895, 46.517004053499534],
168
+ [14.072100625763767, 46.48853148144178],
169
+ [14.10709522640809, 46.483208664718404],
170
+ [14.29431547765216, 46.448718249135766],
171
+ [14.54353845853393, 46.40221797185268],
172
+ [14.58392206190814, 46.39011065371619],
173
+ [14.608373413808865, 46.36633772070615],
174
+ [14.689692667717281, 46.27652030015196],
175
+ [14.722378707100459, 46.26206794546203],
176
+ [14.841243193835622, 46.24989443273813],
177
+ [14.879638754651353, 46.2383588645003]
178
+ ]
179
+ ],
180
+ "type": "Polygon"
181
+ },
182
+ {
183
+ "code": "SI008",
184
+ "area": "Southwest",
185
+ "coordinates": [
186
+ [
187
+ [14.04110903092163, 45.8906301617846],
188
+ [14.072125346627843, 45.88845778086164],
189
+ [14.148686409872026, 45.98016241933408],
190
+ [14.171105497200811, 46.00118400602821],
191
+ [14.19899328166423, 45.979821395532895],
192
+ [14.221158039950922, 45.95452506909277],
193
+ [14.259267111636632, 45.92835153814502],
194
+ [14.388830467986052, 45.863339902311566],
195
+ [14.44018951148962, 45.85824959811987],
196
+ [14.475378865039602, 45.86128634017098],
197
+ [14.504809995628932, 45.854888106369515],
198
+ [14.512661722651105, 45.81984905456619],
199
+ [14.578675030650404, 45.611188127288756],
200
+ [14.593416854650172, 45.585998047712565],
201
+ [14.519248805277131, 45.57572443275927],
202
+ [14.481560208714939, 45.56657571902639],
203
+ [14.257646609397568, 45.50385078066],
204
+ [14.22103932008889, 45.49040780279512],
205
+ [14.193290780302277, 45.487695486635005],
206
+ [14.131225520095825, 45.478643694469554],
207
+ [13.851231824729041, 45.47976654847156],
208
+ [13.746593570450614, 45.47994109891994],
209
+ [13.581904223456036, 45.4818292464459],
210
+ [13.725431248605672, 45.59967654614104],
211
+ [13.725456655646438, 45.6015000758004],
212
+ [13.734870966583458, 45.59857496206001],
213
+ [13.762106046605993, 45.602365960230316],
214
+ [13.788264511170723, 45.58733542827883],
215
+ [13.821375094524567, 45.58584967523166],
216
+ [13.859801775625499, 45.59614479908373],
217
+ [13.888667850811316, 45.6164356967376],
218
+ [13.91314947637153, 45.63662625956192],
219
+ [13.89435249395683, 45.662478815956206],
220
+ [13.802108639165112, 45.73596126086642],
221
+ [13.771218691056731, 45.75194844465585],
222
+ [13.710226359613387, 45.77752811308517],
223
+ [13.67706778818524, 45.793211373718805],
224
+ [13.645672358283546, 45.822566226645165],
225
+ [13.518517906930127, 45.96198305424718],
226
+ [13.498057863642089, 45.98609974317202],
227
+ [13.487721058254806, 46.01309415051969],
228
+ [13.500603895920449, 46.04063958542548],
229
+ [13.52051436671411, 46.07320114149559],
230
+ [13.5957414753193, 46.16046414213935],
231
+ [13.623741033182114, 46.179953697880535],
232
+ [13.654458160285342, 46.163892619996375],
233
+ [13.875914481552854, 46.00793356430461],
234
+ [14.04110903092163, 45.8906301617846]
235
+ ]
236
+ ],
237
+ "type": "Polygon"
238
+ },
239
+ {
240
+ "code": "SI801",
241
+ "area": "Coast",
242
+ "coordinates": [
243
+ [
244
+ [13.725456655646438, 45.6015000758004],
245
+ [13.725431248605672, 45.59967654614104],
246
+ [13.581904223456036, 45.4818292464459],
247
+ [13.579022245313693, 45.48186228804809],
248
+ [13.509123210003622, 45.51205472154453],
249
+ [13.384515640404798, 45.56587815045958],
250
+ [13.628708047547093, 45.63156076582936],
251
+ [13.725456655646438, 45.6015000758004]
252
+ ]
253
+ ],
254
+ "type": "Polygon"
255
+ }
256
+ ]