Language
Login
Language Setting
X
English
日本語 [Japanese]
about this App
宮城県石巻市 ごみ出しスケジュール(平成31年度)
useful
0
Loading...
function aaa() { var sch_tbl = [ ["燃やせるゴミ","",""], ["ペットボトル","",""], ["あき缶","",""], ["あきびん・スプレー・ガスカートリッジ","",""], ["スプレー缶","",""], ["ガスカートリッジ","",""], ["古着・布類","",""], ["雑紙・新聞・雑誌・古本・ダンボール・紙パック","",""], ["古本","",""], ["ダンボール","",""], ["紙パック","",""], ["燃やせないごみ、金属、有害ごみ","",""], ["有害ごみ","",""], ["金属","",""], ["粗大ゴミ","",""] ]; var cal_tbl = [ [4,1,30], [5,3,31], [6,6,30], [7,1,31], [8,4,31], [9,0,30], [10,2,31], [11,5,30], [12,0,31], [1,3,31], [2,6,29], [3,0,31] ]; var tuki_tbl = [ ["平成31年4月",0], ["平成31年5月",1], ["平成31年6月",2], ["平成31年7月",3], ["平成31年8月",4], ["平成31年9月",5], ["平成31年10月",6], ["平成31年11月",7], ["平成31年12月",8], ["平成32年1月",9], ["平成32年2月",10], ["平成32年3月",11] ]; var shu_tbl = [ ["日",0], ["月",1], ["火",2], ["水",3], ["木",4], ["金",5], ["土",6] ]; var month_tbl = [ [4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] ]; var saishu_tbl = [ //最終曜日テーブル 毎年修正が必要 // 4 5 6 7 8 9 10 11 12 1 2 3 ["日","日4","日4","日5","日4","日4","日5","日4","日4","日5","日4","日4","日5"], ["月","月5","月4","月4","月5","月4","月5","月4","月4","月5","月4","月4","月5"], ["火","火5","火4","火4","火5","火4","火4","火5","火4","火5","火4","火4","火5"], ["水","水4","水5","水4","水5","水4","水4","水5","水4","水4","水5","水4","水4"], ["木","木4","木5","木4","木4","木5","木4","木5","木4","木4","木5","木4","木4"], ["金","金4","金5","金4","金4","金5","金4","金4","金5","金4","金5","金4","金4"], ["土","土4","土4","土5","土4","土5","土4","土4","土5","土4","土4","土5","土4"] ]; var a = ["--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--"]; var gomi_sch; var d; var e; var m; var p; var r; var q; var ln; var ss; var hit; var kuiki_t=document.js.kuiki.value; var gomi_t=document.js.gomi_name.value; var ym_t=document.js.tuki.value; sss(sch_tbl,kuiki_t,ym_t,saishu_tbl); //alert(sch_tbl); for ( e = 0; e < tuki_tbl.length; e++ ){ if (tuki_tbl[e][0] == ym_t) { break; } } for ( d = 0; d < sch_tbl.length; d++ ){ if (sch_tbl[d][0] == gomi_t) { if(ym_t == "平成32年1月") { gomi_sch = sch_tbl[d][2].split("|"); } else { gomi_sch = sch_tbl[d][1].split("|"); } break; } } // gomi_sch = sch_tbl[14][2].split("|"); //alert(gomi_sch); //alert(gomi_sch[1]); //alert(gomi_sch[2]); for ( var i = 0; i < gomi_sch.length; i++ ){ r = gomi_sch[i]; ln = r.length; //alert(ln); if (ln == 3){ q = r[2]; r = q; ss = 99; //alert(r[0]); } else{ if (ln > 1){ ss = r[1].replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); ss = Number(ss); } else{ ss = 0; } } //alert(ln); //alert(r[0]); //alert(r[1]); //alert(ss); for ( var j = 0; j < 7; j++ ){ if (shu_tbl[j][0] == r[0]) { var s = shu_tbl[j][1]; //alert(s); hit = 0; var kk = cal_tbl[e][1]; for ( var k = 0; k < cal_tbl[e][2]; k++ ){ if (kk == s) { hit++; if (ss == 0) { month_tbl[e][k+1] = 1; } else{ if ( ss == 99) { if (k + 7 > cal_tbl[e][2]) { month_tbl[e][k+1] = 1; } } else{ if (hit == ss) { month_tbl[e][k+1] = 1; } } } } kk++; if (kk >= 7) { kk = 0; } } } } } //alert(e); //alert(month_tbl[e]); // var elm = document.getElementById( 'area_name' ) ; // elm.innerHTML = "石巻C地区"; // var elm = document.getElementById( 'gomi_name' ) ; // elm.innerHTML = "燃やせるゴミ"; var elm = document.getElementById( 'sch_name' ) ; elm.innerHTML = kuiki_t + " " + gomi_t + " " + ym_t; for ( m = 0; m < cal_tbl[e][1]; m++ ){ a[m] = "<span style='color:white;'>"+"00"+"</span>"; } //alert("t1"); p = 1; for ( var l = 0; l < cal_tbl[e][2]; l++ ){ if (p < 10) { a[l+m] = "0"+p; } else{ a[l+m] = p; } if (month_tbl[e][p] == 1){ a[l+m] = "<span style='background:black; color:yellow'>"+a[l+m]+"</span>"; } p++; } for ( n = l+m; n < 45; n++ ){ a[n] = ""; } var elm = document.getElementById( 'date_name1' ) ; elm.innerHTML = " "+a[0]+" "+a[1]+" "+a[2]+" "+a[3]+" "+a[4]+" "+a[5]+" "+a[6]; var elm = document.getElementById( 'date_name2' ) ; elm.innerHTML = " "+a[7]+" "+a[8]+" "+a[9]+" "+a[10]+" "+a[11]+" "+a[12]+" "+a[13]; var elm = document.getElementById( 'date_name3' ) ; elm.innerHTML = " "+a[14]+" "+a[15]+" "+a[16]+" "+a[17]+" "+a[18]+" "+a[19]+" "+a[20]; var elm = document.getElementById( 'date_name4' ) ; elm.innerHTML = " "+a[21]+" "+a[22]+" "+a[23]+" "+a[24]+" "+a[25]+" "+a[26]+" "+a[27]; var elm = document.getElementById( 'date_name5' ) ; elm.innerHTML = " "+a[28]+" "+a[29]+" "+a[30]+" "+a[31]+" "+a[32]+" "+a[33]+" "+a[34]; var elm = document.getElementById( 'date_name6' ) ; elm.innerHTML = " "+a[35]+" "+a[36]+" "+a[37]+" "+a[38]+" "+a[39]+" "+a[40]+" "+a[41]; var elm = document.getElementById( 'date_name7' ) ; elm.innerHTML = " "+a[42]+" "+a[43]+" "+a[44]; var ym; var ddd; var eee; var ggg; if (ym_t.substr(2,2) == "31") { ym = "平成" + "31" + "年"; } else { ym = "平成" + "32" + "年"; } ddd = ym_t.substr(5); eee = ddd.split("月"); ggg = eee[0].replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); //ggg = Number(ggg); //ym = +eee[0]; ym = ym + ggg + "月"; //alert("ym="+ym); //alert("kuiki_t="+kuiki_t); var work_zzzz = [ ["","","",""], ["","","",""], ["","","",""], ["","","",""], ["","","",""], ["","","",""], ["","","",""], ["","","",""] ]; ttt(work_zzzz,kuiki_t,ym); var elm = document.getElementById( 'change_name1' ) ; if (work_zzzz[0][0] != "") { elm.innerHTML = work_zzzz[0][0] + "/" + work_zzzz[0][1] +"/" + work_zzzz[0][2] + "/" + work_zzzz[0][3]; } else elm.innerHTML = ""; var elm = document.getElementById( 'change_name2' ) ; if (work_zzzz[1][0] != "") { elm.innerHTML = work_zzzz[1][0] + "/" + work_zzzz[1][1] +"/" + work_zzzz[1][2] + "/" + work_zzzz[1][3]; } else elm.innerHTML = ""; var elm = document.getElementById( 'change_name3' ) ; if (work_zzzz[2][0] != "") { elm.innerHTML = work_zzzz[2][0] + "/" + work_zzzz[2][1] +"/" + work_zzzz[2][2] + "/" + work_zzzz[2][3]; } else elm.innerHTML = ""; var elm = document.getElementById( 'change_name4' ) ; if (work_zzzz[3][0] != "") { elm.innerHTML = work_zzzz[3][0] + "/" + work_zzzz[3][1] +"/" + work_zzzz[3][2] + "/" + work_zzzz[3][3]; } else elm.innerHTML = ""; var elm = document.getElementById( 'change_name5' ) ; if (work_zzzz[4][0] != "") { elm.innerHTML = work_zzzz[4][0] + "/" + work_zzzz[4][1] +"/" + work_zzzz[4][2] + "/" + work_zzzz[4][3]; } else elm.innerHTML = ""; var elm = document.getElementById( 'change_name6' ) ; if (work_zzzz[5][0] != "") { elm.innerHTML = work_zzzz[5][0] + "/" + work_zzzz[5][1] +"/" + work_zzzz[5][2] + "/" + work_zzzz[5][3]; } else elm.innerHTML = ""; var elm = document.getElementById( 'change_name7' ) ; if (work_zzzz[6][0] != "") { elm.innerHTML = work_zzzz[6][0] + "/" + work_zzzz[6][1] +"/" + work_zzzz[6][2] + "/" + work_zzzz[6][3]; } else elm.innerHTML = ""; var elm = document.getElementById( 'change_name8' ) ; if (work_zzzz[7][0] != "") { elm.innerHTML = work_zzzz[7][0] + "/" + work_zzzz[7][1] +"/" + work_zzzz[7][2] + "/" + work_zzzz[7][3]; } else elm.innerHTML = ""; } function sss(sch_tbl,kuiki_t,ym_t,saishu_tbl) { //alert(kuiki_t); hhh = ym_t.substr(5); iii = hhh.split("月"); jjj = iii[0].replace(/[A-Za-z0-9]/g, function(s) { return String.fromCharCode(s.charCodeAt(0) - 0xFEE0); }); var zHit = 0; var zprop = ""; var keyword = getParameterFromURL("subject"); // obtain keyword from the URL "?subject=" //alert(sch_tbl); // Work loop $.each(LinkData.getWorks(), function(workKey, workValue) { // File loop $.each(LinkData.getFiles(workValue), function(fileKey, fileValue) { var hit = ""; // list of subjects whose URI matches keyword var nHit = 0; // number of subjects whose URI matches keyword var i = 1; var hotText; var set; var saishu_wk; var saishu_ch; var saishu_no; // Subject loop $.each(LinkData.getSubjects(workValue, fileValue), function(subjKey, subjValue) { $.each(LinkData.getProperties(workValue, fileValue), function(propKey, propValue) { //alert(fileValue); list = ""; $.each(LinkData.getObjects(workValue, fileValue, subjValue, propValue), function(objKey, objValue) { zprop = propValue; if(propValue == "http://linkdata.org/property/rdf1s7865i#%E5%8F%8E%E9%9B%86%E5%9C%B0%E5%8C%BA"){ if( objValue == kuiki_t) { zHit = 1; //alert(objValue); } } if ( zHit == 1) { if(propValue == "http://linkdata.org/property/rdf1s7865i#%E7%87%83%E3%82%84%E3%81%9B%E3%82%8B%E3%81%94%E3%81%BF"){ //燃やせるゴミ if (fileValue == "sch_Jan_H31nendo") { sch_tbl[0][2] = objValue; } else { sch_tbl[0][1] = objValue; //alert(objValue); } } if(propValue == "http://linkdata.org/property/rdf1s7865i#%E3%83%9A%E3%83%83%E3%83%88%E3%83%9C%E3%83%88%E3%83%AB"){ //ペットボトル if (fileValue == "sch_Jan_H31nendo") { sch_tbl[1][2] = objValue; } else { sch_tbl[1][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7865i#%E3%81%82%E3%81%8D%E7%BC%B6"){ //空き缶 if (fileValue == "sch_Jan_H31nendo") { sch_tbl[2][2] = objValue; } else { sch_tbl[2][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7865i#%E3%81%82%E3%81%8D%E3%81%B3%E3%82%93%E3%83%BB%E3%82%B9%E3%83%97%E3%83%AC%E3%83%BC%E3%83%BB%E3%82%AC%E3%82%B9%E3%82%AB%E3%83%BC%E3%83%88%E3%83%AA%E3%83%83%E3%82%B8"){ //あきびん・スプレー・ガスカートリッジ if (fileValue == "sch_Jan_H31nendo") { sch_tbl[3][2] = objValue; } else { sch_tbl[3][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E3%82%B9%E3%83%97%E3%83%AC%E3%83%BC%E7%BC%B6"){ //スプレー缶 if (fileValue == "sch_Jan_H31nendo") { sch_tbl[4][2] = objValue; } else { sch_tbl[4][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E3%82%AC%E3%82%B9%E3%82%AB%E3%83%BC%E3%83%88%E3%83%AA%E3%83%83%E3%82%B8"){ //ガスカートリッジ if (fileValue == "sch_Jan_H31nendo") { sch_tbl[5][2] = objValue; } else { sch_tbl[5][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7865i#%E5%8F%A4%E7%9D%80%E3%83%BB%E5%B8%83%E9%A1%9E"){ //古着布類 if (fileValue == "sch_Jan_H31nendo") { sch_tbl[6][2] = objValue; } else { sch_tbl[6][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7865i#%E9%9B%91%E7%B4%99%E3%83%BB%E6%96%B0%E8%81%9E%E3%83%BB%E9%9B%91%E8%AA%8C%E3%83%BB%E5%8F%A4%E6%9C%AC%E3%83%BB%E3%83%80%E3%83%B3%E3%83%9C%E3%83%BC%E3%83%AB%E3%83%BB%E7%B4%99%E3%83%91%E3%83%83%E3%82%AF"){ //新聞紙雑誌・古本・ダンボール・紙パック・ if (fileValue == "sch_Jan_H31nendo") { sch_tbl[7][2] = objValue; } else { sch_tbl[7][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E5%8F%A4%E6%9C%AC"){ //古本 if (fileValue == "sch_Jan_H31nendo") { sch_tbl[8][2] = objValue; } else { sch_tbl[8][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E3%83%80%E3%83%B3%E3%83%9C%E3%83%BC%E3%83%AB"){ //ダンボール if (fileValue == "sch_Jan_H31nendo") { sch_tbl[9][2] = objValue; } else { sch_tbl[9][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E7%B4%99%E3%83%91%E3%83%83%E3%82%AF"){ //紙パック if (fileValue == "sch_Jan_H31nendo") { sch_tbl[10][2] = objValue; } else { sch_tbl[10][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7865i#%E7%87%83%E3%82%84%E3%81%9B%E3%81%AA%E3%81%84%E3%81%94%E3%81%BF%E3%80%81%E9%87%91%E5%B1%9E%E3%80%81%E6%9C%89%E5%AE%B3%E3%81%94%E3%81%BF"){ //燃やせないゴミ・有害ごみ・金属 if (fileValue == "sch_Jan_H31nendo") { sch_tbl[11][2] = objValue; zHit = 0; } else { sch_tbl[11][1] = objValue; zHit = 0; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E6%9C%89%E5%AE%B3%E3%81%94%E3%81%BF"){ //有害ごみ if (fileValue == "sch_Jan_H31nendo") { sch_tbl[12][2] = objValue; } else { sch_tbl[12][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E9%87%91%E5%B1%9E"){ //金属 if (fileValue == "sch_Jan_H31nendo") { sch_tbl[13][2] = objValue; } else { sch_tbl[13][1] = objValue; } } if(propValue == "http://linkdata.org/property/rdf1s7006i#%E7%B2%97%E5%A4%A7%E3%82%B4%E3%83%9F"){ //粗大ゴミ saishu_wk = objValue; //alert("saishu_wk=" + saishu_wk); //alert("ym_t=" + ym_t); //alert("jjj=" + jjj); if(saishu_wk.substr(0,2) == "最終") { saishu_ch = saishu_wk.substr(2,1); if(saishu_ch == "日") { saishu_no = 0; } else if(saishu_ch == "月") { saishu_no = 1; } else if(saishu_ch == "火") { saishu_no = 2; } else if(saishu_ch == "水") { saishu_no = 3; } else if(saishu_ch == "木") { saishu_no = 4; } else if(saishu_ch == "金") { saishu_no = 5; } else if(saishu_ch == "土") { saishu_no = 6; } jjj = Number(jjj); if (jjj < 4) { jjjj = jjj + 12; } else { jjjj = jjj; } jjjj = jjjj - 3; objValue = saishu_tbl[saishu_no][jjjj]; //alert("saishu_ch=" + saishu_ch); //alert("jjjj=" + jjjj); //alert("objValue=" + objValue); } //alert(objValue); if (fileValue == "sch_Jan_H31nendo") { sch_tbl[14][2] = objValue; zHit = 0; } else { sch_tbl[14][1] = objValue; zHit = 0; } } } }); }); i++; }); }); }); //alert(zHit); //alert(zprop); //alert(sch_tbl); //window.find(highlight); }; function ttt(work_zzzz,kuiki_t,ym) { //alert(kuiki_t); //alert(ym); var work_t = ["","","",""]; // var kuiki_t = "網地島地区"; // var tuki_t = "平成28年10月"; var keyword = getParameterFromURL("subject"); // obtain keyword from the URL "?subject=" var list = ""; // list to be displayed var tuki_f = 0; var work_c = 0; for ( var work_c = 0; work_c < 8; work_c++ ){ work_zzzz[work_c][0] = ""; work_zzzz[work_c][1] = ""; work_zzzz[work_c][2] = ""; work_zzzz[work_c][3] = ""; } var work_c = 0; //alert(work_zzzz); // Work loop $.each(LinkData.getWorks(), function(workKey, workValue) { // File loop $.each(LinkData.getFiles(workValue), function(fileKey, fileValue) { // Subject loop $.each(LinkData.getSubjects(workValue, fileValue), function(subjKey, subjValue) { tuki_f = 0; $.each( LinkData.getTriplesBySubject(workValue, fileValue, subjValue), function( tripleKey, tripleValue ) { if (fileValue == "Exception_H31nendo") { var subj = decodeURIComponent(subjValue); var prop = decodeURIComponent(tripleValue.property); //alert(prop); prop = prop.split("#"); var obj = tripleValue.object; //alert(prop[1]); if (prop[1] == "例外日") { if ( obj.indexOf(ym) != -1) { tuki_f = 1; work_t[0] = obj; //alert(obj); } } if (prop[1] == "アイテム") { if ( tuki_f == 1) { work_t[1] = obj; } } if (prop[1] == "例外内容") { if ( tuki_f == 1) { work_t[2] = obj; } } if (prop[1] == "代替日") { if ( tuki_f == 1) { work_t[3] = obj; } } if (prop[1] == kuiki_t) { if ( tuki_f == 1) { work_zzzz[work_c][0] = work_t[0]; work_zzzz[work_c][1] = work_t[1]; work_zzzz[work_c][2] = work_t[2]; work_zzzz[work_c][3] = work_t[3]; work_c++; tuki_f = 0; } } } }); }); }); }); // alert(work_zzzz); }; // Get a parameter value in URL (e.g. ?paramString=value ) function getParameterFromURL( paramString ) { var value = ""; var topWindow = top.window.location.search; if( topWindow ){ var q = decodeURIComponent(topWindow.substring(1,topWindow.length)).split("&"); for ( var i = 0; i < q.length; i++ ){ var r = q[i].split("="); if ( r[0] == paramString ) value = r[1]; } } return value; } // Highlight keyword in the string function highlight( string, keyword ) { if ( keyword.length > 0 ) { var ss = string.split(keyword); var len = ss.length; if ( len > 1 ) { string = ss[0]; for ( i = 1; i < len; i++ ) // string += "<font color=\"red\">"+keyword+"</font>"+ss[i]; string += "<span class=\"highlight\">"+keyword+"</span>"+ss[i]; } } return string; } // get the last name of the string separated with # and / function getLastName( string ) { string = decodeURIComponent(string); var sharp = string.split("#"); var slash = sharp[sharp.length-1].split("/"); var lastName = slash[slash.length-1]; return lastName; } // return a link to Google map search function addLinkToMap( latitude, longitude ) { var s = "<br><a target=\"_blank\" href=\"http://www.google.com/maps/?q=" + latitude + "," + longitude + "\">Show map</a>"; return s; } // shortening URL e.g. http://.../123.jpg function shortenURL( url ) { url = decodeURIComponent(url); var slash = url.split("/"); var lastName = slash[slash.length-1]; return url.split(":")[0]+"://.../"+lastName; }
span.highlight {color: red;} span.propertyName {color: gray;} span.subject { color: blue; } span.object{ color: black; } html { overflow-y:scroll; } body { background: white; line-height: 10%;} a, a span { text-decoration: underline; } a:hover, a span:hover { text-decoration: none; }
<script type="text/javascript"> </script> <form name="js" onContextmenu="return false"> <p><font size="3">区域:<input type="text" name="kuiki" list="data1" value="石巻C地区"></p> <datalist id="data1"> <option value="石巻A地区"></option> <option value="石巻B地区"></option> <option value="石巻C地区"></option> <option value="石巻D1地区"></option> <option value="石巻D2地区"></option> <option value="河北大川地区"></option> <option value="河北大谷地地区"></option> <option value="河北二俣地区"></option> <option value="河北飯野川地区"></option> <option value="雄勝地区全域"></option> <option value="河南A収集地区"></option> <option value="河南B収集地区"></option> <option value="河南C収集地区"></option> <option value="河南D収集地区"></option> <option value="桃生A-1地区"></option> <option value="桃生A-2地区"></option> <option value="桃生B-1地区"></option> <option value="桃生B-2地区"></option> <option value="桃生C地区"></option> <option value="北上地区全域"></option> <option value="牡鹿A地区"></option> <option value="牡鹿B地区"></option> <option value="牡鹿C地区"></option> <option value="牡鹿D地区"></option> </datalist> <p><font size="3">ごみ種別:<input type="text" name="gomi_name" list="data2" value="燃やせるゴミ"></p> <datalist id="data2"> <option value="燃やせるゴミ"></option> <option value="ペットボトル"></option> <option value="あき缶"></option> <option value="あきびん・スプレー・ガスカートリッジ"></option> <option value="古着・布類"></option> <option value="雑紙・新聞・雑誌・古本・ダンボール・紙パック"></option> <option value="燃やせないごみ、金属、有害ごみ"></option> <option value="粗大ゴミ"></option> </datalist> <p><font size="3">調べたい年月:<input type="text" name="tuki" list="data3" value="平成31年4月"></p> <datalist id="data3"> <option value="平成31年4月"></option> <option value="平成31年5月"></option> <option value="平成31年6月"></option> <option value="平成31年7月"></option> <option value="平成31年8月"></option> <option value="平成31年9月"></option> <option value="平成31年10月"></option> <option value="平成31年11月"></option> <option value="平成31年12月"></option> <option value="平成32年1月"></option> <option value="平成32年2月"></option> <option value="平成32年3月"></option> </datalist> <font size="3"><input type="button" value="表示" onclick="aaa()"><br> </form> <body scroll="yes"> <p><font size="5">ごみ出しスケジュール:<span id="sch_name"></span></p> <p><font size="5"> 日 月 火 水 木 金 土</p> <p><font size="5"><span id="date_name1"></span></p> <p><font size="5"><span id="date_name2"></span></p> <p><font size="5"><span id="date_name3"></span></p> <p><font size="5"><span id="date_name4"></span></p> <p><font size="5"><span id="date_name5"></span></p> <p><font size="5"><span id="date_name6"></span></p> <p><font size="5"><span id="date_name7"></span></p> <p><font size="2">スケジュール変更情報:<span id="change_name"></span></p> <p><font size="2">変更日/ごみ種別/変更の種別/代替日</p> <p><font size="2"><span id="change_name1"></span></p> <p><font size="2"><span id="change_name2"></span></p> <p><font size="2"><span id="change_name3"></span></p> <p><font size="2"><span id="change_name4"></span></p> <p><font size="2"><span id="change_name5"></span></p> <p><font size="2"><span id="change_name6"></span></p> <p><font size="2"><span id="change_name7"></span></p> <p><font size="2"><span id="change_name8"></span></p> </body>
Preview
Input Data
ReadMe
Snapshots
LinkData Work
Table Data
宮城県石巻市 ごみ出しスケジュール(平成31年度)
Contributor:石巻市, ICT総合推進課
Update:Apr 17, 2019
680 Downloads, 2 Applications
平成31年度 収集日程 注)網地島の収集スケジュールを分離し、"sch_ajishima_H31nendo"としました。網地島の収集スケジュールは通年このデータを参照してください。 1.データの説明 (1)地区と収集地区の対応表・・・・・・・・・Collection_area_H31nendo 説明:地域がどの収集地区に所属しているかを定義したデータ。 (2)ごみ出しスケジュール(1月を除く) ・・・sch_without_Jan_H31nendo 説明:収集地区毎、ごみの種類毎の収集スケジュールデータ。平成32年1月を除く平成31年度のデータとなります。網地島地区を除きます。 (3)ごみ出しスケジュール(1月) ・・・・・・sch_Jan_H31nendo 説明:収集地区毎、ごみの種類毎の収集スケジュールデータ。平成32年1月のデータとなります。網地島地区を除きます。 (4)ごみ出しスケジュール(網地島) ・・・・sch_ajishima_H31nendo 説明:網地島のごみ種類ごとの収集スケジュールデータ。網地島地区の収集スケジュールについてはこのテーブルを参照してください。 (5)例外・・・・・・・・・・・・・・・・・・Exception_H31nendo 説明:項番2及び3で定義した収集スケジュールの内、年末年始休業等で収集日を変える/中止する等の例外対応をする計画です。例えば石巻B地区の平成31年12月31日は(火)で燃やせるごみの収集日ですが、年末の休業により中止とする事になります。。収集日を決定する際、スケジュールと併せてこのデータをチェックする必要があります。なお網地島に関しては収集スケジュールを分離しましたので、この表にはありません。 (6)分別の仕方・・・・・・・・・・・・・・・Classification_H31nendo 説明:ごみの品名毎にどのごみの種類に該当するか定義したデータです。 (7)連絡先・・・・・・・・・・・・・・・・・Contact_H31nendo 2.ごみの種類について ごみの種類毎に収集スケジュールが決まっています。ごみを出す際には分別の仕方に従ってごみの種類を決める訳ですが、そのごみの種類について定義します。 (1)雑紙・新聞・雑誌・古本・ダンボール・紙パック (2)燃やせるごみ (3)あき缶 (4)あきびん・スプレー・ガスカートリッジ (5)ペットボトル (6)燃やせないごみ・金属・有害ごみ (7)古着・布類 粗大ごみの収集日は配布用のカレンダーには説明欄に記述がありますが、粗大ごみを誤ってごみ集積場所に出される事を防ぐ為オープンデータからは外しています。アプリでデータを活用する場合は上記(1)~(7)のごみの種類を使っていただくようお願いします。 3.スケジュールの文法について スケジュールをデータに現す時に使う文法について説明します。 (1)ある月の全てのある曜日を示す場合 曜日 例)月 ある月の全ての月曜日を意味します。 (2)ある月の第n曜日を示す場合 曜日+n(nは全角) 例)水2 ある月の第2水曜日を意味します。 (3)連結 曜日を”|”で連結します。 ケース1:曜日|曜日|曜日 ケース2:曜日n|曜日m(nとmは全角) 例)月|木 ある月の全ての月曜日と木曜日を意味します。 例)水2|水4 ある月の第2水曜日と第4水曜日を意味します。
Classification_H31nendo
Collection_area_H31nendo
Contact_H31nendo
Exception_H31nendo
sch_Jan_H31nendo
sch_ajishima_H31nendo
[
]
sch_without_Jan_H31nendo
Add LinkData work(LinkData)
Link http://app.linkdata.org/run/app1s1732i?tab=readme
jquery-1.11.2.min.js
Work
Add
Clear
insert work id or work name.