Hoppa till huvudinnehållet

Add .shp to viewer via Workflow?

Kommentarer

2 kommentarer

  • Permanently deleted user

    I have got the same question. Anyone please help? Thanks

    0
  • Ryan Cooney

    Hi Ryan and Alex,

    You would likely need to build a custom command in the viewer. This command would accept the Shapefile URL as a parameter, it would download the Shapefile, unzip it, convert it to graphics and finally add it to the map. This would be a significant amount of development.

    As an alternative... if you have control of the GP service I would suggest changing the model to also output a GPFeatureRecordSetLayer that contains the features (I'm not an expert in how you would do this, but I know it is possible). This would give the workflow access to a FeatureSet that you could pass directly to the SelectFeatures activity, or run one of the commands that adds graphics to the map.

    --Ryan

    0

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