当前位置:网站首页>postgis 生成 图形切割
postgis 生成 图形切割
2022-06-29 18:10:00 【cuisidong1997】
rsql='select r.code,r.name,st_intersection(r.geom, city.geom) as geom ' \
'from (SELECT * from gis_osm_道路) as r,(select * from gis_县 where 市=\'铜陵市\' and name=\'%s\') as city ' \
'where st_intersects(r.geom, city.geom)'%(town)
其中st_intersection用于相交图形的切割
st_intersects用于相交图形的筛选,用于提高查询速度
边栏推荐
- 山东大学项目实训(七)添加导航栏选择城市
- 2022.6.29-----leetcode.535
- Adobe Premiere基礎-聲音調整(音量矯正,降噪,電話音,音高換擋器,參數均衡器)(十八)
- 熊猫跑酷js小游戏代码
- Stepping on the pit: json Parse and json stringify
- Shell tutorial circular statements for, while, until usage
- Shell基本语法--流程控制
- Failed to allocate graph: myriad device is not opened
- How do I add SmartArt to slides in PowerPoint?
- [tcapulusdb knowledge base] tcapulusdb operation and maintenance doc introduction
猜你喜欢
随机推荐
2022.6.29-----leetcode. five hundred and thirty-five
优雅书写Controller(参数验证+统一异常处理)
记录服务器被入侵病毒:ssh密码被更改登录失败、恶意程序跑满了cpu、jar包启动失败自动kill、一直弹出You have new mail in /var/spool/mail/root
龙canvas动画
Adobe Premiere foundation - opacity (mixed mode) (XII)
Niuke Xiaobai monthly race 52 E group logarithmic sum (inclusion exclusion theorem + dichotomy)
Dictionary tree (optional)
Find the maximum XOR value in the sequence given a number (01 Dictionary)
MySQL数据库每日备份并定时清理脚本
如何将OAK相机当做网络摄像头使用?
2022.6.29-----leetcode.535
3H proficient in opencv (VIII) - shape detection
jdbc_ Related codes
POJ 1975 (transitive closure)
Markdown common fonts
源码安装MAVROS
VMware installation esxi
codeforces每日5题(均1700)-第二天
Request header field xxxx is not allowed by Access-Control-Allow-Headers in preflight response问题
WBF:检测任务NMS后虑框新方式?









