Export shapefile when using a collection method (drawings, measurements and notes)
I have used the "collection" method to separate drawings, measurements and notes.
How do I edit the command for exporting everything to a shape file, so it includes all three elements?
When I click export nothing happens after including the “collection” method.
Command for export:
[
"map.get-markup",
"results.from-graphics",
"results.convert-to-shapefile",
"system.download-file"
]
I use the following collections:
"collection": "custom-drawings"
"collection": "custom-measurement"
"collection": "vgs-map-notes"
-
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 -
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 -
I assume this does not include the notes?
Would it be possible to include the notes as well?0 -
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.
Commentaires
4 commentaires