You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is can be resolved currently in the backend but would ultimately we want to handle this on the frontend so that the user gets more accurate feedback.
The text was updated successfully, but these errors were encountered:
(1) On the frontend (in the browser). In that case, I think we should bring in turf.js. It has a cleanCoords and bboxClip method that I think will handle the overlapping management and the out of model bounds issues.
(2) On the backend (in the Django view). If we're going to be using web sockets to draw management and update the database in real time, then this could happen on the Django backend. In that case, the polygons could be cleaned up in python on the server before being passed back to the client. This might be preferable since there is already so much happening on the client side.
This is can be resolved currently in the backend but would ultimately we want to handle this on the frontend so that the user gets more accurate feedback.
The text was updated successfully, but these errors were encountered: