<?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 Re: Query extent without returned geometries in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696822#M15563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need to get the extent of a layer with a where clause.&lt;BR /&gt;&lt;BR /&gt;Right now, I use a QueryTask with returnGeometries=true, then I get the extent of all the graphics. Do you think there is a solution to do the same thing without downloading all the geometries to the client ?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you performing a necessary query to get a subset? If not...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can get the extent of a layer itself using the GetDetails() method on the ArcGISDynamicLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#getDetails%28%29"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#getDetails%28%29&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jul 2010 18:29:48 GMT</pubDate>
    <dc:creator>EokNgo</dc:creator>
    <dc:date>2010-07-29T18:29:48Z</dc:date>
    <item>
      <title>Query extent without returned geometries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696821#M15562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to get the extent of a layer with a where clause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now, I use a QueryTask with returnGeometries=true, then I get the extent of all the graphics. Do you think there is a solution to do the same thing without downloading all the geometries to the client ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 12:39:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696821#M15562</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2010-07-29T12:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query extent without returned geometries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696822#M15563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need to get the extent of a layer with a where clause.&lt;BR /&gt;&lt;BR /&gt;Right now, I use a QueryTask with returnGeometries=true, then I get the extent of all the graphics. Do you think there is a solution to do the same thing without downloading all the geometries to the client ?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you performing a necessary query to get a subset? If not...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can get the extent of a layer itself using the GetDetails() method on the ArcGISDynamicLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#getDetails%28%29"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#getDetails%28%29&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jul 2010 18:29:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696822#M15563</guid>
      <dc:creator>EokNgo</dc:creator>
      <dc:date>2010-07-29T18:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Query extent without returned geometries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696823#M15564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes the problem is that I specify a where clause to get a subset of my layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, it would be nice to have the extent stored in the result when we query with "returnGeometry=false".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 09:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696823#M15564</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2010-07-30T09:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Query extent without returned geometries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696824#M15565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A workaround is to set maxAllowableOffset with a high value. The returned geometries look like triangles but the query executes much faster. Then a GraphicUtil.getExtent() will do the job.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 11:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/query-extent-without-returned-geometries/m-p/696824#M15565</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2010-09-29T11:40:40Z</dc:date>
    </item>
  </channel>
</rss>

