Set extents for Oracle Spatial layer

1486
0
10-13-2014 05:06 AM
StuartFraser2
New Contributor

Hi All,

When i try to add a layer to my map control from Oracle Spatial it gets the data extent by using an SDO_AGGR_MBR query on the data. This takes too long on a large table. Is there anyway to set the extents programatically? I have tried to set the layer's spatialreference to the same as the map before adding it, but it still goes back to the database to calculate the spatial extents of the data.

I am using Oracle 11g R2 and ArcObjects 10.2.2

Thanks

0 Kudos
0 Replies