【发布时间】:2015-09-24 06:54:26
【问题描述】:
谁能帮我写一个查询来找到所有最近的多边形 经纬度。
所以我不能提供纬度/经度,我想找到所有最近的多边形。
这是我目前所拥有的:
SELECT name
FROM questions_radius
WHERE mdsys.sdo_within_distance(
the_geom,
mdsys.sdo_geometry(2001, 8307, mdsys.sdo_point_type(
-120, 43, null), null, null), 'distance=500 unit=FOOT')= 'TRUE'
但这给了我一个错误: 架构“mdsys”不存在。我正在使用 cartoDB。有人知道如何执行此查询吗?
【问题讨论】:
标签: postgresql cartodb