How to get lat and long from sdo_geometry in oracle

前端 未结 4 2012
暗喜
暗喜 2020-12-11 04:24

How can I get lat and long from point in oracle?

Like this:

MDSYS.SDO_GEOMETRY(2001,4326,NULL,
  MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1),
          


        
4条回答
  •  萌比男神i
    2020-12-11 05:03

    select a.id, t.x, t.y from geometry_table a,table(sdo_util.getvertices(a.geometry_column)) t where a.id = 1;

提交回复
热议问题