<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Set extents for Oracle Spatial layer in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/set-extents-for-oracle-spatial-layer/m-p/71440#M749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Oracle 11g R2 and ArcObjects 10.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 12:06:11 GMT</pubDate>
    <dc:creator>StuartFraser2</dc:creator>
    <dc:date>2014-10-13T12:06:11Z</dc:date>
    <item>
      <title>Set extents for Oracle Spatial layer</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-extents-for-oracle-spatial-layer/m-p/71440#M749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Oracle 11g R2 and ArcObjects 10.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 12:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-extents-for-oracle-spatial-layer/m-p/71440#M749</guid>
      <dc:creator>StuartFraser2</dc:creator>
      <dc:date>2014-10-13T12:06:11Z</dc:date>
    </item>
  </channel>
</rss>

