Skip to main content

Select Features From a Layer After Using Upload Data

Comments

1 comment

  • Berend Veldkamp
    I suppose the Query and Filter tools only see actual ArcGIS Server layers. Uploaded shapefiles are added as graphics to a separate graphics layer.

     

    To do something usefull with uploaded shapes, you would probably need to write a workflow. One example would be to use the GetGraphicsLayerContent activity to get the greometries, which in turn could be used in a QueryTask activity. This assumes you know the ID of the graphics layer that contains the upload shapes.

     

    Another way would be to put everything in a workflow: Use a DisplayForm to upload the shapefile, then ShapeFileToFeatureSet to convert it to a FeatureSet (and optionally RunExternalCommand [AddMarkupGeometry] to add the shapefile to the map). Finally use a QueryTask to query other layers.
    0

Please sign in to leave a comment.