localwiki/localwiki — Issue #182: Self-intersection error on map diff
Author: philipn
Created: 2012-01-26 20:43:21+00:00
State: open

https://triangle.localwiki.org/map/American_Tobacco_Historic_District/_history/2012-01-26%2014:37:26.813404...

I believe this is happening because the older polygon has a self-intersection. The editor was allowed to save that page version because there was a line segment on top of the polygon (maybe?). If this is the case, one possible solution is to check for self-intersections on each class of geometry (line, poly, point) when saving rather than just checking the entire geom.