Hoppa till huvudinnehållet

Convert picked file from file picker to json file

Kommentarer

7 kommentarer

  • Jamal Numan

    +1

    1
  • Berend Veldkamp

    You can do that by using the Get Text From File activity, passing the file from the file picker as input, i.e. =$form1.state.filePicker1.value.files[0]

     

    Jamal Numan You can use the Up arrow on the right to upvote posts.

    2
  • Lubna

    Dear Berend Veldkamp

    I want to convert file to json with the coordinates to be like below file, I tried your suggestion but it seams that output text not clear content

     

    What your suggestion in this case

    Thanks in advance

    Lubna

    1
  • Nico Burgerhart

    What is the file type of the file you are trying to upload?

    2
  • Lubna

    Hi Nico Burgerhart,

    the file type is .dwg (cad file) to convert it to feature to  display it as a graphic layer into vertigis viewer

    Best,

    Lubna

    1
  • Berend Veldkamp

    Dwg is a binary file format, and converting it to json using workflow alone would be a major undertaking.

    3
  • Lubna

    Thank you Berend Veldkamp

    I used fme workbench to read ".dwg" file and convert it to "json" file and save it on the server, then I publish it using fme server to be used in send web request activity.

    Now, the workflow is worked fine with me

     

    Best,

    Lubna

    1

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