Calculate areas of polygons from a json file

I have a json file with coordinates of water surfaces.
I am trying to calculate the areas from this polygons.
Can somebody help me how this works?
json file:
https://denhaag.dataplatform.nl/#/data/5be8e3dc-c5a7-444b-a51e-e49c5fe4eaa6

Hi @Tiesvandam1 ,

This is not something that is currently avaible out-of-the-box on the VIKTOR platform.

There are examples available of solving this using the shoe-lace-method (assuming your data is ordered), as: How to Calculate Area of Polygon from Unordered Coordinate Points. Algorithm and Code in Python

You could also load the polygon in shapely and calculate the area from there.

Hope this helps!

Sylvain