##121.308364,30.225778 示例对比的坐标

select * from broadcasts where location!='' and sqrt(  
    (  
     ((121.308364-longitude)*PI()*12656*cos(((30.225778+latitude)/2)*PI()/180)/180)  
     *  
     ((121.308364-longitude)*PI()*12656*cos (((30.225778+latitude)/2)*PI()/180)/180)  
    )  
    +  
    (  
     ((30.225778-latitude)*PI()*12656/180)  
     *  
     ((30.225778-latitude)*PI()*12656/180)  
    )  
)<20

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-12-17
  • 2022-12-23
  • 2022-01-15
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2021-09-30
  • 2022-01-31
相关资源
相似解决方案