localwiki / localwiki-backend-server

Primary LocalWiki backend server environment
GNU General Public License v2.0
48 stars 16 forks source link

Map error: too few points in geometry component. #36

Open philipn opened 9 years ago

philipn commented 9 years ago

From @vielmetti on April 26, 2013 20:45

Here's the associated textarea:

Copied from original issue: localwiki/localwiki#496

philipn commented 9 years ago

This is happening because there's a line segment of zero length. I think what happened here is that you double-clicked while using the line tool.

Workaround here: http://gis.stackexchange.com/questions/24243/postgis-geometry-intersection-test-results-different-for-point-and-linestring

brittag commented 9 years ago

I just got this error message while editing a map, googled it, and found this issue! I tried making the line again, being more careful at the end when I double clicked the end point to "finish" the line, and it saved ok.