リビジョン | fabf89dcfc10006552c1d6b005dfddc96c1cd5f9 (tree) |
---|---|
日時 | 2017-09-09 08:06:14 |
作者 | HMML <hmml3939@gmai...> |
コミッター | HMML |
Remove obsolete file.
@@ -1 +0,0 @@ | ||
1 | -JapanAreaData.java |
@@ -1,42 +0,0 @@ | ||
1 | -/* | |
2 | - | |
3 | - [WARNING] | |
4 | - This file has been generated by ERB. | |
5 | - Do NOT edit directly! | |
6 | - [/WARNING] | |
7 | - | |
8 | - */ | |
9 | -package cloud.hmml.mmw; | |
10 | - | |
11 | -public class JapanAreaData { | |
12 | - public static final int COUNT = <%= areas.count %>; | |
13 | - public static final String[] IDS = {<%= areas.map {|i, a| %Q{"#{i}"}}.join(', ') %>}; | |
14 | - public static final double[] LATS = {<%= areas.map {|i, a| a['location']['lat']}.join(', ') %>}; | |
15 | - public static final double[] LNGS = {<%= areas.map {|i, a| a['location']['lng']}.join(', ') %>}; | |
16 | - | |
17 | - <% %w(label pref area).each do |attr| %> | |
18 | - public static String get<%= attr.capitalize %>ById(String id) { | |
19 | - switch (id) { | |
20 | - <% areas.each do |id, area| %> | |
21 | - case "<%= id %>": | |
22 | - return "<%= area[attr] %>"; | |
23 | - <% end %> | |
24 | - default: | |
25 | - return null; | |
26 | - } | |
27 | - } | |
28 | - <% end %> | |
29 | - | |
30 | - <% %w(lat lng).each do |attr| %> | |
31 | - public static Double get<%= attr.capitalize %>ById(String id) { | |
32 | - switch (id) { | |
33 | - <% areas.each do |id, area| %> | |
34 | - case "<%= id %>": | |
35 | - return <%= area['location'][attr] %>; | |
36 | - <% end %> | |
37 | - default: | |
38 | - return null; | |
39 | - } | |
40 | - } | |
41 | - <% end %> | |
42 | -} |
@@ -1,40 +0,0 @@ | ||
1 | -#!/usr/bin/env ruby | |
2 | -require 'json' | |
3 | -require 'awesome_print' | |
4 | -require 'erb' | |
5 | - | |
6 | -PREF_CODES = { | |
7 | - "01" => "北海道", "02" => "青森県", "03" => "岩手県", | |
8 | - "04" => "宮城県", "05" => "秋田県", "06" => "山形県", | |
9 | - "07" => "福島県", "08" => "茨城県", "09" => "栃木県", | |
10 | - "10" => "群馬県", "11" => "埼玉県", "12" => "千葉県", | |
11 | - "13" => "東京都", "14" => "神奈川県", "15" => "新潟県", | |
12 | - "16" => "富山県", "17" => "石川県", "18" => "福井県", | |
13 | - "19" => "山梨県", "20" => "長野県", "21" => "岐阜県", | |
14 | - "22" => "静岡県", "23" => "愛知県", "24" => "三重県", | |
15 | - "25" => "滋賀県", "26" => "京都府", "27" => "大阪府", | |
16 | - "28" => "兵庫県", "29" => "奈良県", "30" => "和歌山県", | |
17 | - "31" => "鳥取県", "32" => "島根県", "33" => "岡山県", | |
18 | - "34" => "広島県", "35" => "山口県", "36" => "徳島県", | |
19 | - "37" => "香川県", "38" => "愛媛県", "39" => "高知県", | |
20 | - "40" => "福岡県", "41" => "佐賀県", "42" => "長崎県", | |
21 | - "43" => "熊本県", "44" => "大分県", "45" => "宮崎県", | |
22 | - "46" => "鹿児島県", "47" => "沖縄県" | |
23 | -} | |
24 | - | |
25 | - | |
26 | -areas = File.open('geocode.json') { |f| JSON.load(f) } | |
27 | -#ap areas | |
28 | - | |
29 | -File.foreach('jmx-codes.txt') do |line| | |
30 | - code, area = line.chomp.sub(/#.*$/, '').split("\t", 2) | |
31 | - area or next | |
32 | - areas[code].update({ | |
33 | - "pref" => PREF_CODES[code[0..1]], | |
34 | - "area" => area, | |
35 | - "label" => "#{PREF_CODES[code[0..1]]} #{area}" | |
36 | - }) | |
37 | -end | |
38 | -#ap areas | |
39 | - | |
40 | -File.write 'JapanAreaData.java', ERB.new(File.read('JapanAreaData.java.erb')).result(binding) |
@@ -1 +0,0 @@ | ||
1 | -{"011000":{"pref":"道北","city":"稚内","label":"道北 稚内","location":{"lat":45.4156641,"lng":141.6730822}},"012010":{"pref":"道北","city":"旭川","label":"道北 旭川","location":{"lat":43.7706355,"lng":142.364819}},"012020":{"pref":"道北","city":"留萌","label":"道北 留萌","location":{"lat":43.9409868,"lng":141.6370119}},"013010":{"pref":"道東","city":"網走","label":"道東 網走","location":{"lat":44.0206319,"lng":144.2733983}},"013020":{"pref":"道東","city":"北見","label":"道東 北見","location":{"lat":43.8040314,"lng":143.8958758}},"013030":{"pref":"道東","city":"紋別","label":"道東 紋別","location":{"lat":44.3564842,"lng":143.3545032}},"014010":{"pref":"道東","city":"根室","label":"道東 根室","location":{"lat":43.3300759,"lng":145.5827903}},"014020":{"pref":"道東","city":"釧路","label":"道東 釧路","location":{"lat":42.9848542,"lng":144.3813556}},"014030":{"pref":"道東","city":"帯広","label":"道東 帯広","location":{"lat":42.9238989,"lng":143.1961031}},"015010":{"pref":"道南","city":"室蘭","label":"道南 室蘭","location":{"lat":42.3152306,"lng":140.9737991}},"015020":{"pref":"道南","city":"浦河","label":"道南 浦河","location":{"lat":42.1685159,"lng":142.7681204}},"016010":{"pref":"道央","city":"札幌","label":"道央 札幌","location":{"lat":43.0620958,"lng":141.3543763}},"016020":{"pref":"道央","city":"岩見沢","label":"道央 岩見沢","location":{"lat":43.1962055,"lng":141.7759331}},"016030":{"pref":"道央","city":"倶知安","label":"道央 倶知安","location":{"lat":42.9018294,"lng":140.7586977}},"017010":{"pref":"道南","city":"函館","label":"道南 函館","location":{"lat":41.7687933,"lng":140.7288103}},"017020":{"pref":"道南","city":"江差","label":"道南 江差","location":{"lat":41.8691558,"lng":140.12746}},"020010":{"pref":"青森県","city":"青森","label":"青森県 青森","location":{"lat":40.822072,"lng":140.7473647}},"020020":{"pref":"青森県","city":"むつ","label":"青森県 むつ","location":{"lat":41.2927457,"lng":141.1834755}},"020030":{"pref":"青森県","city":"八戸","label":"青森県 八戸","location":{"lat":40.5122839,"lng":141.4883986}},"030010":{"pref":"岩手県","city":"盛岡","label":"岩手県 盛岡","location":{"lat":39.702053,"lng":141.1544838}},"030020":{"pref":"岩手県","city":"宮古","label":"岩手県 宮古","location":{"lat":39.6414202,"lng":141.9571395}},"030030":{"pref":"岩手県","city":"大船渡","label":"岩手県 大船渡","location":{"lat":39.0819011,"lng":141.70853}},"040010":{"pref":"宮城県","city":"仙台","label":"宮城県 仙台","location":{"lat":38.268215,"lng":140.8693558}},"040020":{"pref":"宮城県","city":"白石","label":"宮城県 白石","location":{"lat":38.0024779,"lng":140.6198605}},"050010":{"pref":"秋田県","city":"秋田","label":"秋田県 秋田","location":{"lat":39.7199218,"lng":140.1035697}},"050020":{"pref":"秋田県","city":"横手","label":"秋田県 横手","location":{"lat":39.3137816,"lng":140.5666488}},"060010":{"pref":"山形県","city":"山形","label":"山形県 山形","location":{"lat":38.2554388,"lng":140.3396017}},"060020":{"pref":"山形県","city":"米沢","label":"山形県 米沢","location":{"lat":37.9222401,"lng":140.1167811}},"060030":{"pref":"山形県","city":"酒田","label":"山形県 酒田","location":{"lat":38.9147858,"lng":139.8365708}},"060040":{"pref":"山形県","city":"新庄","label":"山形県 新庄","location":{"lat":38.7650154,"lng":140.3016084}},"070010":{"pref":"福島県","city":"福島","label":"福島県 福島","location":{"lat":37.7608337,"lng":140.4747282}},"070020":{"pref":"福島県","city":"小名浜","label":"福島県 小名浜","location":{"lat":36.9490884,"lng":140.9055861}},"070030":{"pref":"福島県","city":"若松","label":"福島県 若松","location":{"lat":37.4947611,"lng":139.9298096}},"080010":{"pref":"茨城県","city":"水戸","label":"茨城県 水戸","location":{"lat":36.3665027,"lng":140.4709965}},"080020":{"pref":"茨城県","city":"土浦","label":"茨城県 土浦","location":{"lat":36.0782972,"lng":140.2043331}},"090010":{"pref":"栃木県","city":"宇都宮","label":"栃木県 宇都宮","location":{"lat":36.5551124,"lng":139.8828072}},"090020":{"pref":"栃木県","city":"大田原","label":"栃木県 大田原","location":{"lat":36.871484,"lng":140.0174187}},"100010":{"pref":"群馬県","city":"前橋","label":"群馬県 前橋","location":{"lat":36.3894816,"lng":139.0634281}},"100020":{"pref":"群馬県","city":"みなかみ","label":"群馬県 みなかみ","location":{"lat":36.6786996,"lng":138.9990639}},"110010":{"pref":"埼玉県","city":"さいたま","label":"埼玉県 さいたま","location":{"lat":35.8617292,"lng":139.6454822}},"110020":{"pref":"埼玉県","city":"熊谷","label":"埼玉県 熊谷","location":{"lat":36.1473097,"lng":139.3886446}},"110030":{"pref":"埼玉県","city":"秩父","label":"埼玉県 秩父","location":{"lat":35.9920551,"lng":139.0848169}},"120010":{"pref":"千葉県","city":"千葉","label":"千葉県 千葉","location":{"lat":35.6072668,"lng":140.1062907}},"120020":{"pref":"千葉県","city":"銚子","label":"千葉県 銚子","location":{"lat":35.7346813,"lng":140.8266406}},"120030":{"pref":"千葉県","city":"館山","label":"千葉県 館山","location":{"lat":34.9965057,"lng":139.8699653}},"130010":{"pref":"東京都","city":"東京","label":"東京都 東京","location":{"lat":35.7090259,"lng":139.7319925}},"130020":{"pref":"東京都","city":"大島","label":"東京都 大島","location":{"lat":34.7500396,"lng":139.3555791}},"130030":{"pref":"東京都","city":"八丈島","label":"東京都 八丈島","location":{"lat":33.1127398,"lng":139.7890648}},"130040":{"pref":"東京都","city":"父島","label":"東京都 父島","location":{"lat":27.0750533,"lng":142.2116025}},"140010":{"pref":"神奈川県","city":"横浜","label":"神奈川県 横浜","location":{"lat":35.4437078,"lng":139.6380256}},"140020":{"pref":"神奈川県","city":"小田原","label":"神奈川県 小田原","location":{"lat":35.2645639,"lng":139.1521538}},"150010":{"pref":"新潟県","city":"新潟","label":"新潟県 新潟","location":{"lat":37.9161924,"lng":139.0364126}},"150020":{"pref":"新潟県","city":"長岡","label":"新潟県 長岡","location":{"lat":37.4462652,"lng":138.8512772}},"150030":{"pref":"新潟県","city":"高田","label":"新潟県 高田","location":{"lat":37.1153895,"lng":138.242142}},"150040":{"pref":"新潟県","city":"相川","label":"新潟県 相川","location":{"lat":38.0183525,"lng":138.368082}},"160010":{"pref":"富山県","city":"富山","label":"富山県 富山","location":{"lat":36.6959518,"lng":137.2136768}},"160020":{"pref":"富山県","city":"伏木","label":"富山県 伏木","location":{"lat":36.78994,"lng":137.0569881}},"170010":{"pref":"石川県","city":"金沢","label":"石川県 金沢","location":{"lat":36.56132540000001,"lng":136.6562051}},"170020":{"pref":"石川県","city":"輪島","label":"石川県 輪島","location":{"lat":37.3905901,"lng":136.8991957}},"180010":{"pref":"福井県","city":"福井","label":"福井県 福井","location":{"lat":36.0640669,"lng":136.2194938}},"180020":{"pref":"福井県","city":"敦賀","label":"福井県 敦賀","location":{"lat":35.6452443,"lng":136.0554408}},"190010":{"pref":"山梨県","city":"甲府","label":"山梨県 甲府","location":{"lat":35.66228,"lng":138.5682015}},"190020":{"pref":"山梨県","city":"河口湖","label":"山梨県 河口湖","location":{"lat":35.4973137,"lng":138.7550838}},"200010":{"pref":"長野県","city":"長野","label":"長野県 長野","location":{"lat":36.6485829,"lng":138.1947709}},"200020":{"pref":"長野県","city":"松本","label":"長野県 松本","location":{"lat":36.2380381,"lng":137.9720341}},"200030":{"pref":"長野県","city":"飯田","label":"長野県 飯田","location":{"lat":35.5149777,"lng":137.8214466}},"210010":{"pref":"岐阜県","city":"岐阜","label":"岐阜県 岐阜","location":{"lat":35.4232984,"lng":136.7606537}},"210020":{"pref":"岐阜県","city":"高山","label":"岐阜県 高山","location":{"lat":36.1461236,"lng":137.2521729}},"220010":{"pref":"静岡県","city":"静岡","label":"静岡県 静岡","location":{"lat":34.975562,"lng":138.3827596}},"220020":{"pref":"静岡県","city":"網代","label":"静岡県 網代","location":{"lat":35.0484388,"lng":139.0915361}},"220030":{"pref":"静岡県","city":"三島","label":"静岡県 三島","location":{"lat":35.11840249999999,"lng":138.9185126}},"220040":{"pref":"静岡県","city":"浜松","label":"静岡県 浜松","location":{"lat":34.7108344,"lng":137.7261258}},"230010":{"pref":"愛知県","city":"名古屋","label":"愛知県 名古屋","location":{"lat":35.1814464,"lng":136.906398}},"230020":{"pref":"愛知県","city":"豊橋","label":"愛知県 豊橋","location":{"lat":34.7691995,"lng":137.3914662}},"240010":{"pref":"三重県","city":"津","label":"三重県 津","location":{"lat":34.718596,"lng":136.5056975}},"240020":{"pref":"三重県","city":"尾鷲","label":"三重県 尾鷲","location":{"lat":34.0707989,"lng":136.1909953}},"250010":{"pref":"滋賀県","city":"大津","label":"滋賀県 大津","location":{"lat":35.0178929,"lng":135.8546074}},"250020":{"pref":"滋賀県","city":"彦根","label":"滋賀県 彦根","location":{"lat":35.274461,"lng":136.2596226}},"260010":{"pref":"京都府","city":"京都","label":"京都府 京都","location":{"lat":35.0212466,"lng":135.7555968}},"260020":{"pref":"京都府","city":"舞鶴","label":"京都府 舞鶴","location":{"lat":35.4747971,"lng":135.3859918}},"270000":{"pref":"大阪府","city":"大阪","label":"大阪府 大阪","location":{"lat":34.6937378,"lng":135.5021651}},"280010":{"pref":"兵庫県","city":"神戸","label":"兵庫県 神戸","location":{"lat":34.690083,"lng":135.1955112}},"280020":{"pref":"兵庫県","city":"豊岡","label":"兵庫県 豊岡","location":{"lat":35.5445754,"lng":134.8201814}},"290010":{"pref":"奈良県","city":"奈良","label":"奈良県 奈良","location":{"lat":34.6850869,"lng":135.8050002}},"290020":{"pref":"奈良県","city":"風屋","label":"奈良県 風屋","location":{"lat":34.043805,"lng":135.7817794}},"300010":{"pref":"和歌山県","city":"和歌山","label":"和歌山県 和歌山","location":{"lat":34.2305113,"lng":135.1708083}},"300020":{"pref":"和歌山県","city":"潮岬","label":"和歌山県 潮岬","location":{"lat":33.4479784,"lng":135.7614191}},"310010":{"pref":"鳥取県","city":"鳥取","label":"鳥取県 鳥取","location":{"lat":35.5011326,"lng":134.2350914}},"310020":{"pref":"鳥取県","city":"米子","label":"鳥取県 米子","location":{"lat":35.4280717,"lng":133.3309447}},"320010":{"pref":"島根県","city":"松江","label":"島根県 松江","location":{"lat":35.4680595,"lng":133.048375}},"320020":{"pref":"島根県","city":"浜田","label":"島根県 浜田","location":{"lat":34.8993025,"lng":132.0797833}},"320030":{"pref":"島根県","city":"西郷","label":"島根県 西郷","location":{"lat":35.4343758,"lng":132.8078732}},"330010":{"pref":"岡山県","city":"岡山","label":"岡山県 岡山","location":{"lat":34.6551456,"lng":133.9195019}},"330020":{"pref":"岡山県","city":"津山","label":"岡山県 津山","location":{"lat":35.0691155,"lng":134.0045428}},"340010":{"pref":"広島県","city":"広島","label":"広島県 広島","location":{"lat":34.3852029,"lng":132.4552927}},"340020":{"pref":"広島県","city":"庄原","label":"広島県 庄原","location":{"lat":34.8577316,"lng":133.0172775}},"350010":{"pref":"山口県","city":"下関","label":"山口県 下関","location":{"lat":33.9578307,"lng":130.941459}},"350020":{"pref":"山口県","city":"山口","label":"山口県 山口","location":{"lat":34.178496,"lng":131.4737269}},"350030":{"pref":"山口県","city":"柳井","label":"山口県 柳井","location":{"lat":33.9638333,"lng":132.1015969}},"350040":{"pref":"山口県","city":"萩","label":"山口県 萩","location":{"lat":34.4081155,"lng":131.3990849}},"360010":{"pref":"徳島県","city":"徳島","label":"徳島県 徳島","location":{"lat":34.0702703,"lng":134.5548438}},"360020":{"pref":"徳島県","city":"日和佐","label":"徳島県 日和佐","location":{"lat":33.728915,"lng":134.530537}},"370000":{"pref":"香川県","city":"高松","label":"香川県 高松","location":{"lat":34.3427879,"lng":134.046574}},"380010":{"pref":"愛媛県","city":"松山","label":"愛媛県 松山","location":{"lat":33.8391574,"lng":132.7655752}},"380020":{"pref":"愛媛県","city":"新居浜","label":"愛媛県 新居浜","location":{"lat":33.96028950000001,"lng":133.2833512}},"380030":{"pref":"愛媛県","city":"宇和島","label":"愛媛県 宇和島","location":{"lat":33.2233404,"lng":132.5605575}},"390010":{"pref":"高知県","city":"高知","label":"高知県 高知","location":{"lat":33.5595867,"lng":133.5292788}},"390020":{"pref":"高知県","city":"室戸岬","label":"高知県 室戸岬","location":{"lat":33.2451032,"lng":134.1761286}},"390030":{"pref":"高知県","city":"清水","label":"高知県 清水","location":{"lat":32.78299459999999,"lng":132.9590579}},"400010":{"pref":"福岡県","city":"福岡","label":"福岡県 福岡","location":{"lat":33.5903547,"lng":130.4017155}},"400020":{"pref":"福岡県","city":"八幡","label":"福岡県 八幡","location":{"lat":33.8622255,"lng":130.8774722}},"400030":{"pref":"福岡県","city":"飯塚","label":"福岡県 飯塚","location":{"lat":33.6459075,"lng":130.6915113}},"400040":{"pref":"福岡県","city":"久留米","label":"福岡県 久留米","location":{"lat":33.3192865,"lng":130.5083735}},"410010":{"pref":"佐賀県","city":"佐賀","label":"佐賀県 佐賀","location":{"lat":33.263482,"lng":130.3008576}},"410020":{"pref":"佐賀県","city":"伊万里","label":"佐賀県 伊万里","location":{"lat":33.2645856,"lng":129.880269}},"420010":{"pref":"長崎県","city":"長崎","label":"長崎県 長崎","location":{"lat":32.7502856,"lng":129.877667}},"420020":{"pref":"長崎県","city":"佐世保","label":"長崎県 佐世保","location":{"lat":33.1799153,"lng":129.7151101}},"420030":{"pref":"長崎県","city":"厳原","label":"長崎県 厳原","location":{"lat":34.202646,"lng":129.287521}},"420040":{"pref":"長崎県","city":"福江","label":"長崎県 福江","location":{"lat":32.6963741,"lng":128.841093}},"430010":{"pref":"熊本県","city":"熊本","label":"熊本県 熊本","location":{"lat":32.8031004,"lng":130.7078911}},"430020":{"pref":"熊本県","city":"阿蘇乙姫","label":"熊本県 阿蘇乙姫","location":{"lat":32.9434447,"lng":131.0434341}},"430030":{"pref":"熊本県","city":"牛深","label":"熊本県 牛深","location":{"lat":32.1944694,"lng":130.0257515}},"430040":{"pref":"熊本県","city":"人吉","label":"熊本県 人吉","location":{"lat":32.2100405,"lng":130.7625544}},"440010":{"pref":"大分県","city":"大分","label":"大分県 大分","location":{"lat":33.2395578,"lng":131.609272}},"440020":{"pref":"大分県","city":"中津","label":"大分県 中津","location":{"lat":33.5982211,"lng":131.1883247}},"440030":{"pref":"大分県","city":"日田","label":"大分県 日田","location":{"lat":33.3213327,"lng":130.9409659}},"440040":{"pref":"大分県","city":"佐伯","label":"大分県 佐伯","location":{"lat":32.959806,"lng":131.9000575}},"450010":{"pref":"宮崎県","city":"宮崎","label":"宮崎県 宮崎","location":{"lat":31.9076736,"lng":131.4202411}},"450020":{"pref":"宮崎県","city":"延岡","label":"宮崎県 延岡","location":{"lat":32.5822723,"lng":131.6650094}},"450030":{"pref":"宮崎県","city":"都城","label":"宮崎県 都城","location":{"lat":31.7195903,"lng":131.0616214}},"450040":{"pref":"宮崎県","city":"高千穂","label":"宮崎県 高千穂","location":{"lat":32.71169,"lng":131.3077866}},"460010":{"pref":"鹿児島県","city":"鹿児島","label":"鹿児島県 鹿児島","location":{"lat":31.5965535,"lng":130.5571158}},"460020":{"pref":"鹿児島県","city":"鹿屋","label":"鹿児島県 鹿屋","location":{"lat":31.3782921,"lng":130.8520774}},"460030":{"pref":"鹿児島県","city":"種子島","label":"鹿児島県 種子島","location":{"lat":30.609558,"lng":130.9788775}},"460040":{"pref":"鹿児島県","city":"名瀬","label":"鹿児島県 名瀬","location":{"lat":28.377276,"lng":129.49378}},"471010":{"pref":"沖縄県","city":"那覇","label":"沖縄県 那覇","location":{"lat":26.2123124,"lng":127.6791568}},"471020":{"pref":"沖縄県","city":"名護","label":"沖縄県 名護","location":{"lat":26.5915465,"lng":127.9773162}},"471030":{"pref":"沖縄県","city":"久米島","label":"沖縄県 久米島","location":{"lat":26.3503959,"lng":126.7711774}},"472000":{"pref":"沖縄県","city":"南大東","label":"沖縄県 南大東","location":{"lat":25.8286844,"lng":131.2320154}},"473000":{"pref":"沖縄県","city":"宮古島","label":"沖縄県 宮古島","location":{"lat":24.80549,"lng":125.2811486}},"474010":{"pref":"沖縄県","city":"石垣島","label":"沖縄県 石垣島","location":{"lat":24.4064027,"lng":124.1754442}},"474020":{"pref":"沖縄県","city":"与那国島","label":"沖縄県 与那国島","location":{"lat":24.4679685,"lng":123.0044532}}} | |
\ No newline at end of file |
@@ -1,50 +0,0 @@ | ||
1 | -#!/usr/bin/env ruby | |
2 | -require 'google_maps_service' | |
3 | -require 'nokogiri' | |
4 | -require 'awesome_print' | |
5 | -require 'json' | |
6 | - | |
7 | -TRANS_NAME = { | |
8 | - '東京都 八丈島' => '東京都 八丈町', | |
9 | - '新潟県 高田' => '新潟県 高田市', | |
10 | - '新潟県 相川' => '新潟県 佐渡市', | |
11 | - '沖縄県 与那国島' => '沖縄県 与那国町', | |
12 | -} | |
13 | - | |
14 | -area_map = {} | |
15 | - | |
16 | -# The file from http://weather.livedoor.com/forecast/rss/primary_area.xml | |
17 | -Nokogiri::XML(File.read('primary_area.xml')).css('pref').each do |pref| | |
18 | - pref_name = pref.attr('title') | |
19 | - pref.css('city').each do |city| | |
20 | - area_map[city.attr('id')] = { | |
21 | - pref: pref_name, | |
22 | - city: city.attr('title'), | |
23 | - label: "#{pref_name} #{city.attr('title')}", | |
24 | - } | |
25 | - end | |
26 | -end | |
27 | - | |
28 | -#ap area_map | |
29 | - | |
30 | -gmaps = GoogleMapsService::Client.new(key: 'AIzaSyCkuiBRVJ2JzeBCXFzORj2PcOtVE6WjJ-4') | |
31 | - | |
32 | -area_map.each do |id, city_info| | |
33 | - city_name = TRANS_NAME[city_info[:label]] || city_info[:label].dup | |
34 | - city_name.sub!(/^道[西東南北央] /, '北海道 ') | |
35 | - city_name << '市' if city_name =~ /^(..)県 \1/ | |
36 | - puts "Geocoding #{city_name} (#{city_info[:label]})..." | |
37 | - geo = gmaps.geocode city_name, language: 'ja-JP' | |
38 | - if geo.count > 1 | |
39 | - ap geo | |
40 | - raise "Multiple results for #{city_name}" | |
41 | - elsif geo.count < 1 | |
42 | - raise "Not found: #{city_name}" | |
43 | - else | |
44 | - puts "==> #{geo.first[:formatted_address]}" | |
45 | - ap geo.first[:geometry][:location] | |
46 | - city_info[:location] = geo.first[:geometry][:location] | |
47 | - end | |
48 | -end | |
49 | - | |
50 | -File.write 'geocode.json', JSON.generate(area_map) |
@@ -1,145 +0,0 @@ | ||
1 | -# 20161013_AreaInformationCity-AreaForecastLocalM.xls の | |
2 | -# 「AreaForecastLocalM(関係表 警報・注意報」 シートの | |
3 | -# 「一次細分区域等(※2)」 から抽出した物 | |
4 | -011000 宗谷地方 | |
5 | -012010 上川地方 | |
6 | -012020 留萌地方 | |
7 | -013010 網走地方 | |
8 | -013020 北見地方 | |
9 | -013030 紋別地方 | |
10 | -014010 根室地方 | |
11 | -014020 釧路地方 | |
12 | -014030 十勝地方 | |
13 | -015010 胆振地方 | |
14 | -015020 日高地方 | |
15 | -016010 石狩地方 | |
16 | -016020 空知地方 | |
17 | -016030 後志地方 | |
18 | -017010 渡島地方 | |
19 | -017020 檜山地方 | |
20 | -020010 津軽 | |
21 | -020020 下北 | |
22 | -020030 三八上北 | |
23 | -030010 内陸 | |
24 | -030020 沿岸北部 | |
25 | -030030 沿岸南部 | |
26 | -040010 東部 | |
27 | -040020 西部 | |
28 | -050010 沿岸 | |
29 | -050020 内陸 | |
30 | -060010 村山 | |
31 | -060020 置賜 | |
32 | -060030 庄内 | |
33 | -060040 最上 | |
34 | -070010 中通り | |
35 | -070020 浜通り | |
36 | -070030 会津 | |
37 | -080010 北部 | |
38 | -080020 南部 | |
39 | -090010 南部 | |
40 | -090020 北部 | |
41 | -100010 南部 | |
42 | -100020 北部 | |
43 | -110010 南部 | |
44 | -110020 北部 | |
45 | -110030 秩父地方 | |
46 | -120010 北西部 | |
47 | -120020 北東部 | |
48 | -120030 南部 | |
49 | -130010 東京地方 | |
50 | -130020 伊豆諸島北部 | |
51 | -130030 伊豆諸島南部 | |
52 | -130040 小笠原諸島 | |
53 | -140010 東部 | |
54 | -140020 西部 | |
55 | -150010 下越 | |
56 | -150020 中越 | |
57 | -150030 上越 | |
58 | -150040 佐渡 | |
59 | -160010 東部 | |
60 | -160020 西部 | |
61 | -170010 加賀 | |
62 | -170020 能登 | |
63 | -180010 嶺北 | |
64 | -180020 嶺南 | |
65 | -190010 中・西部 | |
66 | -190020 東部・富士五湖 | |
67 | -200010 北部 | |
68 | -200020 中部 | |
69 | -200030 南部 | |
70 | -210010 美濃地方 | |
71 | -210020 飛騨地方 | |
72 | -220010 中部 | |
73 | -220020 伊豆 | |
74 | -220030 東部 | |
75 | -220040 西部 | |
76 | -230010 西部 | |
77 | -230020 東部 | |
78 | -240010 北中部 | |
79 | -240020 南部 | |
80 | -250010 南部 | |
81 | -250020 北部 | |
82 | -260010 南部 | |
83 | -260020 北部 | |
84 | -270000 大阪府 | |
85 | -280010 南部 | |
86 | -280020 北部 | |
87 | -290010 北部 | |
88 | -290020 南部 | |
89 | -300010 北部 | |
90 | -300020 南部 | |
91 | -310010 東部 | |
92 | -310020 中・西部 | |
93 | -320010 東部 | |
94 | -320020 西部 | |
95 | -320030 隠岐 | |
96 | -330010 南部 | |
97 | -330020 北部 | |
98 | -340010 南部 | |
99 | -340020 北部 | |
100 | -350010 西部 | |
101 | -350020 中部 | |
102 | -350030 東部 | |
103 | -350040 北部 | |
104 | -360010 北部 | |
105 | -360020 南部 | |
106 | -370000 香川県 | |
107 | -380010 中予 | |
108 | -380020 東予 | |
109 | -380030 南予 | |
110 | -390010 中部 | |
111 | -390020 東部 | |
112 | -390030 西部 | |
113 | -400010 福岡地方 | |
114 | -400020 北九州地方 | |
115 | -400030 筑豊地方 | |
116 | -400040 筑後地方 | |
117 | -410010 南部 | |
118 | -410020 北部 | |
119 | -420010 南部 | |
120 | -420020 北部 | |
121 | -420030 壱岐・対馬 | |
122 | -420040 五島 | |
123 | -430010 熊本地方 | |
124 | -430020 阿蘇地方 | |
125 | -430030 天草・芦北地方 | |
126 | -430040 球磨地方 | |
127 | -440010 中部 | |
128 | -440020 北部 | |
129 | -440030 西部 | |
130 | -440040 南部 | |
131 | -450010 南部平野部 | |
132 | -450020 北部平野部 | |
133 | -450030 南部山沿い | |
134 | -450040 北部山沿い | |
135 | -460010 薩摩地方 | |
136 | -460020 大隅地方 | |
137 | -460030 種子島・屋久島地方 | |
138 | -460040 奄美地方 | |
139 | -471010 本島中南部 | |
140 | -471020 本島北部 | |
141 | -471030 久米島 | |
142 | -472000 大東島地方 | |
143 | -473000 宮古島地方 | |
144 | -474010 石垣島地方 | |
145 | -474020 与那国島地方 |
@@ -1,292 +0,0 @@ | ||
1 | -<?xml version="1.0" encoding="UTF-8" ?> | |
2 | -<rss version="2.0" xmlns:ldWeather="http://weather.livedoor.com/%5C/ns/rss/2.0"> | |
3 | -<channel> | |
4 | -<title>1次細分区定義表 - livedoor 天気情報</title> | |
5 | -<link>http://weather.livedoor.com/?r=rss</link> | |
6 | -<description>livedoor 天気情報で使用されている1次細分区の定義表。それぞれの地点のRSSフィードURLと、お天気Webサービスで対応するidが定義されています。</description> | |
7 | -<lastBuildDate>Thu, 15 Sep 2016 19:00:00 +0900</lastBuildDate> | |
8 | - | |
9 | -<author>livedoor Weather Team.</author> | |
10 | -<language>ja</language> | |
11 | -<category>天気情報</category> | |
12 | -<generator>http://weather.livedoor.com/</generator> | |
13 | -<copyright>(C) LINE Corporation</copyright> | |
14 | -<image> | |
15 | -<title>livedoor 天気情報</title> | |
16 | -<link>http://weather.livedoor.com/</link> | |
17 | -<url>http://weather.livedoor.com/img/cmn/livedoor.gif</url> | |
18 | -<width>118</width> | |
19 | -<height>26</height> | |
20 | -</image> | |
21 | -<ldWeather:provider name="(株)ハレックス" link="http://www.halex.co.jp/halexbrain/weather/" /> | |
22 | -<ldWeather:provider name="日本気象協会" link="http://tenki.jp/" /> | |
23 | - | |
24 | - | |
25 | -<ldWeather:source title="全国" link="http://weather.livedoor.com/forecast/rss/index.xml"> | |
26 | - | |
27 | -<pref title="道北"> | |
28 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/01a.xml" /><city title="稚内" id="011000" source="http://weather.livedoor.com/forecast/rss/area/011000.xml" /> | |
29 | -<city title="旭川" id="012010" source="http://weather.livedoor.com/forecast/rss/area/012010.xml" /> | |
30 | -<city title="留萌" id="012020" source="http://weather.livedoor.com/forecast/rss/area/012020.xml" /> | |
31 | -</pref> | |
32 | -<pref title="道東"> | |
33 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/01c.xml" /><city title="網走" id="013010" source="http://weather.livedoor.com/forecast/rss/area/013010.xml" /> | |
34 | -<city title="北見" id="013020" source="http://weather.livedoor.com/forecast/rss/area/013020.xml" /> | |
35 | -<city title="紋別" id="013030" source="http://weather.livedoor.com/forecast/rss/area/013030.xml" /> | |
36 | -<city title="根室" id="014010" source="http://weather.livedoor.com/forecast/rss/area/014010.xml" /> | |
37 | -<city title="釧路" id="014020" source="http://weather.livedoor.com/forecast/rss/area/014020.xml" /> | |
38 | -<city title="帯広" id="014030" source="http://weather.livedoor.com/forecast/rss/area/014030.xml" /> | |
39 | -</pref> | |
40 | -<pref title="道南"> | |
41 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/01d.xml" /><city title="室蘭" id="015010" source="http://weather.livedoor.com/forecast/rss/area/015010.xml" /> | |
42 | -<city title="浦河" id="015020" source="http://weather.livedoor.com/forecast/rss/area/015020.xml" /> | |
43 | -</pref> | |
44 | -<pref title="道央"> | |
45 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/01b.xml" /><city title="札幌" id="016010" source="http://weather.livedoor.com/forecast/rss/area/016010.xml" /> | |
46 | -<city title="岩見沢" id="016020" source="http://weather.livedoor.com/forecast/rss/area/016020.xml" /> | |
47 | -<city title="倶知安" id="016030" source="http://weather.livedoor.com/forecast/rss/area/016030.xml" /> | |
48 | -</pref> | |
49 | -<pref title="道南"> | |
50 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/01d.xml" /><city title="函館" id="017010" source="http://weather.livedoor.com/forecast/rss/area/017010.xml" /> | |
51 | -<city title="江差" id="017020" source="http://weather.livedoor.com/forecast/rss/area/017020.xml" /> | |
52 | -</pref> | |
53 | -<pref title="青森県"> | |
54 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/02.xml" /><city title="青森" id="020010" source="http://weather.livedoor.com/forecast/rss/area/020010.xml" /> | |
55 | -<city title="むつ" id="020020" source="http://weather.livedoor.com/forecast/rss/area/020020.xml" /> | |
56 | -<city title="八戸" id="020030" source="http://weather.livedoor.com/forecast/rss/area/020030.xml" /> | |
57 | -</pref> | |
58 | -<pref title="岩手県"> | |
59 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/03.xml" /><city title="盛岡" id="030010" source="http://weather.livedoor.com/forecast/rss/area/030010.xml" /> | |
60 | -<city title="宮古" id="030020" source="http://weather.livedoor.com/forecast/rss/area/030020.xml" /> | |
61 | -<city title="大船渡" id="030030" source="http://weather.livedoor.com/forecast/rss/area/030030.xml" /> | |
62 | -</pref> | |
63 | -<pref title="宮城県"> | |
64 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/04.xml" /><city title="仙台" id="040010" source="http://weather.livedoor.com/forecast/rss/area/040010.xml" /> | |
65 | -<city title="白石" id="040020" source="http://weather.livedoor.com/forecast/rss/area/040020.xml" /> | |
66 | -</pref> | |
67 | -<pref title="秋田県"> | |
68 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/05.xml" /><city title="秋田" id="050010" source="http://weather.livedoor.com/forecast/rss/area/050010.xml" /> | |
69 | -<city title="横手" id="050020" source="http://weather.livedoor.com/forecast/rss/area/050020.xml" /> | |
70 | -</pref> | |
71 | -<pref title="山形県"> | |
72 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/06.xml" /><city title="山形" id="060010" source="http://weather.livedoor.com/forecast/rss/area/060010.xml" /> | |
73 | -<city title="米沢" id="060020" source="http://weather.livedoor.com/forecast/rss/area/060020.xml" /> | |
74 | -<city title="酒田" id="060030" source="http://weather.livedoor.com/forecast/rss/area/060030.xml" /> | |
75 | -<city title="新庄" id="060040" source="http://weather.livedoor.com/forecast/rss/area/060040.xml" /> | |
76 | -</pref> | |
77 | -<pref title="福島県"> | |
78 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/07.xml" /><city title="福島" id="070010" source="http://weather.livedoor.com/forecast/rss/area/070010.xml" /> | |
79 | -<city title="小名浜" id="070020" source="http://weather.livedoor.com/forecast/rss/area/070020.xml" /> | |
80 | -<city title="若松" id="070030" source="http://weather.livedoor.com/forecast/rss/area/070030.xml" /> | |
81 | -</pref> | |
82 | -<pref title="茨城県"> | |
83 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/08.xml" /><city title="水戸" id="080010" source="http://weather.livedoor.com/forecast/rss/area/080010.xml" /> | |
84 | -<city title="土浦" id="080020" source="http://weather.livedoor.com/forecast/rss/area/080020.xml" /> | |
85 | -</pref> | |
86 | -<pref title="栃木県"> | |
87 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/09.xml" /><city title="宇都宮" id="090010" source="http://weather.livedoor.com/forecast/rss/area/090010.xml" /> | |
88 | -<city title="大田原" id="090020" source="http://weather.livedoor.com/forecast/rss/area/090020.xml" /> | |
89 | -</pref> | |
90 | -<pref title="群馬県"> | |
91 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/10.xml" /><city title="前橋" id="100010" source="http://weather.livedoor.com/forecast/rss/area/100010.xml" /> | |
92 | -<city title="みなかみ" id="100020" source="http://weather.livedoor.com/forecast/rss/area/100020.xml" /> | |
93 | -</pref> | |
94 | -<pref title="埼玉県"> | |
95 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/11.xml" /><city title="さいたま" id="110010" source="http://weather.livedoor.com/forecast/rss/area/110010.xml" /> | |
96 | -<city title="熊谷" id="110020" source="http://weather.livedoor.com/forecast/rss/area/110020.xml" /> | |
97 | -<city title="秩父" id="110030" source="http://weather.livedoor.com/forecast/rss/area/110030.xml" /> | |
98 | -</pref> | |
99 | -<pref title="千葉県"> | |
100 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/12.xml" /><city title="千葉" id="120010" source="http://weather.livedoor.com/forecast/rss/area/120010.xml" /> | |
101 | -<city title="銚子" id="120020" source="http://weather.livedoor.com/forecast/rss/area/120020.xml" /> | |
102 | -<city title="館山" id="120030" source="http://weather.livedoor.com/forecast/rss/area/120030.xml" /> | |
103 | -</pref> | |
104 | -<pref title="東京都"> | |
105 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/13.xml" /><city title="東京" id="130010" source="http://weather.livedoor.com/forecast/rss/area/130010.xml" /> | |
106 | -<city title="大島" id="130020" source="http://weather.livedoor.com/forecast/rss/area/130020.xml" /> | |
107 | -<city title="八丈島" id="130030" source="http://weather.livedoor.com/forecast/rss/area/130030.xml" /> | |
108 | -<city title="父島" id="130040" source="http://weather.livedoor.com/forecast/rss/area/130040.xml" /> | |
109 | -</pref> | |
110 | -<pref title="神奈川県"> | |
111 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/14.xml" /><city title="横浜" id="140010" source="http://weather.livedoor.com/forecast/rss/area/140010.xml" /> | |
112 | -<city title="小田原" id="140020" source="http://weather.livedoor.com/forecast/rss/area/140020.xml" /> | |
113 | -</pref> | |
114 | -<pref title="新潟県"> | |
115 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/15.xml" /><city title="新潟" id="150010" source="http://weather.livedoor.com/forecast/rss/area/150010.xml" /> | |
116 | -<city title="長岡" id="150020" source="http://weather.livedoor.com/forecast/rss/area/150020.xml" /> | |
117 | -<city title="高田" id="150030" source="http://weather.livedoor.com/forecast/rss/area/150030.xml" /> | |
118 | -<city title="相川" id="150040" source="http://weather.livedoor.com/forecast/rss/area/150040.xml" /> | |
119 | -</pref> | |
120 | -<pref title="富山県"> | |
121 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/16.xml" /><city title="富山" id="160010" source="http://weather.livedoor.com/forecast/rss/area/160010.xml" /> | |
122 | -<city title="伏木" id="160020" source="http://weather.livedoor.com/forecast/rss/area/160020.xml" /> | |
123 | -</pref> | |
124 | -<pref title="石川県"> | |
125 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/17.xml" /><city title="金沢" id="170010" source="http://weather.livedoor.com/forecast/rss/area/170010.xml" /> | |
126 | -<city title="輪島" id="170020" source="http://weather.livedoor.com/forecast/rss/area/170020.xml" /> | |
127 | -</pref> | |
128 | -<pref title="福井県"> | |
129 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/18.xml" /><city title="福井" id="180010" source="http://weather.livedoor.com/forecast/rss/area/180010.xml" /> | |
130 | -<city title="敦賀" id="180020" source="http://weather.livedoor.com/forecast/rss/area/180020.xml" /> | |
131 | -</pref> | |
132 | -<pref title="山梨県"> | |
133 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/19.xml" /><city title="甲府" id="190010" source="http://weather.livedoor.com/forecast/rss/area/190010.xml" /> | |
134 | -<city title="河口湖" id="190020" source="http://weather.livedoor.com/forecast/rss/area/190020.xml" /> | |
135 | -</pref> | |
136 | -<pref title="長野県"> | |
137 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/20.xml" /><city title="長野" id="200010" source="http://weather.livedoor.com/forecast/rss/area/200010.xml" /> | |
138 | -<city title="松本" id="200020" source="http://weather.livedoor.com/forecast/rss/area/200020.xml" /> | |
139 | -<city title="飯田" id="200030" source="http://weather.livedoor.com/forecast/rss/area/200030.xml" /> | |
140 | -</pref> | |
141 | -<pref title="岐阜県"> | |
142 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/21.xml" /><city title="岐阜" id="210010" source="http://weather.livedoor.com/forecast/rss/area/210010.xml" /> | |
143 | -<city title="高山" id="210020" source="http://weather.livedoor.com/forecast/rss/area/210020.xml" /> | |
144 | -</pref> | |
145 | -<pref title="静岡県"> | |
146 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/22.xml" /><city title="静岡" id="220010" source="http://weather.livedoor.com/forecast/rss/area/220010.xml" /> | |
147 | -<city title="網代" id="220020" source="http://weather.livedoor.com/forecast/rss/area/220020.xml" /> | |
148 | -<city title="三島" id="220030" source="http://weather.livedoor.com/forecast/rss/area/220030.xml" /> | |
149 | -<city title="浜松" id="220040" source="http://weather.livedoor.com/forecast/rss/area/220040.xml" /> | |
150 | -</pref> | |
151 | -<pref title="愛知県"> | |
152 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/23.xml" /><city title="名古屋" id="230010" source="http://weather.livedoor.com/forecast/rss/area/230010.xml" /> | |
153 | -<city title="豊橋" id="230020" source="http://weather.livedoor.com/forecast/rss/area/230020.xml" /> | |
154 | -</pref> | |
155 | -<pref title="三重県"> | |
156 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/24.xml" /><city title="津" id="240010" source="http://weather.livedoor.com/forecast/rss/area/240010.xml" /> | |
157 | -<city title="尾鷲" id="240020" source="http://weather.livedoor.com/forecast/rss/area/240020.xml" /> | |
158 | -</pref> | |
159 | -<pref title="滋賀県"> | |
160 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/25.xml" /><city title="大津" id="250010" source="http://weather.livedoor.com/forecast/rss/area/250010.xml" /> | |
161 | -<city title="彦根" id="250020" source="http://weather.livedoor.com/forecast/rss/area/250020.xml" /> | |
162 | -</pref> | |
163 | -<pref title="京都府"> | |
164 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/26.xml" /><city title="京都" id="260010" source="http://weather.livedoor.com/forecast/rss/area/260010.xml" /> | |
165 | -<city title="舞鶴" id="260020" source="http://weather.livedoor.com/forecast/rss/area/260020.xml" /> | |
166 | -</pref> | |
167 | -<pref title="大阪府"> | |
168 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/27.xml" /><city title="大阪" id="270000" source="http://weather.livedoor.com/forecast/rss/area/270000.xml" /> | |
169 | -</pref> | |
170 | -<pref title="兵庫県"> | |
171 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/28.xml" /><city title="神戸" id="280010" source="http://weather.livedoor.com/forecast/rss/area/280010.xml" /> | |
172 | -<city title="豊岡" id="280020" source="http://weather.livedoor.com/forecast/rss/area/280020.xml" /> | |
173 | -</pref> | |
174 | -<pref title="奈良県"> | |
175 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/29.xml" /><city title="奈良" id="290010" source="http://weather.livedoor.com/forecast/rss/area/290010.xml" /> | |
176 | -<city title="風屋" id="290020" source="http://weather.livedoor.com/forecast/rss/area/290020.xml" /> | |
177 | -</pref> | |
178 | -<pref title="和歌山県"> | |
179 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/30.xml" /><city title="和歌山" id="300010" source="http://weather.livedoor.com/forecast/rss/area/300010.xml" /> | |
180 | -<city title="潮岬" id="300020" source="http://weather.livedoor.com/forecast/rss/area/300020.xml" /> | |
181 | -</pref> | |
182 | -<pref title="鳥取県"> | |
183 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/31.xml" /><city title="鳥取" id="310010" source="http://weather.livedoor.com/forecast/rss/area/310010.xml" /> | |
184 | -<city title="米子" id="310020" source="http://weather.livedoor.com/forecast/rss/area/310020.xml" /> | |
185 | -</pref> | |
186 | -<pref title="島根県"> | |
187 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/32.xml" /><city title="松江" id="320010" source="http://weather.livedoor.com/forecast/rss/area/320010.xml" /> | |
188 | -<city title="浜田" id="320020" source="http://weather.livedoor.com/forecast/rss/area/320020.xml" /> | |
189 | -<city title="西郷" id="320030" source="http://weather.livedoor.com/forecast/rss/area/320030.xml" /> | |
190 | -</pref> | |
191 | -<pref title="岡山県"> | |
192 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/33.xml" /><city title="岡山" id="330010" source="http://weather.livedoor.com/forecast/rss/area/330010.xml" /> | |
193 | -<city title="津山" id="330020" source="http://weather.livedoor.com/forecast/rss/area/330020.xml" /> | |
194 | -</pref> | |
195 | -<pref title="広島県"> | |
196 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/34.xml" /><city title="広島" id="340010" source="http://weather.livedoor.com/forecast/rss/area/340010.xml" /> | |
197 | -<city title="庄原" id="340020" source="http://weather.livedoor.com/forecast/rss/area/340020.xml" /> | |
198 | -</pref> | |
199 | -<pref title="山口県"> | |
200 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/35.xml" /><city title="下関" id="350010" source="http://weather.livedoor.com/forecast/rss/area/350010.xml" /> | |
201 | -<city title="山口" id="350020" source="http://weather.livedoor.com/forecast/rss/area/350020.xml" /> | |
202 | -<city title="柳井" id="350030" source="http://weather.livedoor.com/forecast/rss/area/350030.xml" /> | |
203 | -<city title="萩" id="350040" source="http://weather.livedoor.com/forecast/rss/area/350040.xml" /> | |
204 | -</pref> | |
205 | -<pref title="徳島県"> | |
206 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/36.xml" /><city title="徳島" id="360010" source="http://weather.livedoor.com/forecast/rss/area/360010.xml" /> | |
207 | -<city title="日和佐" id="360020" source="http://weather.livedoor.com/forecast/rss/area/360020.xml" /> | |
208 | -</pref> | |
209 | -<pref title="香川県"> | |
210 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/37.xml" /><city title="高松" id="370000" source="http://weather.livedoor.com/forecast/rss/area/370000.xml" /> | |
211 | -</pref> | |
212 | -<pref title="愛媛県"> | |
213 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/38.xml" /><city title="松山" id="380010" source="http://weather.livedoor.com/forecast/rss/area/380010.xml" /> | |
214 | -<city title="新居浜" id="380020" source="http://weather.livedoor.com/forecast/rss/area/380020.xml" /> | |
215 | -<city title="宇和島" id="380030" source="http://weather.livedoor.com/forecast/rss/area/380030.xml" /> | |
216 | -</pref> | |
217 | -<pref title="高知県"> | |
218 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/39.xml" /><city title="高知" id="390010" source="http://weather.livedoor.com/forecast/rss/area/390010.xml" /> | |
219 | -<city title="室戸岬" id="390020" source="http://weather.livedoor.com/forecast/rss/area/390020.xml" /> | |
220 | -<city title="清水" id="390030" source="http://weather.livedoor.com/forecast/rss/area/390030.xml" /> | |
221 | -</pref> | |
222 | -<pref title="福岡県"> | |
223 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/40.xml" /><city title="福岡" id="400010" source="http://weather.livedoor.com/forecast/rss/area/400010.xml" /> | |
224 | -<city title="八幡" id="400020" source="http://weather.livedoor.com/forecast/rss/area/400020.xml" /> | |
225 | -<city title="飯塚" id="400030" source="http://weather.livedoor.com/forecast/rss/area/400030.xml" /> | |
226 | -<city title="久留米" id="400040" source="http://weather.livedoor.com/forecast/rss/area/400040.xml" /> | |
227 | -</pref> | |
228 | -<pref title="佐賀県"> | |
229 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/41.xml" /><city title="佐賀" id="410010" source="http://weather.livedoor.com/forecast/rss/area/410010.xml" /> | |
230 | -<city title="伊万里" id="410020" source="http://weather.livedoor.com/forecast/rss/area/410020.xml" /> | |
231 | -</pref> | |
232 | -<pref title="長崎県"> | |
233 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/42.xml" /><city title="長崎" id="420010" source="http://weather.livedoor.com/forecast/rss/area/420010.xml" /> | |
234 | -<city title="佐世保" id="420020" source="http://weather.livedoor.com/forecast/rss/area/420020.xml" /> | |
235 | -<city title="厳原" id="420030" source="http://weather.livedoor.com/forecast/rss/area/420030.xml" /> | |
236 | -<city title="福江" id="420040" source="http://weather.livedoor.com/forecast/rss/area/420040.xml" /> | |
237 | -</pref> | |
238 | -<pref title="熊本県"> | |
239 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/43.xml" /><city title="熊本" id="430010" source="http://weather.livedoor.com/forecast/rss/area/430010.xml" /> | |
240 | -<city title="阿蘇乙姫" id="430020" source="http://weather.livedoor.com/forecast/rss/area/430020.xml" /> | |
241 | -<city title="牛深" id="430030" source="http://weather.livedoor.com/forecast/rss/area/430030.xml" /> | |
242 | -<city title="人吉" id="430040" source="http://weather.livedoor.com/forecast/rss/area/430040.xml" /> | |
243 | -</pref> | |
244 | -<pref title="大分県"> | |
245 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/44.xml" /><city title="大分" id="440010" source="http://weather.livedoor.com/forecast/rss/area/440010.xml" /> | |
246 | -<city title="中津" id="440020" source="http://weather.livedoor.com/forecast/rss/area/440020.xml" /> | |
247 | -<city title="日田" id="440030" source="http://weather.livedoor.com/forecast/rss/area/440030.xml" /> | |
248 | -<city title="佐伯" id="440040" source="http://weather.livedoor.com/forecast/rss/area/440040.xml" /> | |
249 | -</pref> | |
250 | -<pref title="宮崎県"> | |
251 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/45.xml" /><city title="宮崎" id="450010" source="http://weather.livedoor.com/forecast/rss/area/450010.xml" /> | |
252 | -<city title="延岡" id="450020" source="http://weather.livedoor.com/forecast/rss/area/450020.xml" /> | |
253 | -<city title="都城" id="450030" source="http://weather.livedoor.com/forecast/rss/area/450030.xml" /> | |
254 | -<city title="高千穂" id="450040" source="http://weather.livedoor.com/forecast/rss/area/450040.xml" /> | |
255 | -</pref> | |
256 | -<pref title="鹿児島県"> | |
257 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/46.xml" /><city title="鹿児島" id="460010" source="http://weather.livedoor.com/forecast/rss/area/460010.xml" /> | |
258 | -<city title="鹿屋" id="460020" source="http://weather.livedoor.com/forecast/rss/area/460020.xml" /> | |
259 | -<city title="種子島" id="460030" source="http://weather.livedoor.com/forecast/rss/area/460030.xml" /> | |
260 | -<city title="名瀬" id="460040" source="http://weather.livedoor.com/forecast/rss/area/460040.xml" /> | |
261 | -</pref> | |
262 | -<pref title="沖縄県"> | |
263 | -<warn title="警報・注意報" source="http://weather.livedoor.com/forecast/rss/warn/47.xml" /><city title="那覇" id="471010" source="http://weather.livedoor.com/forecast/rss/area/471010.xml" /> | |
264 | -<city title="名護" id="471020" source="http://weather.livedoor.com/forecast/rss/area/471020.xml" /> | |
265 | -<city title="久米島" id="471030" source="http://weather.livedoor.com/forecast/rss/area/471030.xml" /> | |
266 | -<city title="南大東" id="472000" source="http://weather.livedoor.com/forecast/rss/area/472000.xml" /> | |
267 | -<city title="宮古島" id="473000" source="http://weather.livedoor.com/forecast/rss/area/473000.xml" /> | |
268 | -<city title="石垣島" id="474010" source="http://weather.livedoor.com/forecast/rss/area/474010.xml" /> | |
269 | -<city title="与那国島" id="474020" source="http://weather.livedoor.com/forecast/rss/area/474020.xml" /> | |
270 | -</pref> | |
271 | -</ldWeather:source> | |
272 | - | |
273 | -<item> | |
274 | - <title>[ PR ] ブログでお天気を簡単ゲット!</title> | |
275 | - <link>http://weather.livedoor.com/weather_hacks/plugin.html?pref=01a</link> | |
276 | - <category>PR</category> | |
277 | - <description> | |
278 | -livedoor 天気情報「Weather Hacks」では一般のブロガーの皆さん向けにブログでお天気を表示できる、お天気プラグインを公開しました。使い方はとってもカンタン!手順に沿って作成したHTMLソースを自分のブログに貼り付けるだけです! | |
279 | - </description> | |
280 | - <image> | |
281 | - <title>お天気プラグイン - livedoor 天気情報</title> | |
282 | - <link>http://weather.livedoor.com/weather_hacks/plugin.html?pref=01a</link> | |
283 | - <url>http://weather.livedoor.com/img/weather_hacks/news_title.gif</url> | |
284 | - <width>151</width> | |
285 | - <height>50</height> | |
286 | - </image> | |
287 | - <pubDate>Thu, 15 Sep 2016 19:00:00 +0900</pubDate> | |
288 | -</item> | |
289 | - | |
290 | - | |
291 | -</channel> | |
292 | -</rss> |