<?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: ESRI.ArcGIS.VE.IdentifyTask() &amp;amp; onComplete adding shapes in projection 102113 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-arcgis-ve-identifytask-amp-amp-amp-oncomplete/m-p/584525#M54658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, more detail on the problem but no solution yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is in the "identify" querystring format (parameter order) that is send to the ArcGIS REST service from the Javascript API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the url below, if the sr=4326 is included AFTER the "layers" attribute. (This is how the Javascript API submit the request.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.dto.ie/ArcGIS/rest/services/CycleTracks_Public/MapServer/identify?geometry=-6.272013187408463,53.34437719342942&amp;amp;geometryType=esriGeometryPoint&amp;amp;layers=top:0&amp;amp;sr=4326&amp;amp;tolerance=10&amp;amp;mapExtent=-6.2782144546508904,53.342666982020766,-6.267775297164913,53.347329868896445&amp;amp;imageDisplay=969,400,96&amp;amp;returnGeometry=true&amp;amp;f=pjson&amp;amp;callback=ESRI.ArcGIS.VE.RestRequest.func1"&gt;....&amp;amp;layers=top:0&amp;amp;sr=4326&amp;amp;.....&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the url below, if the sr=4326 is included BEFORE the "layers" attribute. (This is how the ArcGIS HTML REST interface submit the request when you play with the identify functionality.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.dto.ie/ArcGIS/rest/services/CycleTracks_Public/MapServer/identify?geometry=-6.272013187408463,53.34437719342942&amp;amp;geometryType=esriGeometryPoint&amp;amp;sr=4326&amp;amp;layers=top:0&amp;amp;tolerance=10&amp;amp;mapExtent=-6.2782144546508904,53.342666982020766,-6.267775297164913,53.347329868896445&amp;amp;imageDisplay=969,400,96&amp;amp;returnGeometry=true&amp;amp;f=pjson&amp;amp;callback=ESRI.ArcGIS.VE.RestRequest.func1"&gt;....&amp;amp;sr=4326&amp;amp;layers=top:0&amp;amp;.....&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I played with the Javascript API but it seems I dont have control over how the identify GET request are build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug in the ArcGIS 10 REST identify functionality, or is the VE API V1.6 incompatible with ArcGIS 10?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any feedback will be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Gert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2011 09:37:44 GMT</pubDate>
    <dc:creator>GertConradie</dc:creator>
    <dc:date>2011-06-17T09:37:44Z</dc:date>
    <item>
      <title>ESRI.ArcGIS.VE.IdentifyTask() &amp;amp;amp; onComplete adding shapes in projection 102113</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-arcgis-ve-identifytask-amp-amp-amp-oncomplete/m-p/584524#M54657</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 inherited an application that use a custom ArcGIS layer on top of BING maps. It do an IdentifyTask and the features found are added to a VEShapeLayer with custom icons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somehow the icons is not shown any more and I was asked to investigate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I can see is that the projection of the features found &amp;amp; returned is different than of the map. (I can get the center coordinates of the map and add a feature/icon using that) The difference in values that I can see is exactly the same as demonstrated by this little app if I pan to the same area that I work with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://spatialreference.org/ref/sr-org/45/"&gt;http://spatialreference.org/ref/sr-org/45/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(The features found is in the "Output Coordinates" projection and the clicked location is in the "Input Coordinates")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I found stange is that this article states that the SpatialReference of the input and output geometries of IdentifyTask should be the same: (I can use the "InputGeometry" included with the features found without reprojection.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi_start.htm#jsapi/identifytask.htm"&gt;http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi_start.htm#jsapi/identifytask.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that when I check the spatial reference of the map it is null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I reference these Javascript API's:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2"&gt;http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/ve/?v=1.6"&gt;http://serverapi.arcgisonline.com/jsapi/ve/?v=1.6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the question is - should I somehow reproject the features/shapes found before adding them to the VEShapeLayer? - none of the examples I had seen seems to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:45:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-arcgis-ve-identifytask-amp-amp-amp-oncomplete/m-p/584524#M54657</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2011-06-09T09:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI.ArcGIS.VE.IdentifyTask() &amp; onComplete adding shapes in projection 102113</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-arcgis-ve-identifytask-amp-amp-amp-oncomplete/m-p/584525#M54658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, more detail on the problem but no solution yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is in the "identify" querystring format (parameter order) that is send to the ArcGIS REST service from the Javascript API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the url below, if the sr=4326 is included AFTER the "layers" attribute. (This is how the Javascript API submit the request.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.dto.ie/ArcGIS/rest/services/CycleTracks_Public/MapServer/identify?geometry=-6.272013187408463,53.34437719342942&amp;amp;geometryType=esriGeometryPoint&amp;amp;layers=top:0&amp;amp;sr=4326&amp;amp;tolerance=10&amp;amp;mapExtent=-6.2782144546508904,53.342666982020766,-6.267775297164913,53.347329868896445&amp;amp;imageDisplay=969,400,96&amp;amp;returnGeometry=true&amp;amp;f=pjson&amp;amp;callback=ESRI.ArcGIS.VE.RestRequest.func1"&gt;....&amp;amp;layers=top:0&amp;amp;sr=4326&amp;amp;.....&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the url below, if the sr=4326 is included BEFORE the "layers" attribute. (This is how the ArcGIS HTML REST interface submit the request when you play with the identify functionality.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.dto.ie/ArcGIS/rest/services/CycleTracks_Public/MapServer/identify?geometry=-6.272013187408463,53.34437719342942&amp;amp;geometryType=esriGeometryPoint&amp;amp;sr=4326&amp;amp;layers=top:0&amp;amp;tolerance=10&amp;amp;mapExtent=-6.2782144546508904,53.342666982020766,-6.267775297164913,53.347329868896445&amp;amp;imageDisplay=969,400,96&amp;amp;returnGeometry=true&amp;amp;f=pjson&amp;amp;callback=ESRI.ArcGIS.VE.RestRequest.func1"&gt;....&amp;amp;sr=4326&amp;amp;layers=top:0&amp;amp;.....&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I played with the Javascript API but it seems I dont have control over how the identify GET request are build.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the questions are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug in the ArcGIS 10 REST identify functionality, or is the VE API V1.6 incompatible with ArcGIS 10?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any feedback will be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Gert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 09:37:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-arcgis-ve-identifytask-amp-amp-amp-oncomplete/m-p/584525#M54658</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2011-06-17T09:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI.ArcGIS.VE.IdentifyTask() &amp; onComplete adding shapes in projection 102113</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-arcgis-ve-identifytask-amp-amp-amp-oncomplete/m-p/584526#M54659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just an update - ESRI acknowledged the issue and is looking at it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem occure when in the ESRI.ArcGIS.VE.IdentifyTask() supply parameter 'layers' in format 'top:0' to the REST API. ('Layers=all' dont replicate it)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 11:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-arcgis-ve-identifytask-amp-amp-amp-oncomplete/m-p/584526#M54659</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2011-07-21T11:53:33Z</dc:date>
    </item>
  </channel>
</rss>

