Get lat/long from polygon geometry
Hi,
I have an application where I need to get point(lat,long) values from polygon geometry. It has to be
in a seperate column. I have tried following but it is not working in my application. How I should
get lat, long column in a seperate column i.e. select a.LATITUDE, a.LONGITUDE, a.geometry from table1 a.
Please help!
select s.ID, t.x as LATITUDE, t.y as LONGITUDE
FROM table1 s, Table(sdo_util.GETVERTICES(s.geometry)) t
Thanks in advance