+ Reply to Thread
Results 1 to 4 of 4

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

  1. #1
    casey cupp
    Join Date
    Sep 2010
    Posts
    27
    Points
    0
    Answers Provided
    1


    0

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

    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/ser...rver/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/se...rver/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}}]}

  2. #2
    Jennifer Nery

    Join Date
    May 2010
    Posts
    2,449
    Points
    289
    Answers Provided
    51


    0

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

    I am not aware of this issue. If you're able to verify that you can run the query outside Silverlight app, you can post to ArcGIS Server forum http://forums.arcgis.com/forums/11-A...erver-REST-API. Let them know what version of server you are running. Also share with them what other parameters were set. If they are identical besides ReturnGeometry, I don't see why they would return different count.
    Jennifer Nery
    Software Developer
    ArcGIS API for SL/WPF/WP7

  3. #3
    casey cupp
    Join Date
    Sep 2010
    Posts
    27
    Points
    0
    Answers Provided
    1


    0

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

    This is not from Silverlight... we did first notice it when running the Silverlight Map and caught it in fiddler... but then we started running directly against the rest api in a browser outside of silverlight.... That is where we got results below.

    casey

  4. #4
    Ravi Narayanan

    Join Date
    Oct 2009
    Posts
    230
    Points
    30
    Answers Provided
    5


    0

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

    Hi Casey,

    Thank you for this post. Can you log an incident with ESRI Support for this issue? Please provide any sample data that can be used to repro this issue.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts