摘要: 有个需求 根据前端传来的点和距离 查询 该范围内的数据 和返回距离 一开始是这样写的 select * ,st_distance('${前端传来的wkt}'::geography,${空间字段}::geography) as "与目标距离" from 表 where st_dwithin('${前端 阅读全文
posted @ 2023-01-17 10:30 霸王龙168 阅读(181) 评论(0) 推荐(0)