-
-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
Description
When I arrange multiple polygons in a way so that they should form a polygon with a hole, the resulting geoJson is formated as if the hole is another polygon in the multipolygon
[
[ [ outer polygon ] ],
[ [ inner polygon/hole ] ]
]
Whereas it should be
[
[ [ outer polygon ],
[ inner polygon/hole ] ]
]
I have an example (strangly it shows correct, in the viewer, but with F12 you'll see the wrong geoJson
https://codepen.io/Sakke/pen/aYbeEM?editors=0010
The following example is related and does show the error in the viewer:
When I add an additional polygon (making it a true multipolygon), then I also goes wrong.
https://codepen.io/Sakke/pen/dmPoMp?editors=0010
danielberndt and ruben-grossmann