Aller au contenu principal

Export shapefile when using a collection method (drawings, measurements and notes)

Commentaires

4 commentaires

  • Martin Lauenborg

    Hi Lea,

    Did you try specifying the name of the collection in the “map.get-markup” command? More specifically, I believe it should be the “collection” property in the GetMarkupArgs argument.

    https://developers.vertigisstudio.com/docs/web/api-commands-operations/#operation-map.get-markup

    1
  • Lea Dyrholm Hansen

    Hi Martin

    I only want to export the drawings after all. 

    My command ended up like this: 

     

    [

        {

            "name": "map.get-markup",

            "arguments": {

                "collection": "custom-drawings"

            }

        },

        "results.from-graphics",

        {

            "name": "results.convert-to-shapefile",

            "arguments": {

                "collection": "custom-drawings"

            }

        },

        {

            "name": "system.download-file",

            "arguments": {

                "collection": "custom-drawings"

            }

        }

    ]

    Since I’m not that familiar with coding, it requires some practice coding these commands in VertiGIS Studio Web. 

    0
  • Jasper Kroon

    I assume this does not include the notes?

    Would it be possible to include the notes as well?

    0
  • Lea Dyrholm Hansen

    Hi Jasper

    Yes this is only the drawings. 

    I belive you can add the notes to the export by adding and extra collection as an argument. 

    However perhaps you should first look at the output of the notes. 

    I think it requires some work to inculde the text annotations with the map markup (notes). 

    0

Vous devez vous connecter pour laisser un commentaire.