A change was made to the way polygons are sent along the websocket and 1 function was not changed to take this into account, doing a wrong operation on the polygon data, breaking its representation in the database.
This PR fixes that function. It also adds some more safeguards to handle invalid shape data at the client side so that it doesn't completely crash, but skip the shape instead.
A change was made to the way polygons are sent along the websocket and 1 function was not changed to take this into account, doing a wrong operation on the polygon data, breaking its representation in the database.
This PR fixes that function. It also adds some more safeguards to handle invalid shape data at the client side so that it doesn't completely crash, but skip the shape instead.