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

Improve handling of MultiPolygons when drawing boundaries #340

Open
Rkareko opened this issue May 20, 2020 · 0 comments
Open

Improve handling of MultiPolygons when drawing boundaries #340

Rkareko opened this issue May 20, 2020 · 0 comments

Comments

@Rkareko
Copy link
Contributor

Rkareko commented May 20, 2020

The startDrawing method in the DrawingManager has been updated to handle editing BoundaryLayers made of MultiPolygons in this PR #339

The current implementation only enables editing the first polygon in the list of polygons. This assumes that the other polygons are not required. This also means that the new boundary will no longer be a MultiPolygon but a Polygon. All other polygons will be discarded.

A multipolygon can contain holes or can be used to represent a feature that is made of of multiple scattered polygons.

An example being in case you want to edit the boundary of Mombasa which is part of the Kenya boundary but an island thus forms a polygon by it's own

Improvements have to be made to accommodate this

@Rkareko Rkareko changed the title Improve handling of MultiPolygons when drawing bounderies Improve handling of MultiPolygons when drawing boundaries May 20, 2020
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