<?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: intersect grids count is not matching in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intersect-grids-count-is-not-matching/m-p/233494#M21780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Veena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Are you sure that intersects is what you want then? What about using &lt;SPAN style="color: #595959; background-color: #fafafa;"&gt;SPATIAL_REL_CONTAINS?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 13:19:07 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-09-20T13:19:07Z</dc:date>
    <item>
      <title>intersect grids count is not matching</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intersect-grids-count-is-not-matching/m-p/233493#M21779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;function loadSearch(districtname) {&lt;BR /&gt;&lt;SPAN&gt; queryTask = new esri.tasks.QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F************%2Farcgis%2Frest%2Fservices%2FDEMO%2FKGISV1%2FMapServer%2F2" rel="nofollow" target="_blank"&gt;http://************/arcgis/rest/services/DEMO/KGISV1/MapServer/2&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt; query = new esri.tasks.Query();&lt;BR /&gt; query.where = "DistrictName = '" + districtname + "'";&lt;BR /&gt; query.returnGeometry = true;&lt;BR /&gt; //query.geometryPrecision = 1;&lt;BR /&gt; queryTask.execute(query);&lt;BR /&gt; dojo.connect(queryTask, "onComplete", zoomToZip);&lt;BR /&gt; // dojo.connect(queryTask, "onComplete", zoomToZip2);&lt;BR /&gt; // dojo.connect(queryTask, "onComplete", zoomToZip3);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;function zoomToZip(featureSet) {&lt;BR /&gt; var polygon = featureSet.features[0].geometry;&lt;BR /&gt; // populate the Geometry cache by calling getExtent()&lt;BR /&gt; //var polygon&lt;BR /&gt; //for (var i = 0; i &amp;lt; featureSet.features.length; i++) {&lt;BR /&gt; &lt;BR /&gt; // polygon=featureSet.features&lt;I&gt;&lt;BR /&gt; //}&lt;BR /&gt; //alert(polygon.geometry.type);&lt;BR /&gt; var polygonExtent = polygon.getExtent();&lt;BR /&gt; &lt;BR /&gt; alert(polygonExtent);&lt;BR /&gt;&lt;SPAN&gt; queryTask2 = new esri.tasks.QueryTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2F" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;************&lt;/SPAN&gt;/arcgis/rest/services/DEMO/GraticulesV1/MapServer/0");&lt;BR /&gt; query2 = new esri.tasks.Query();&lt;BR /&gt; query2.geometry = polygonExtent;&lt;BR /&gt; query2.spatialRelationship = esri.tasks.Query.SPATIAL_REL_INTERSECTS;&lt;BR /&gt; query2.returnGeometry = true;&lt;BR /&gt; query2.outFields = ["*"];&lt;BR /&gt; queryTask2.execute(query2);&lt;BR /&gt; dojo.connect(queryTask2, "onComplete", selectTracts);&lt;BR /&gt; }&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from first query i am getting extent of district .this geometry i am passing to second query.i am getting the output but intersected grids count is more compared to arcmap desktop.can any one tell me what is the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 09:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intersect-grids-count-is-not-matching/m-p/233493#M21779</guid>
      <dc:creator>veenahosur1</dc:creator>
      <dc:date>2016-09-20T09:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: intersect grids count is not matching</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intersect-grids-count-is-not-matching/m-p/233494#M21780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Veena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Are you sure that intersects is what you want then? What about using &lt;SPAN style="color: #595959; background-color: #fafafa;"&gt;SPATIAL_REL_CONTAINS?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 13:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intersect-grids-count-is-not-matching/m-p/233494#M21780</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-09-20T13:19:07Z</dc:date>
    </item>
  </channel>
</rss>

