Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get max/min coordinates for spatial index

Hans HupeDec 9 2015 — edited Dec 10 2015

Hello,

I am new to Oracle Spatial and maybe it's a stupid question, but when I create a spatial index for one geo table, I always have to manually insert a row into the USER_SDO_GEOM_METADATA table.The DIMINFO table contains the bounding box, which are in my case the min/max X/Y coordinates (Long/Lat) of the entire geo table.

The SDO_GEOMETRY column in my geo table contains some polygons. How can I automatically query the geo table to return the desired max/min X/Y coordinates? I am looking for something like SELECT maxX(geo_data),.... FROM geo_table. Is this possible?

Thanks!

This post has been answered by Paul Dziemiela on Dec 9 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2016
Added on Dec 9 2015
5 comments
3,019 views