https://gitee.com/zjko_0/pg-coordtransform.git
PG 各类纠偏函数

liuhang e4e28f41fc 增加who use 6 роки тому
example d7ae6e01d0 修改代码路径 6 роки тому
src 4b69393817 增加bd09坐标系转换 6 роки тому
LICENSE bb5bcf372d Initial commit 6 роки тому
README.md e4e28f41fc 增加who use 6 роки тому
geoc-pg-coordtransform.sql 4b69393817 增加bd09坐标系转换 6 роки тому

README.md

pg-coordtransform

基于PostgreSQL+PostGIS的坐标转换函数,支持点、线、面的WGS84、GCJ02、BD09坐标互转

示例

GCJ02转WGS84
select geoc_gcj02towgs84(geom) from test_table
WGS84转GCJ02
select geoc_wgs84togcj02(geom) from test_table
WGS84转BD09
select geoc_wgs84tobd09(geom) from test_table
BD09转WGS84
select geoc_bd09towgs84(geom) from test_table
GCJ02转BD09
select geoc_gcj02tobd09(geom) from test_table
BD09转GCJ02
select geoc_bd09togcj02(geom) from test_table

如何安装

PostgreSQL安装PostGIS扩展
复制geoc-pg-coordtansform.sql中代码,在数据库执行

Who use/Who star

  • 阿里巴巴(digoal,德哥)

  • CTOLib码库

  • 国信司南

  • 九天气象(lzuniujp08)

  • 中原百科(zhongyuanbaike)

  • MonsterBOBO(hanrea)

  • nocode(sanford)

    与作者联系

    QQ: 1016817543

    QQ: 1017218804