hyunhonoh / geoconvert

Splunk> KATECH / TM / WGS80 converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geoconvert

용도

네이버 좌표계를 위경도로 바꾸기 위해서 사용.

예제 주소 및 SPL 코드

x y x_long y_lat 행정구역명
316730.00 589063.00 126.55067660157071 37.90028778475512 경기도 동두천시 생연2동
316730.00 589063.00 126.55067660157071 37.90028778475512 경기도 동두천시 생연2동
316730.00 589063.00 126.55067660157071 37.90028778475512 경기도 동두천시 생연2동
316730.00 589063.00 126.55067660157071 37.90028778475512 경기도 동두천시 생연2동
index=bootcamp sourcetype="bootcamp" 
| convert num(X좌표) as x 
| convert num(Y좌표) as y 
| geoconvert x y 
| rename x_long as longitude, y_lat as latitude 
| lookup skorea latitude, longitude 
| stats count by featureId 
| geom skorea

About

Splunk> KATECH / TM / WGS80 converter


Languages

Language:Python 100.0%