2.根据点在数据库里查询在哪个多边形中 SELECT id, geom from dt_cy where ST_Contains(geom, st_geometryfromtext("POINT(113.4587
SELECT
id,
geom
from dt_cy
where
ST_Contains(geom, st_geometryfromtext("POINT(113.458729 34.816974)",4326));
select
*
from
teatcyd
ORDER BY teatcyd.geom <-> (SELECT geom from dt_cy where gid =74833) limit 1
CREATE INDEX teatcyd_geom_idx ON teatcyd USING GIST (shape);
--结束END--
本文标题: PostGis的几个简单应用算法
本文链接: https://www.lsjlt.com/news/4817.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-10
2024-05-10
2024-05-10
2024-05-10
2024-05-10
2024-05-10
2024-05-10
2024-05-10
2024-05-10
2024-05-10
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0