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,67 @@
1
+ [
2
+ {
3
+ "code": "CY001",
4
+ "area": "Cyprus",
5
+ "coordinates": [
6
+ [
7
+ [33.030816412185445, 34.653407818061304],
8
+ [32.99417233425723, 34.650748720324366],
9
+ [32.72533157678525, 34.64048036915031],
10
+ [32.69645815531321, 34.64495045546909],
11
+ [32.62217356106305, 34.666115503637386],
12
+ [32.5320312201419, 34.698674002387776],
13
+ [32.49257783047072, 34.715542659135124],
14
+ [32.44748194767464, 34.73884589589795],
15
+ [32.413581833513035, 34.763798269664804],
16
+ [32.3354222712342, 34.90929596327346],
17
+ [32.314982972565964, 34.98091132179731],
18
+ [32.30156944599729, 35.01499942710254],
19
+ [32.31525076874125, 35.0523880742642],
20
+ [32.33419892466412, 35.07489813492455],
21
+ [32.55808984939277, 35.176351384317144],
22
+ [32.726514991879974, 35.247660496619275],
23
+ [32.91946702014306, 35.32872241046332],
24
+ [32.9457571226735, 35.3376758502441],
25
+ [33.056160933542515, 35.35619824060941],
26
+ [33.09505454999062, 35.35644626396353],
27
+ [33.34346237520781, 35.33922659043165],
28
+ [33.39905117415559, 35.33682442814097],
29
+ [33.43389784212505, 35.33655821089139],
30
+ [33.624817940150294, 35.35901740906116],
31
+ [33.65553377586803, 35.36416433496477],
32
+ [33.9429462304154, 35.44111242757484],
33
+ [33.99051340740504, 35.45809921474337],
34
+ [34.12452590715188, 35.5283838823161],
35
+ [34.16681129422159, 35.553224420475594],
36
+ [34.20233406794404, 35.5696511916461],
37
+ [34.383086089428176, 35.63813824243114],
38
+ [34.44244680478769, 35.65815919259901],
39
+ [34.52846552614393, 35.68524184027522],
40
+ [34.56916450155276, 35.689824341378156],
41
+ [34.56637071051424, 35.64973197611099],
42
+ [34.53376358179048, 35.62852634096101],
43
+ [34.36559805461653, 35.53890032390228],
44
+ [34.200674364615665, 35.45041330635151],
45
+ [33.982653566067086, 35.33261647848683],
46
+ [33.96555263574905, 35.31239923038612],
47
+ [33.91432803406556, 35.22436729815348],
48
+ [33.90303245357451, 35.19259878411061],
49
+ [33.91743351581526, 35.16136167763982],
50
+ [33.943029682775446, 35.13046286335582],
51
+ [33.99470722645938, 35.07484864915377],
52
+ [34.01243971468588, 35.034765021849594],
53
+ [34.02218857652022, 35.001726913084035],
54
+ [34.01887489016842, 34.97585770965468],
55
+ [33.82623295289538, 34.9000961335247],
56
+ [33.61778719674939, 34.81739131576578],
57
+ [33.588933251314586, 34.806882518170724],
58
+ [33.38061312788963, 34.73270697993296],
59
+ [33.352106356502006, 34.723936385608816],
60
+ [33.28043066675531, 34.70466857688235],
61
+ [33.250342945687635, 34.69818492248951],
62
+ [33.030816412185445, 34.653407818061304]
63
+ ]
64
+ ],
65
+ "type": "Polygon"
66
+ }
67
+ ]