Aller au contenu principal

How to add shape file and display on map

Commentaires

2 commentaires

  • Permanently deleted user

    Hi Leo,

     

    It looks to me like Workflow is having difficulty converting the file object to use in the request. What activity/property are you using it in? I did a quick test using the Convert To JSON activity and found that when it's used on a file object, the resulting json text is empty. I'll follow up on my end and see if this is something that we expect should be working.

    0
  • Permanently deleted user

    Hi Leo,

     

    I've been told that we don't expect converting a file object to json to work. Additionally:

    "The ArcGIS endpoint can’t accept a JSON definition of a shapefile. You’d need to upload the raw file data in the Web Request by doing a multipart request. See http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Publish_Item/02r300000080000000/"

     

    It sounds like adding a dedicated workflow Activity for this would be the best way to go from our perspective. Could you post this in the Ideas section so that others can vote to have that implemented?

    0

Vous devez vous connecter pour laisser un commentaire.