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

"LinearRings must have 0 or >= 4 points" -error likely from polygon shape #1

Open
JoonasAapro opened this issue Sep 20, 2024 · 0 comments

Comments

@JoonasAapro
Copy link
Contributor

RGEO -issue for similar problem: rgeo/rgeo-geojson#33

This problem was discovered in a survey with a "map" -type question, couldn't at least get it to show on a proposal. Error is pretty varied, so far haven't been able to consistantly get it to show. Unlike told in the issue from RGEO -community the error cannot be repeated by drawing a "bowtie" -like polygon.

I could repeat the error pretty constantly using a survey with map -type questions. Just for documentation I will list the specs of the survey here:

Survey with 3 map -type questions and 2 pages.

First page

Question 1: Mandatory with multiple shapes. Answered: 1 point/marker & 1 polyline

Question 2: Non-mandatory with single shape. Answered: 1 point

Second page

Question 3: Mandatory with multiple shapes. Answered: 1 point/marker & 1 polygon

After submitting the form I got an error: "LinearRings must have + or >= 4 points"

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