Zum Hauptinhalt gehen

Select Polygon feature from selected Point feature

Kommentare

2 Kommentare

  • Permanently deleted user
    What's the error? Can you temporary highlight in the viewer SelectedGeometry to ensure that it contains values that you are expecting?
    0
  • Permanently deleted user
    Hi Gary, 

     

    It doesn't look like anything's wrong with the configuration of the two activities that you included. Like Francesca said, I'd recommend double checking the outputs leading up to the QueryTask with the error.  here's some tests you could do in a case like this-
    • An Alert with resultFeatureSet.Features.Count.ToString will confirm the number of results in the first featureset
    • A Run External Command activity with Command: "AddMarkup" and Parameter: selectedGeometry would help you confirm that the geometry that comes from the UnionTask looks right.
    • Running the QueryTask with Where 1=1 instead of Geometry selectedGeometry will confirm that the query service url works.
    Hope that helps!

     

    -Amanda
    0

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