¾È±Ô °øºÎ¹æ

Javascript & JQuery & CSS > Google Maps API + GPS °Å¸® ±¸Çϱâ (MS_SQL Query ÀÌ¿ë)

µî·ÏÀÏ : 2017-07-14 17:15 Á¶È¸¼ö : 53,055

À§µµ-°æµµ¸¦ ÀÌ¿ëÇÏ¿© µÎ ÁöÁ¡°£ÀÇ °Å¸®¸¦ ±¸ÇÏ´Â Query ¹® ÀÔ´Ï´Ù.

°Å¸®°è»ê °ø½Ä
lat1, lat2 = À§µµ1, À§µµ2
lon1, lon2 = °æµµ1, °æµµ2 
 

select sqrt(round(round(lat1-lat2,10)*111000,10) * round(round(lat1 - lat2,10)*111000,10)+ 
round(round(lon1 - lon2,10)*88800,10) * round(round(lon1 - lon2,10)*88800,10))/1000 


select sqrt(round(round(35.1604187-35.4085814,10)*111000,10) * round(round(35.1604187 - 35.4085814,10)*111000,10)+  
round(round(126.8046524 - 126.49306590000003,10)*88800,10) * round(round(126.8046524 - 126.49306590000003,10)*88800,10))/1000  
 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.