Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle Spatial - querying user_sdo_geom_metadata
I'm struggling trying to learn some basics with Oracle Spatial.
After doing SQL*Loader of the Tiger Data (generated by shp2sdo ) for Los Angeles County, for example, I then want to query the user_sdo_geom_metadata to get the bounding box coordinates.
In SQL*Plus, I can do this:
SQL> select diminfo from user_sdo_geom_metadata where table_name = 'TGR06037LKA'; DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
For example, if I want my query to return just the -118.94474 lower bound value for X I assume I need to access the dim_array for SDO_DIMNAME (X) and then get the SDO_LB attribute. But how that would be written in SQL is where I am stuck.
Thanks for any help!
- Stephen G.
Received on Sat Mar 06 2004 - 06:01:16 CST