Skip to content

Conversation

@Ninjasoturi
Copy link
Contributor

Improved the format in the example file to better display the order of longitude and latitude, and that the first and last coordinates of the fence need to be the same.

Improved the format in the example file to better display the order of longitude and latitude, and that the first and last coordinates of the fence need to be the same
@TurtIeSocks TurtIeSocks merged commit f81b1e3 into WatWowMap:develop May 27, 2022
@pjorritsma
Copy link
Contributor

Why should this be improved, I don't have any problem areas on the map without first and last. If we change (Merge) this also the create-area should be improved.

@Ninjasoturi
Copy link
Contributor Author

The polygons are drawn on the map correctly even if the first and the last coordinates aren't the same. But when using areaRestrictions, having the wrong coordinate format will result in mysql error Invalid GIS data provided to function st_geomfromtext (at least with MySQL 8).

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

Successfully merging this pull request may close these issues.

3 participants