김윤지

Merge branch 'master' into 'master'

Master



See merge request !2
당신이 지금 죽을 확률은?
당신이 지금 죽을 확률은?
http://52.79.234.167
\ No newline at end of file
http://52.79.234.167
임시 http://127.0.0.1
\ No newline at end of file
......
module.exports = {
key = "XOLqI9tY4gVCdk1i2BoOM3EYmSUYqt8WlXUfIDSfD4RnNBrFwwthbNAtGOxoskP540JbUAzcnuABsydoE2U2dA%3D%3D"
}
module.exports = {
host: 'localhost',
user: 'root',
password: 'abcd',
database: 'db_option_trafficinfo'
}
\ No newline at end of file
{
"fields": [
{ "id": "afos_fid" },
{ "id": "afos_id" },
{ "id": "bjd_cd" },
{ "id": "spot_cd" },
{ "id": "sido_sgg_nm" },
{ "id": "spot_nm" },
{ "id": "occrrnc_cnt" },
{ "id": "caslt_cnt" },
{ "id": "dth_dnv_cnt" },
{ "id": "se_dnv_cnt" },
{ "id": "sl_dnv_cnt" },
{ "id": "wnd_dnv_cnt" },
{ "id": "geom_json" },
{ "id": "lo_crd" },
{ "id": "la_crd" }
],
"records": [
{
"lo_crd": "126.913415969472",
"dth_dnv_cnt": "1",
"geom_json": "{type:Polygon/coordinates:[[[126.914763442398/37.5492293175798]/[126.914737551084/37.5490208989909]/[126.914660872129/37.5488204892619]/[126.914536352264/37.5486357901207]/[126.914368776716/37.5484738995931]/[126.91416458532/37.548341039208]/[126.913931625036/37.5482423148821]/[126.913678848399/37.5481815206774]/[126.913415969472/37.5481609929754]/[126.913153090545/37.5481815206774]/[126.912900313908/37.5482423148821]/[126.912667353624/37.548341039208]/[126.912463162228/37.5484738995931]/[126.912295586681/37.5486357901207]/[126.912171066815/37.5488204892619]/[126.91209438786/37.5490208989909]/[126.912068496546/37.5492293175798]/[126.91209438786/37.5494377355859]/[126.912171066815/37.5496381436553]/[126.912295586681/37.5498228403127]/[126.912463162228/37.5499847279105]/[126.912667353624/37.5501175853658]/[126.912900313908/37.5502163072079]/[126.913153090545/37.550277099753]/[126.913415969472/37.5502976268722]/[126.913678848399/37.550277099753]/[126.913931625036/37.5502163072079]/[126.91416458532/37.5501175853658]/[126.914368776716/37.5499847279105]/[126.914536352264/37.5498228403127]/[126.914660872129/37.5496381436553]/[126.914737551084/37.5494377355859]/[126.914763442398/37.5492293175798]]]}",
"se_dnv_cnt": "8",
"sl_dnv_cnt": "79",
"afos_fid": "6467443",
"bjd_cd": "11440122",
"sido_sgg_nm": "서울특별시 마포구1",
"spot_nm": "서울특별시 마포구 합정동(합정역 인근)",
"afos_id": "2018074",
"spot_cd": "11440001",
"occrrnc_cnt": "60",
"caslt_cnt": "94",
"wnd_dnv_cnt": "6",
"la_crd": "37.54922931758"
},
{
"lo_crd": "126.947032472871",
"dth_dnv_cnt": "1",
"geom_json": "{type:Polygon/coordinates:[[[126.948379945797/37.5404063720573]/[126.948354054483/37.5401979288003]/[126.948277375528/37.5399974953512]/[126.948152855663/37.5398127743496]/[126.947985280115/37.5396508646611]/[126.947781088719/37.539517988551]/[126.947548128435/37.5394192525405]/[126.947295351798/37.5393584511404]/[126.947032472871/37.5393379210089]/[126.946769593944/37.5393584511404]/[126.946516817307/37.5394192525405]/[126.946283857023/37.539517988551]/[126.946079665627/37.5396508646611]/[126.945912090079/37.5398127743496]/[126.945787570214/37.5399974953512]/[126.945710891259/37.5401979288003]/[126.945684999945/37.5404063720573]/[126.945710891259/37.5406148147315]/[126.945787570214/37.5408152465211]/[126.945912090079/37.5409999650393]/[126.946079665627/37.5411618717982]/[126.946283857023/37.5412947449786]/[126.946516817307/37.5413934785055]/[126.946769593944/37.5414542782462]/[126.947032472871/37.541474807795]/[126.947295351798/37.5414542782462]/[126.947548128435/37.5413934785055]/[126.947781088719/37.5412947449786]/[126.947985280115/37.5411618717982]/[126.948152855663/37.5409999650393]/[126.948277375528/37.5408152465211]/[126.948354054483/37.5406148147315]/[126.948379945797/37.5404063720573]]]}",
"se_dnv_cnt": "6",
"sl_dnv_cnt": "51",
"afos_fid": "6467444",
"bjd_cd": "11440104",
"sido_sgg_nm": "서울특별시 마포구2",
"spot_nm": "서울특별시 마포구 도화동(일진빌딩 인근)",
"afos_id": "2018074",
"spot_cd": "11440002",
"occrrnc_cnt": "42",
"caslt_cnt": "60",
"wnd_dnv_cnt": "2",
"la_crd": "37.540406372057"
},
{
"lo_crd": "126.950985152444",
"dth_dnv_cnt": "0",
"geom_json": "{type:Polygon/coordinates:[[[126.95233262537/37.5439369566262]/[126.952306734056/37.5437285232398]/[126.952230055101/37.543528099282]/[126.952105535236/37.5433433870274]/[126.951937959688/37.5431814850059]/[126.951733768292/37.5430486151879]/[126.951500808008/37.5429498838529]/[126.951248031371/37.5428890853319]/[126.950985152444/37.5428685561725]/[126.950722273517/37.5428890853319]/[126.95046949688/37.5429498838529]/[126.950236536596/37.5430486151879]/[126.9500323452/37.5431814850059]/[126.949864769652/37.5433433870274]/[126.949740249787/37.543528099282]/[126.949663570832/37.5437285232398]/[126.949637679518/37.5439369566262]/[126.949663570832/37.5441453894298]/[126.949740249787/37.5443458117281]/[126.949864769652/37.544530521499]/[126.9500323452/37.5446924205909]/[126.950236536596/37.5448252874792]/[126.95046949688/37.5449240163305]/[126.950722273517/37.544984813192]/[126.950985152444/37.5450053417687]/[126.951248031371/37.544984813192]/[126.951500808008/37.5449240163305]/[126.951733768292/37.5448252874792]/[126.951937959688/37.5446924205909]/[126.952105535236/37.544530521499]/[126.952230055101/37.5443458117281]/[126.952306734056/37.5441453894298]/[126.95233262537/37.5439369566262]]]}",
"se_dnv_cnt": "8",
"sl_dnv_cnt": "51",
"afos_fid": "6467445",
"bjd_cd": "11440104",
"sido_sgg_nm": "서울특별시 마포구3",
"spot_nm": "서울특별시 마포구 도화동(공덕오거리 인근)",
"afos_id": "2018074",
"spot_cd": "11440003",
"occrrnc_cnt": "41",
"caslt_cnt": "62",
"wnd_dnv_cnt": "3",
"la_crd": "37.543936956626"
}
]
}
\ No newline at end of file
<response>
<header>
<resultCode>00</resultCode>
<resultMsg>NORMAL_CODE</resultMsg>
</header>
<body>
<items>
<item>
<afos_fid>6467443</afos_fid>
<afos_id>2018074</afos_id>
<bjd_cd>11440122</bjd_cd>
<spot_cd>11440001</spot_cd>
<sido_sgg_nm>서울특별시 마포구1</sido_sgg_nm>
<spot_nm>서울특별시 마포구 합정동(합정역 인근)</spot_nm>
<occrrnc_cnt>60</occrrnc_cnt>
<caslt_cnt>94</caslt_cnt>
<dth_dnv_cnt>1</dth_dnv_cnt>
<se_dnv_cnt>8</se_dnv_cnt>
<sl_dnv_cnt>79</sl_dnv_cnt>
<wnd_dnv_cnt>6</wnd_dnv_cnt>
<geom_json>{"type":"Polygon","coordinates":[[[126.914763442398,37.5492293175798],[126.914737551084,37.5490208989909],[126.914660872129,37.5488204892619],[126.914536352264,37.5486357901207],[126.914368776716,37.5484738995931],[126.91416458532,37.548341039208],[126.913931625036,37.5482423148821],[126.913678848399,37.5481815206774],[126.913415969472,37.5481609929754],[126.913153090545,37.5481815206774],[126.912900313908,37.5482423148821],[126.912667353624,37.548341039208],[126.912463162228,37.5484738995931],[126.912295586681,37.5486357901207],[126.912171066815,37.5488204892619],[126.91209438786,37.5490208989909],[126.912068496546,37.5492293175798],[126.91209438786,37.5494377355859],[126.912171066815,37.5496381436553],[126.912295586681,37.5498228403127],[126.912463162228,37.5499847279105],[126.912667353624,37.5501175853658],[126.912900313908,37.5502163072079],[126.913153090545,37.550277099753],[126.913415969472,37.5502976268722],[126.913678848399,37.550277099753],[126.913931625036,37.5502163072079],[126.91416458532,37.5501175853658],[126.914368776716,37.5499847279105],[126.914536352264,37.5498228403127],[126.914660872129,37.5496381436553],[126.914737551084,37.5494377355859],[126.914763442398,37.5492293175798]]]}</geom_json>
<lo_crd>126.913415969472</lo_crd>
<la_crd>37.54922931758</la_crd>
</item>
<item>
<afos_fid>6467444</afos_fid>
<afos_id>2018074</afos_id>
<bjd_cd>11440104</bjd_cd>
<spot_cd>11440002</spot_cd>
<sido_sgg_nm>서울특별시 마포구2</sido_sgg_nm>
<spot_nm>서울특별시 마포구 도화동(일진빌딩 인근)</spot_nm>
<occrrnc_cnt>42</occrrnc_cnt>
<caslt_cnt>60</caslt_cnt>
<dth_dnv_cnt>1</dth_dnv_cnt>
<se_dnv_cnt>6</se_dnv_cnt>
<sl_dnv_cnt>51</sl_dnv_cnt>
<wnd_dnv_cnt>2</wnd_dnv_cnt>
<geom_json>{"type":"Polygon","coordinates":[[[126.948379945797,37.5404063720573],[126.948354054483,37.5401979288003],[126.948277375528,37.5399974953512],[126.948152855663,37.5398127743496],[126.947985280115,37.5396508646611],[126.947781088719,37.539517988551],[126.947548128435,37.5394192525405],[126.947295351798,37.5393584511404],[126.947032472871,37.5393379210089],[126.946769593944,37.5393584511404],[126.946516817307,37.5394192525405],[126.946283857023,37.539517988551],[126.946079665627,37.5396508646611],[126.945912090079,37.5398127743496],[126.945787570214,37.5399974953512],[126.945710891259,37.5401979288003],[126.945684999945,37.5404063720573],[126.945710891259,37.5406148147315],[126.945787570214,37.5408152465211],[126.945912090079,37.5409999650393],[126.946079665627,37.5411618717982],[126.946283857023,37.5412947449786],[126.946516817307,37.5413934785055],[126.946769593944,37.5414542782462],[126.947032472871,37.541474807795],[126.947295351798,37.5414542782462],[126.947548128435,37.5413934785055],[126.947781088719,37.5412947449786],[126.947985280115,37.5411618717982],[126.948152855663,37.5409999650393],[126.948277375528,37.5408152465211],[126.948354054483,37.5406148147315],[126.948379945797,37.5404063720573]]]}</geom_json>
<lo_crd>126.947032472871</lo_crd>
<la_crd>37.540406372057</la_crd>
</item>
<item>
<afos_fid>6467445</afos_fid>
<afos_id>2018074</afos_id>
<bjd_cd>11440104</bjd_cd>
<spot_cd>11440003</spot_cd>
<sido_sgg_nm>서울특별시 마포구3</sido_sgg_nm>
<spot_nm>서울특별시 마포구 도화동(공덕오거리 인근)</spot_nm>
<occrrnc_cnt>41</occrrnc_cnt>
<caslt_cnt>62</caslt_cnt>
<dth_dnv_cnt>0</dth_dnv_cnt>
<se_dnv_cnt>8</se_dnv_cnt>
<sl_dnv_cnt>51</sl_dnv_cnt>
<wnd_dnv_cnt>3</wnd_dnv_cnt>
<geom_json>{"type":"Polygon","coordinates":[[[126.95233262537,37.5439369566262],[126.952306734056,37.5437285232398],[126.952230055101,37.543528099282],[126.952105535236,37.5433433870274],[126.951937959688,37.5431814850059],[126.951733768292,37.5430486151879],[126.951500808008,37.5429498838529],[126.951248031371,37.5428890853319],[126.950985152444,37.5428685561725],[126.950722273517,37.5428890853319],[126.95046949688,37.5429498838529],[126.950236536596,37.5430486151879],[126.9500323452,37.5431814850059],[126.949864769652,37.5433433870274],[126.949740249787,37.543528099282],[126.949663570832,37.5437285232398],[126.949637679518,37.5439369566262],[126.949663570832,37.5441453894298],[126.949740249787,37.5443458117281],[126.949864769652,37.544530521499],[126.9500323452,37.5446924205909],[126.950236536596,37.5448252874792],[126.95046949688,37.5449240163305],[126.950722273517,37.544984813192],[126.950985152444,37.5450053417687],[126.951248031371,37.544984813192],[126.951500808008,37.5449240163305],[126.951733768292,37.5448252874792],[126.951937959688,37.5446924205909],[126.952105535236,37.544530521499],[126.952230055101,37.5443458117281],[126.952306734056,37.5441453894298],[126.95233262537,37.5439369566262]]]}</geom_json>
<lo_crd>126.950985152444</lo_crd>
<la_crd>37.543936956626</la_crd>
</item>
</items>
<totalCount>3</totalCount>
<numOfRows>3</numOfRows>
<pageNo>1</pageNo>
</body>
</response>
No preview for this file type
This diff is collapsed. Click to expand it.
......@@ -13,10 +13,13 @@
"debug": "~2.6.9",
"ejs": "~2.5.7",
"express": "~4.16.0",
"helmet": "^3.13.0",
"helmet": "^3.15.0",
"http-errors": "~1.6.2",
"morgan": "~1.9.0",
"iconv-lite": "^0.4.23",
"morgan": "^1.9.1",
"mysql": "^2.16.0",
"raw-body": "^2.3.3",
"referrer-policy": "^1.1.0",
"request": "^2.88.0",
"socket.io": "^2.1.1"
}
......