摘要:
/** * @Desc 根据经纬度坐标计算两点的距离算法 * @Author yangzhenlong * @Data 2018/5/9 18:38 */ public class LocationUtils { private static final Double PI = Math.PI; private static final Double PK = 180 / ... 阅读全文
posted @ 2018-05-31 17:57
艺言弈行
阅读(5067)
评论(0)
推荐(0)
摘要:
es实体,用 @GeoPointField 注解,值为:中间逗号隔开,如 29.477000,119.278536(经度, 维度) 接口: 实现: 查询10公里范围数据,返回: 阅读全文
posted @ 2018-05-31 17:55
艺言弈行
阅读(8510)
评论(8)
推荐(0)

浙公网安备 33010602011771号