Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenLayers polygon might only include 3 points #18

Open
ksnabb opened this issue May 7, 2012 · 0 comments
Open

OpenLayers polygon might only include 3 points #18

ksnabb opened this issue May 7, 2012 · 0 comments

Comments

@ksnabb
Copy link
Member

ksnabb commented May 7, 2012

If the feature rest receives a polygon with only 3 points it will throw an GEOS error,

OpenLayers seems to accept polygons drawn as lines e.g. the use clicks twice on the map of which the second one is a double click. In this situation the app will send a polygon with three points to the server.

This needs to be fixed either on the client side or on the server side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant