Zum Hauptinhalt gehen

MapService to FeatureSet

Kommentare

4 Kommentare

  • Permanently deleted user

    Hi Josh

    if I recall correctly the input is a Geometry Service not just a Map Service.

    Images can be included in a message directly by uploading the images to the server. Not an immediately obvious process but possible.

    Ralph

    0
  • Permanently deleted user

    Geoprocessing errors can sometimes be found in your ArcGIS Server logs in more helpful forms -- look in the ArcGIS Server Manager web interface for this.

    I'm not quite sure what you are trying to do with these parameters though. A GPFeatureRecordSetLayer parameter is basically a FeatureSet variable + a tag that tells the geoprocessor what parameter slot to put it in. A URL to a mapservice is not at all equivalent to this -- even if it understood that, how would it know what features from the mapservice to buffer?

    Of course, it is possible to pass a URL as a parameter to a geoprocessing task, but this would be a GPString parameter, and you would have to rewrite the geoprocessor to look out for this variable instead.

    0
  • Permanently deleted user

     

    Hi Jonathan. Thanks for the quick reply.  The reason I want to use a Mapservice URL (specifically a layer in the MapService) is so that I can query against that entire layer (every feature in that layer).  I'm still getting an error that I cannot figure out.  I'm simply trying to do a Spatial Join between two feature sets but keep getting "Unable to complete operation..".  Both my input parameters are Feature Sets and my output parameter is a feature class and all three parameters are set to "Model Parameter" inside the Model in Toolbox.  After publishing the GP Service, I can't get it to work.  Thoughts?

    0
  • Permanently deleted user

    There is probably a more complete error message in your ArcGIS Server logs, accessible through the ArcGIS Manager web interface. You should check here regularly when trying to debug geoprocessing tools. They can be quite tricky at the best of times, and every bit of useful information helps.

    Other than that I'm not sure we can provide more helpful advice without taking a detailed look at your setup -- you are welcome to open a support case for some one on one assistance with this.

    0

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