AnsweredAssumed Answered

Set extents for Oracle Spatial layer

Question asked by Stuart-ICSConsulting on Oct 13, 2014

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

Outcomes