du21064 2015-03-12 17:20
浏览 70

lat-lon A到B路线(直线)。 查找点是否在距离路线的距离内

Trying to solve it for couple days and still no solution :( There is route on the map A to B it is a straight line. A and B is lat-Lon coords. I need to find if point C (lat-lon) is within certain distance from the route. I need this solution to be 'very fast' since it might be many such points. Here is a picture:

http://www.framesbyleon.com/images/map.png

A -> B is a route, I need to calculate that rectangle (or stripe) around the route and use its coords to filter results with MySql. In human language it is like driving on a highway and pick up something if it isnt that far off. It seems I need to convert coords to Cartesian and do calculations? Thanks in advance

  • 写回答

1条回答 默认 最新

  • dte66654 2015-03-12 18:14
    关注
    评论

报告相同问题?

悬赏问题

  • ¥17 pro*C预编译“闪回查询”报错SCN不能识别
  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向