摘要: 聚合: SELECT array_to_string(array_agg(distinct caliber order by caliber asc),'/') as ccc from ys_line 方法: create or replace function computeJZWAreaForP 阅读全文
posted @ 2021-08-27 17:50 羊大葱 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 一、PostGIS中的几何类型 PostGIS支持所有OGC规范的“Simple Features”类型,同时在此基础上扩展了对3DZ、3DM、4D坐标的支持。 1. OGC的WKB和WKT格式 OGC定义了两种描述几何对象的格式,分别是WKB(Well-Known Binary)和WKT(Well 阅读全文
posted @ 2021-08-27 17:47 羊大葱 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: github:https://github.com/yieryi/geotools4postgis/下面的geojson导入postgis,shp导入postgis,postgis导出shp,postgis导出geojson已经封装好在GitHub上。maven里导入对应的jar(复制pom相应代码 阅读全文
posted @ 2021-08-27 17:37 羊大葱 阅读(893) 评论(0) 推荐(0) 编辑