当前位置:网站首页>通过 postgis 制作 按照米制的矩形边框
通过 postgis 制作 按照米制的矩形边框
2022-06-22 12:12:00 【cuisidong1997】
psql=‘SELECT ST_Envelope(ST_Buffer(x.geom::geography, 25, ‘quad_segs=2’)::geometry) as geom,x.小区名称 FROM orcal网元geom工参lte铜陵 as x,(SELECT * FROM orcal网元geom工参lte铜陵 where 小区名称 like ‘%%TL联通大厦%%’ or 小区名称 like ‘%%TL枞阳旗山路与银塘路交叉口%%’) as b WHERE ST_DWithin(ST_Transform(x.geom, 2415),ST_Transform(b.geom, 2415),1000)’
d=gpd.read_postgis(psql,con=engine,geom_col=‘geom’)
print(d)
1、ST_Envelope 为矩形边界的包络
2、ST_Buffer(x.geom::geography, 25, ‘quad_segs=2’)::geometry) 做点的扩展
3、可以使用ST_ConvexHull(geom)做包络
边栏推荐
- OpenCV调用usb摄像头出现“select timeout”解决方法
- Flutter实现网易音乐登录页的波纹效果
- [game] Zhou Yu's skills
- 【极术读书】Arm64学习经验分享 by奔跑吧社区
- Lao Wang said that the sixth issue of the series: PHP programmers should build their own self-confidence
- Flutter -- realize the tabbar switching effect of Netease cloud music
- Jushan database was invited to attend Kunpeng developers' annual event 2022 to jointly build a domestic digital base
- 翻译soem的 tutorial.txt 文件
- A2L file analysis based on CAN bus (1)
- Repair flutter_ webview_ The problem of web layer residue when the plugin slides out of the page
猜你喜欢

老王说系列第六期:PHP程序员要建立自己的自信心

Help financial informatization innovation, Jushan database has won more than 50 financial customers recently

How to improve customer conversion rate on the official website

ffmpeg将amr格式转成mp3格式

MySQL_数据处理之增删改

第十二届 蓝桥杯 嵌入式设计与开发项目 决赛

Final of the 12th Blue Bridge Cup embedded design and development project

Fluent: split statefulwidget -- simplify page development, jump and value transfer

Flutter version Parallax effect of Zhihu list

Jushan database was invited to attend Kunpeng developers' annual event 2022 to jointly build a domestic digital base
随机推荐
天翼云探索云原生、边缘计算融合新思路
SAP-ABAP- 如何查找表,字段有哪些关联表
Lao Wang said that the sixth issue of the series: PHP programmers should build their own self-confidence
In depth analysis of glide source code
ES aggregation详解
Under Xinchuang: when the domestic database stars shine
SAP-ABAP-如何打开本地文件
SAP 系统License查看申请及导入
SNC processing failed SAP router certificate regeneration
[QT] QT get standard system path
[Jishu reading] arm64 learning experience sharing by running bar community
Fault tolerant heap shim applied to current process. This is usually due to previous crashes
巨杉数据库受邀出席鲲鹏开发者年度盛会2022,共建国产化数字底座
Flutter imitates airbnb's price range filter. (II)
0179 largest number
1961 check if string is a prefix of array
Flutter——ListView源码分析之child-view的构建
Flutter实现网易音乐登录页的波纹效果
In C # development, the third-party components lambdaparser, dynamicexpresso and z.expressions are used to dynamically parse / evaluate string expressions
MySQL_数据处理之查询