Newer
Older
osm-data / index.html
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset='utf-8'/>
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>PLATEAU DATA</title>
  7. <link rel="stylesheet" href="lib/ol6.14.1-dist/ol.css" type="text/css">
  8. <link rel="stylesheet" href="lib/surveyor.css" type="text/css">
  9. <script src="lib/ol6.14.1-dist/ol.js"></script>
  10. <script src="index.js" type='text/javascript'></script>
  11. <style>
  12. #map {
  13. width: 98%;
  14. height: 640px;
  15. }
  16. #popup {
  17. position: relative;
  18. display: inline-block;
  19. margin: 1.5em 0;
  20. padding: 7px 10px;
  21. min-width: 120px;
  22. max-width: 100%;
  23. color: #555;
  24. font-size: 16px;
  25. background: #FFF;
  26. border: solid 3px #555;
  27. box-sizing: border-box;
  28. }
  29. #popup:before {
  30. content: "";
  31. position: absolute;
  32. bottom: -24px;
  33. left: 50%;
  34. margin-left: -15px;
  35. border: 12px solid transparent;
  36. border-top: 12px solid #FFF;
  37. z-index: 2;
  38. }
  39. #popup:after {
  40. content: "";
  41. position: absolute;
  42. bottom: -30px;
  43. left: 50%;
  44. margin-left: -17px;
  45. border: 14px solid transparent;
  46. border-top: 14px solid #555;
  47. z-index: 1;
  48. }
  49. .link {
  50. white-space: pre-line;
  51. border: dotted 2px skyblue;
  52. margin: 20px;
  53. padding: 10px;
  54. font-size: 16px; line-height: 2; color: blue;
  55. }
  56. .popup p {
  57. margin: 0;
  58. padding: 0;
  59. }
  60. </style>
  61. </head>
  62. <body onload='loadMap();'>
  63. <div id="wrap">
  64. <div class="header">
  65. <H1>PLATEAU OSMデータ</H1>
  66. </div>
  67. <div id="inner">
  68. <div class='link'><p class='plane'>「'<a href="https://surveyor.mydns.jp/task-bldg/">task-bldg</a>'」に、PLATEAU「<a href="https://www.geospatial.jp/ckan/dataset/plateau">3D都市モデル</a>」を参照して OpenStreetMapを編集する方法の説明があります。
  69. 「'<a href="https://surveyor.mydns.jp/task-bldg/">task-bldg</a>'」にて「作業登録」を行ってからOpenStreetMapへの編集を開始してください。</p></div>
  70.  
  71. <div>
  72. <table>
  73. <caption>PLATEAU 作業対象リスト</caption>
  74. <thead>
  75. <tr>
  76. <th>code</th>
  77. <th>地区名</th>
  78. <th>フォルダ名</th>
  79. </tr>
  80. </thead>
  81. <tbody id="data_list"></tbody>
  82. </table>
  83. </div>
  84. <div><a href="site-policy.html">サイト利用規約</a></div>
  85. <div class="clear"><hr /></div>
  86. </div>
  87. </div>
  88. <script src="lib/jquery-2.1.1.min.js"></script>
  89. <script>
  90. window.addEventListener('DOMContentLoaded', function() {
  91. $.getJSON("index.json", function(data) {
  92. var count = 0 ;
  93. $(data.list).each(function() {
  94. $("#data_list").append("<tr id=\"data_id" + count + "\"></tr>") ;
  95. $("#data_list #data_id" + count).append("<td class='code'>" + this.code + "</td>") ;
  96. $("#data_list #data_id" + count).append("<td class='name'>" + this.name + "</td>") ;
  97. $("#data_list #data_id" + count).append("<td class='path'><a href='index2.html?code=" + this.code +"'>" + this.path +"</a></td>") ;
  98. count++ ;
  99. });
  100. });
  101. });
  102. </script>
  103. <!-- ポップアップ -->
  104. <div id='popup' class='ol-popup'>
  105. <a href='#' id='popup-closer' class='ol-popup-closer'></a>
  106. <div id='popup-content'></div>
  107. </div>
  108. </body>
  109. </html>