Zum Hauptinhalt gehen

Query results double

Kommentare

1 Kommentar

  • Permanently deleted user

    You can verify what it is the input to the QueryTask and why the results is different from the one your expected with various ways.

    (1) Direct way: Check what the mapservice returns on your spatial query task by catching the Fiddler with server side. To do it, you need to add  the following  lines to <system.net/> section on the Web.Config or the REST.

         <defaultProxy>

     

              <proxy proxyaddress="http://localhost:8888" bypassonlocal="False"/>

     

         </defaultProxy>

    You can see what the input to query task on the layer with the geometry input looks like, and the output.

    This is the best way to confirm why the result is different with the ones you expected.

    (2) Indirect check: draw the markup of the geometry you used for the Query Task using 'AddMarkup' command, and Identity the same geometry area with the Selection Tool on the same geometry to see the result is the same as what your workflow does.

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.