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

liuhang 3f76b1e2a2 修改 6 년 전
example d7ae6e01d0 修改代码路径 6 년 전
src 31013cee0c 对传入的geom进行判断,是否为4490或4326 6 년 전
LICENSE bb5bcf372d Initial commit 6 년 전
README.md 3f76b1e2a2 修改 6 년 전
geoc-pg-coordtransform.sql 42876ac6ec 解决wgs84tobd09单面转换的错误 6 년 전

README.md

Welcome to pg-coordtransform 👋

Version

coordtransform function base on PostgreSQL and PostGIS. support WGS84 GCJ02 BD09

Example

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

How to use

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

Who use/Who star

  • 阿里巴巴(digoal,德哥)

  • CTOLib码库

  • 国信司南

  • 九天气象(lzuniujp08)

  • 深圳普天宜通股份有限公司(ShareQiu1994)

  • 中原百科(zhongyuanbaike)

  • MonsterBOBO(hanrea)

  • nocode(sanford)

Author

👤 LH QQ:1016817543

👤 Wangsb QQ:1017218804

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!