import polygon
Sorry if I have somehow missed this reading through the syntool developer manual and the other posts in the syntool forum, I am wondering if it is possible to upload a polygon geojson file? We've tried following the examples but also notice that in the documentation that the expected format seems to rather be points than a polygon. Have I missed something? Thanks for the help.
Hi liz_atwood,

Unfortunately, at the moment, we only support imports in a custom JSON-based format (the same one you get when exporting from Syntool).
We'll be adding, in the near future, basic support for importing/exporting KML polygons and GeoJSON support might follow.

The custom JSON-based format supports the WKT format, so if you can convert your GeoJSON file into WKT (using something like, you can then create a file with the following (replace YOUR_WKT_HERE with the WKT you got from your GeoJSON):
  "type": "WKT",
  "wkt": "YOUR_WKT_HERE"

Then you can load this file using the import button in the top bar

.png   Screenshot_2021-04-13_syntool_import-export-buttons.png (Size: 25.6 KB / Downloads: 27)

For more information about the custom JSON-based format you can see:

Would you be so kind as to point me to the documentation and examples you're referencing?

I hope this helps

Hi Ziad,
Thank you for the detailed answer which came quick, much appreciated and very helpful! I had been trying to follow the syntool_developer_manual_2018-10-12.pdf provided me by a colleague who has been working with this tool thus far. I have now been able to upload my multipolygons using the following format for the .json file, in case the example is helpful for other forum users:

    "type": "WKT",
    "text": "1",
    "wkt": "POLYGON((0.2253 5.6419, 0.2252 5.6419, 0.2251 5.6419, 0.225 5.6419, ...))"
    "type": "WKT",
    "text": "2",
    "wkt": "POLYGON((0.3069 5.6422, 0.3068 5.6421, 0.3067 5.6421, ...))"

This uploads fine, although as I keep loading new versions (since I had to test out a few times to get it right) the system starts to complain of duplicates - I can only figure this is referring to those user files already loaded. Is there a way to get an overview of what has been loaded in my local instance and delete those files which I don't need anymore?
Separate but related question, I am also trying to share a link to the instance with my user shape loaded, but simply sharing the link provided by the "share" button isn't working thus far with my colleague - is something like this part of the foreseen functionality of this tool?
Thanks for the help, this would be really useful for our efforts if we can get it to work.
Awesome, thanks for sharing.

As you noticed, when importing shapes into Syntool, it automatically detects exact duplicates and skips them by default. When this happens Syntool informs/warns you about the fact and gives you the option to import the duplicates anyway (by clicking the [import n duplicates] button in the notification).

And to answer your first question, no, there's no way to get an overview at the moment (we might add that feature in the future if enough users request it).
But for now, since Syntool treats shapes like any other dataset, you can still use all the filtering available in Syntool (like the timeline for temporal-filtering, the map for spatial-filtering and the "Display data" for text field filtering).

Text field filtering allows you to filter the datasets to only those with a "text" field (the one mentioned in the JSON) containing the filter query.

Once you find one or more shapes you want to delete you can simply select them and click the Delete button in the menu that shows up on the right (or using the keyboard shortcut Shift+Del).

To select all the visible shapes you can use the keyboard shortcut Ctrl+A (or Cmd+A on macOS).
To add to/remove from the selection you can Ctrl+click (or Cmd+click on macOS) on the shape you want to add/remove.

All these keyboard shortcuts and more can accessed by clicking on the Shortcuts button in the top bar.

As for your second question, you are correct in your observation that the shapes are loaded in your local instance only and that the link doesn't contain them.
We are working on a solution to the problem of sharing with annotations (ie. your shapes).

But for now you can export your shapes into a JSON file and send it to your colleagues which they can then import into Syntool...
To export one or more shapes you can simply select them and click the Export button in the menu that shows up on the right (much like the process for deleting them described above).

I hope this answers your questions, and if you have more of them please fire away Wink

Forum Jump: