<?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 How can I use polygon projected from Google in QueryTask? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-use-polygon-projected-from-google-in/m-p/421098#M38693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to project a user digitized polygon (GPolygon) before executing a QueryTask. I *think* this is an issue because the ESRI/Google API returns an ESRI geometry type after projecting a google geometry (GPolygon). The ESRI/Google API only takes Google geometry and thus the quandry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's a bug ... our data is in NAD27 and we've had limited success getting it to align with Google as a dynamic map service. Per an ESRI knowledge doc we have VBA code in the map document serving up the data. This aligns the data with google visually; however, when we perform a querytask the results we get back indicate the querytask is performed against the native projection (NAD27). So I was thinking I'd take the polygon the user digitizes and re-project back to NAD27 prior to performing the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing I can think of is switching to the ESRI/JavaScript API for the QueryTask. It looks like it's query task does take the ESRI geometry type. I'm not really stoked on referencing both the Google/ESRI and JavaScript/ESRI libraries so wanted to see if anybody had thoughts on a different approach?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jess&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jul 2010 18:49:07 GMT</pubDate>
    <dc:creator>JessB</dc:creator>
    <dc:date>2010-07-27T18:49:07Z</dc:date>
    <item>
      <title>How can I use polygon projected from Google in QueryTask?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-use-polygon-projected-from-google-in/m-p/421098#M38693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to project a user digitized polygon (GPolygon) before executing a QueryTask. I *think* this is an issue because the ESRI/Google API returns an ESRI geometry type after projecting a google geometry (GPolygon). The ESRI/Google API only takes Google geometry and thus the quandry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's a bug ... our data is in NAD27 and we've had limited success getting it to align with Google as a dynamic map service. Per an ESRI knowledge doc we have VBA code in the map document serving up the data. This aligns the data with google visually; however, when we perform a querytask the results we get back indicate the querytask is performed against the native projection (NAD27). So I was thinking I'd take the polygon the user digitizes and re-project back to NAD27 prior to performing the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing I can think of is switching to the ESRI/JavaScript API for the QueryTask. It looks like it's query task does take the ESRI geometry type. I'm not really stoked on referencing both the Google/ESRI and JavaScript/ESRI libraries so wanted to see if anybody had thoughts on a different approach?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jess&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 18:49:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-use-polygon-projected-from-google-in/m-p/421098#M38693</guid>
      <dc:creator>JessB</dc:creator>
      <dc:date>2010-07-27T18:49:07Z</dc:date>
    </item>
  </channel>
</rss>

