Zum Hauptinhalt gehen

Geoprocessor

Kommentare

3 Kommentare

  • Brian Bieber

    I tried running the geoprocessing tool with the default parameters but it keeps failing so I don't know for sure if there are polygons coming back in each output parameter.  I also don't know what you've tried but the following should work.  Also make sure the polygon coordinates are coming back in the right projection.  I spent an entire day trying to get my construction projects to show when I finally found them in France instead of the US.  Discovered another ArcGIS Server bug, if the information was created with an LRS in a different projection than the map projection, ArcGIS server would only send back the coordinates from the base LRS, not the map coordinates.

    brian

    /customer/servlet/servlet.FileDownload?file=00P6000000elzgIEAQ

    0
  • Permanently deleted user

    Thank you for the reply.

     

    I was able to get the graphic to show up by doing a parallelforeach<graphic> with external command "AddMarkup" for each geometry. The graphics display in the correct spot in Kansas too so it wasn't the projection.

     

    I don't understand why I can't get the features from the GP to highlight though. I can identify them in the table of contents and zoom to them but not highlight them with the mouse over. If I do the exact same process with the results from a querytask I can highlight data. There has to be some bug happening when going from gp.featureset to the selection that doesn't allow the geometry to be passed along as a highlight. Sigh...

    0
  • Permanently deleted user

    I solved my problem by writing the results of the GP to an SDE feature class with a user attribute and database trigger to delete the previous results on the next insert for the user. Now I can query the service to retun query task results. It's probably better this way anyways. Allows greater control when symbolizing and labeling the output.

    0

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