caseycupp

Getting different counts based on whether we have return geometry or not...

Discussion created by caseycupp on Apr 27, 2012
Latest reply on May 1, 2012 by rnarayanan-esristaff
We are using a rest service and have a spatial query that returns a different  number of items based on the whether return geometry is true of false? Everything else is the exact same

any hints as to why?

RETURNS 3
http://zzzzzsrv1/ArcGISProd/rest/services/MapServer/12/query?returnGeometry=false&geometryType=esriGeometryEnvelope&geometry=%7b%22xmin%22%3a-13291362.6920947%2c%22ymin%22%3a4173960.79209652%2c%22xmax%22%3a-13290950.1482033%2c%22ymax%22%3a4174226.65371536%2c%22spatialReference%22%3a%7b%22wkid%22%3a102100%7d%7d&inSR=102100&spatialRel=esriSpatialRelIntersects&outSR=102100&f=json&

{"displayFieldName":"WellName","fieldAliases":{"WellName":"WellName"},"features":[
{"attributes":{"WellName":"1FM   20A"}},
{"attributes":{"WellName":"1FM    5- 1"}},
{"attributes":{"WellName":"1FM    3- 2"}}]}


RETURNS 5
http://zzzzzzsrv1/ArcGISProd/rest/services/MapServer/12/query?returnGeometry=true&geometryType=esriGeometryEnvelope&geometry=%7b%22xmin%22%3a-13291362.6920947%2c%22ymin%22%3a4173960.79209652%2c%22xmax%22%3a-13290950.1482033%2c%22ymax%22%3a4174226.65371536%2c%22spatialReference%22%3a%7b%22wkid%22%3a102100%7d%7d&inSR=102100&spatialRel=esriSpatialRelIntersects&outSR=102100&f=json&

{"displayFieldName":"WellName","fieldAliases":{"WellName":"WellName"},"geometryType":"esriGeometryPoint","spatialReference":{"wkid":102100},"features":[
{"attributes":{"WellName":"1FM  217"},"geometry":{"x":-13291013.8745,"y":4174127.9225}},
{"attributes":{"WellName":"1FM   20A"},"geometry":{"x":-13291202.0131,"y":4174161.2372}},
{"attributes":{"WellName":"1FM    5- 1"},"geometry":{"x":-13291097.1362,"y":4174142.4154}},
{"attributes":{"WellName":"1FM    3- 2"},"geometry":{"x":-13291332.4255,"y":4174007.2292}},
{"attributes":{"WellName":"1FM    5- 2"},"geometry":{"x":-13291038.0957,"y":4174025.6379}}]}

Outcomes