<?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: querying based on map extent in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618749#M13735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to limit the geometry to the size of a state, so that when a user is panning the map on the state border, it would still return the results. The requirement is the limit the geometry of the query to a size, say the size of the state of virginia. Thank you for your time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Mar 2011 12:10:49 GMT</pubDate>
    <dc:creator>ArshadAhmed</dc:creator>
    <dc:date>2011-03-25T12:10:49Z</dc:date>
    <item>
      <title>querying based on map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618747#M13733</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'm using a QueryTask that takes a Query and it is querying by the geometry. Basically, I have an event listener that listens for extent change of the US topo map and then takes the map extent and gives it as an input to the Query. But I would like to make sure that the map is zoomed atleast to the state level before I execute the query. How can I find out if the map extent is atleast at the state level or lower and then execute the query? I hope this question is clear. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arshad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 00:56:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618747#M13733</guid>
      <dc:creator>ArshadAhmed</dc:creator>
      <dc:date>2011-03-25T00:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: querying based on map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618748#M13734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you know the extent of the state layer, then on each extent change on you can check whether that extent has been reached. If so perform the query.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 08:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618748#M13734</guid>
      <dc:creator>FaizanTayyab</dc:creator>
      <dc:date>2011-03-25T08:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: querying based on map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618749#M13735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to limit the geometry to the size of a state, so that when a user is panning the map on the state border, it would still return the results. The requirement is the limit the geometry of the query to a size, say the size of the state of virginia. Thank you for your time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 12:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618749#M13735</guid>
      <dc:creator>ArshadAhmed</dc:creator>
      <dc:date>2011-03-25T12:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: querying based on map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618750#M13736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you looked at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/tasks/Query.html"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/tasks/Query.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;especially at the constants. that might be what you are looking for&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_CONTAINS constant &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_CONTAINS:String = "esriSpatialRelContains"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Part or all of a feature from feature class 1 is contained within a feature from feature class 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_CROSSES constant&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_CROSSES:String = "esriSpatialRelCrosses"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature from feature class 1 crosses a feature from feature class 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_ENVELOPEINTERSECTS constant&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_ENVELOPEINTERSECTS:String = "esriSpatialRelEnvelopeIntersects"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The envelope of feature class 1 intersects with the envelope of feature class 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_INDEXINTERSECTS constant&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_INDEXINTERSECTS:String = "esriSpatialRelIndexIntersects"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The envelope of the query feature class intersects the index entry for the target feature class. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_INTERSECTS constant&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_INTERSECTS:String = "esriSpatialRelIntersects"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Part of a feature from feature class 1 is contained in a feature from feature class 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_OVERLAPS constant&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_OVERLAPS:String = "esriSpatialRelOverlaps"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Features from feature class 1 overlap features in feature class 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_TOUCHES constant&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_TOUCHES:String = "esriSpatialRelTouches"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature from feature class 1 touches the border of a feature from feature class 2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SPATIAL_REL_WITHIN constant&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public static const SPATIAL_REL_WITHIN:String = "esriSpatialRelWithin"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature from feature class 1 is completely enclosed by the feature from feature class 2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 14:41:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/querying-based-on-map-extent/m-p/618750#M13736</guid>
      <dc:creator>FaizanTayyab</dc:creator>
      <dc:date>2011-03-25T14:41:27Z</dc:date>
    </item>
  </channel>
</rss>

