Geographic Data Collection, Virtualization and Search System using Google Maps API s1200160 Takanori Shinozaki
1
Geographic Data Collection, Virtualization and Search System using - - PowerPoint PPT Presentation
Geographic Data Collection, Virtualization and Search System using Google Maps API s1200160 Takanori Shinozaki 1 Outline Introduction Database Design and Data Structure Previous System UseCase Diagram Problems
1
2
○ GIS is a system designed to manage, serach and present all types of spatial or geographical data.
○ Information describing the location in latitude, longitude format
○ An online map service supported by Google
○ An Interface to manipulate the Google map from the program ○ Adding custom Google Maps to public site, mobile phone ○ Easy to generate geographic data by the geocoding function and the drawing tool. ○ Display location, area, route by point, polygon and polyline on the map
3
4
5
6
7
8
Apach Server
Web Browser
SQL
Result
User Interface
Ajax Engine
PHP
Request Send Request Result Result
9
Database
Send Request
KML CSV TXT data
Google Map API
DATA
10
Data from http://itp.ne.jp/result/?kw=%89%EF%92%C3%8E%E1%8F%BC%81%40%8B%E2%8Ds&dcad=07 hospital (371 records) 8 columns bank (7 records) Data from http://ishakoko.jp/search?jiscode=07202 facility (8 records) Data from http://www.city.aizuwakamatsu.fukushima.jp/index_php/city_map/show_map.php school (44 records) Data from http://www.city.aizuwakamatsu.fukushima.jp/index_php/city_map/show_map.php
11
Data from http://buste.in/search/bus/list/BusteisCity/list1/358 4 columns 5 columns busstop (361 records) Data from facility (8 records) Data from http://e-stat.go.jp/SG2/eStatGIS/page/download.html [3] newroad (22 records) Data from http://www.aizukanko.com/kk/aibase/01shirou/maps/map_shigaizu.htm[2]
New Tables
machi (241 records)
12
are New Functions
13
○ Check ■ To check the number of columns in the table ○ New ■ Delete all data, add new data ○ Append ■ Add new data
○ Dowload Aizu-Wakamatsu city area data from e-stat[3] data. ○ Convert the shap data to kml data using QGIS[4] ○ Add Hiragana and Romaji information data[5]
14
select KML data select Kanji and Hiragana display KML data select table Display Table submit Input database Check the format. KML file & information data & table check. display information data select New or Append
15
16
To display area input or select Display Button Reset button update for database delete for database Information of the polygon Display the polygon e.g. Kogaimachi (蚕養 町)
Edit button name & romaji To create new polygon Drawing tool
17
18
Delete Update button Reset Edit button Display button select or input display polyline Display Polyline Automacicaly drawing polyline information New Polyline button
Drawing tool
19
Operation point op polygon point op polyline polygon op polygon polygon op polyline polyline op polyline nearest
20
select table what do you want to serch? result txt display result on map select opeartion sub opeartion display result
show SQL
21
22
Interactive Geographic Data Generation CSV File Conversion CSV File input Database Data Display Data Serch Draw Circle Draw rectangle Draw Polyline Draw Marker Draw Polygon Geocording Hiragana to Roamaji change to lat & lng
KML File input Database
Format Check String New String Append Format Check polygon or polyline String Append Table Edit Map location Edit Add Data Delete Data Update data Contain Serach Within Search Draw Point My System Disjoint Serach Neary Serach
Get Display Data Drawing on the map Select Shape Select Color Interactive Geographic Data Generation CSV File Conversion Select CSV File Check The Function Select Specifies The Row Input Save Name and Destination CSV Data to Database Select CSV File Select Table Format Check Check The New or Append Save to Database KML Data to Database Select KML File Select Information File Select Table Format Check Save to Database Display Data From Database Select Point Polygon or Polyline Display Data Serach Select Table A Select Operation Select Table B Display Result
23
Edit Add Edit Delete
24
25
Conversion Functions Previous System Our System CSV file
×
Functions Previous System Our System Point Polygon Polyline Point Polygon Polyline Display
×
×
×
×
26
Search Func- tions Previous System Our System
point
point Point
Polygon Point
Polyline Polygon
Polygon Polygon
Polyline Polyline
Polyline point
point Point
Polygon Point
Polyline Polygon
Polygon Polygon
Polyline Polyline
Polyline
near
27
28
29
① ② ③ ⑦ ④ ⑥ Select main menu → [3.2]KML Data to Database ①KML File : AizuKML.kml ②Information Data : AizuYomikata.txt ③Tablename : machi ④Check button : ⑤Check insert data method : New : Delete all records and insert data Append : Insert new data Table Delete : Select Table coloms delete ⑥Submit button : Input database. ⑦Crick table name : machi ⑤ Result KML Kanji & Hiragana Information “machi” table http://match6db:8080/s1200160/GGS/menu.html
30
Click main menu → [4.2] Data Display & Edit -Polygon ①Click the “New Polygon” ②Select Polygon by drawing tool ③Draw Polygon ④Input name and romaji information ⑤Click the select area →input geo ⑥save button
③ ⑤ ⑥ ④ ② ①
31
① ② Click main menu → [4.2] Data Display & Edit -Polygon ①Input or selected area name : 会津大学 ②Click “Display Aera” button →display polygon and information ③Click “Edit” button ④⑤Change the text box information. ⑥Change the coordinate data Click and drag ⑦Click the field ⑧Save(○) button ⑥ ⑦ ⑧
③
32
① ② Click main menu → [4.2] Data Display & Edit -Polygon ①Input or selected area name : 会津大 ②Click “Display Aera” button →display polygon and information
33
① ② ③ ④ ⑤ ⑥Display result in table form ⑦Display SQL result Display result on map
Select “[5] Data Search”
34
① ② ③ ⑤ ⑥ ⑥Display result in table form ⑥Display SQL result
Select “[5] Data Search” ④
35
① ② ③ ⑤ ⑥ ⑦Display result in table form ⑥Display SQL result
(Result empty)
Select “[5] Data Search” ④
1. GIS http://www.gsi.go.jp/GIS/ 2. 会津若松 まちなか観光マップhttp://www.city.aizuwakamatsu.fukushima.jp/e/sight/exlanguage_map.pdf 3. National Census Data (Aizu area data) http://e-stat.go.jp/SG2/eStatGIS/page/download.html 4. QGIS http://qgis.org/ja/site/ 5. Information data(How to read area name) http://memorva.jp/zipcode/index.php 6. Apach https://httpd.apache.org/download.cgi 7. postgreSQL http://www.postgresql.org/ 8. PHP http://php.net/downloads.php 9. Google Maps API v3 http://www.ajaxtower.jp/googlemaps/ 10. jQuery https://jquery.com/ 11. 会津若松市 道路名 :マピオン電話帳 - Mapion http://www.mapion.co.jp/phonebook/M08015/07202/ 12. Toorist spot & conviniens store http://itp.ne.jp/result/?kw=%95%9F%93%87%8C%A7%89%EF%92%C3%8E%E1%8F%BC%8Es&dcad=07
36