gpt4 book ai didi

postgis - 如何从 PostGIS 中的地理数据获取经度/纬度

转载 作者:行者123 更新时间:2023-12-04 02:14:56 28 4
gpt4 key购买 nike

我需要 PostGIS 中地理数据中心的经度和纬度。格式称为 EPSG 2206,记录中的列是“length”、“shape_area”和“the_geom”

最佳答案

我使用查询来获取经度和纬度。
Longitude

SELECT ST_X(the_geom) FROM myTable;
Latitude
SELECT ST_Y(the_geom) FROM myTable;

关于postgis - 如何从 PostGIS 中的地理数据获取经度/纬度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13212034/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com