AnsweredAssumed Answered

REST query using Shape attribute

Question asked by on Feb 18, 2015
Latest reply on Mar 3, 2015 by



I'm trying to query a REST map serviced using the Shape attribute and it doesn't return any results.  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.  None are returned.  However, when you examine the result of a search for something else, it does contain a Shape attribute with one of the given values.  I've also confirmed it's not working using the REST endpoints 'query' page.


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.  Can anyone confirm that it is a limitation, or whether it should in fact work but that I'm therefore doing something wrong?