【问题标题】:PostGIS st_centroid but return as kmlPostGIS st_centroid 但返回为 kml
【发布时间】:2012-06-21 15:18:23
【问题描述】:

选择 st_centroid(the_geom), road."id" FROM “公共”.道路

我将如何处理质心但将其返回为 kml? 基本上我想要线绳的中心和道路的名称。 有没有办法将道路质心的纬度返回为 x & y

【问题讨论】:

    标签: postgis


    【解决方案1】:

    SELECT ST_AsKML(ST_Centroid(the_geom)),id FROM 道路

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多