Hoppa till huvudinnehållet

Query Activity errors when passing geometry

Kommentarer

4 kommentarer

  • Zack Robison

    The "distance" parameter is only good for AGOL services, but you are making your request to an ArcGIS Enterprise service. Either buffer your point before executing the query with the "Buffer Geometry" task or push that service to ArcGIS Online.

    0
  • Bryan Bingham

    Thanks for the information Zack, an update.

     

    I added a bufferer before the query activity, i pass the activity the point geometry, units and ask for the results to be unioned. i'm now getting the message, "Error: Illegal Argument Exception" when the workflow gets to the buffer. I'll continue to fiddle around with the settings to see what might be causing me the problem.

     

    Essentials_Error

    0
  • Zack Robison

    I could be mistaken but your point geometry object looks wrong from here. How are you generating it? The spatial reference needs to be an object with a wkid property ie {spatialRef: {wkid: 1234}, type: "geom"...}.

    0
  • Bryan Bingham

    Zack, you were right! I moved the projection of the geometry out of the change event of the form and once that was complete it buffered and queried as expected!

     

    thanks for your help!

    0

Du måste logga in om du vill lämna en kommentar.