<?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: REST query using Shape attribute in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-query-using-shape-attribute/m-p/211445#M1050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer and sorry for the delay.&amp;nbsp; I suspected that might be the case.&amp;nbsp; The issue was found by our test team as they were testing the search based on the properties of a number of sample features and Shape was one of those properties.&amp;nbsp; Therefore, in the real world scenario, there may well not actually be a use case for needing to search on the Geometry attribute so we are just going to park it as a known issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2015 10:09:47 GMT</pubDate>
    <dc:creator>SimonHodge</dc:creator>
    <dc:date>2015-03-03T10:09:47Z</dc:date>
    <item>
      <title>REST query using Shape attribute</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-query-using-shape-attribute/m-p/211443#M1048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to query a REST map serviced using the Shape attribute and it doesn't return any results.&amp;nbsp; I'm doing this from the JavaScript API using the FindTask with search field set to Shape and the search text set to a shape type e.g. Point, Polyline or Polygon.&amp;nbsp; None are returned.&amp;nbsp; However, when you examine the result of a search for something else, it does contain a Shape attribute with one of the given values.&amp;nbsp; I've also confirmed it's not working using the REST endpoints 'query' page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is this is a limitation of the REST service, probably something to do with the shape field being of type esriFieldTypeGeometry rather than a plain string type.&amp;nbsp; Can anyone confirm that it is a limitation, or whether it should in fact work but that I'm therefore doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 20:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-query-using-shape-attribute/m-p/211443#M1048</guid>
      <dc:creator>SimonHodge</dc:creator>
      <dc:date>2015-02-18T20:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST query using Shape attribute</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-query-using-shape-attribute/m-p/211444#M1049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The shape field is a geometry and cannot be compared to a string. ESRI often displays the geometry type in the field value - for example in the ArcMap feature class attribute table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are you attempting to search on geometry type? - there may be an alternative way to do what you are after.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 21:15:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-query-using-shape-attribute/m-p/211444#M1049</guid>
      <dc:creator>OwenEarley</dc:creator>
      <dc:date>2015-02-18T21:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: REST query using Shape attribute</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-query-using-shape-attribute/m-p/211445#M1050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer and sorry for the delay.&amp;nbsp; I suspected that might be the case.&amp;nbsp; The issue was found by our test team as they were testing the search based on the properties of a number of sample features and Shape was one of those properties.&amp;nbsp; Therefore, in the real world scenario, there may well not actually be a use case for needing to search on the Geometry attribute so we are just going to park it as a known issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 10:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-query-using-shape-attribute/m-p/211445#M1050</guid>
      <dc:creator>SimonHodge</dc:creator>
      <dc:date>2015-03-03T10:09:47Z</dc:date>
    </item>
  </channel>
</rss>

