Polygon last point
morfair opened this issue · 0 comments
morfair commented
I draw polygon and send the coordinates to the server. There I want to save in PostgreSQL DB as PostGIS geography , but it throws an error:
geometry contains non-closed rings
Where this error? Either Leaflet.Editable does not return the last point as the first point, or this PostGis specific and I should manually add first point to end before sending request?