-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
Description
The no-hole Polygon
{
"type": "Polygon",
"coordinates": [
[
[100.0, 0.0],
[100.0, 1.0],
[101.0, 1.0],
[101.0, 0.0],
[100.0, 0.0]
]
]
}
winds clockwise and should be fixed.
The example with holes
{
"type": "Polygon",
"coordinates": [
[
[100.0, 0.0],
[100.0, 1.0],
[101.0, 1.0],
[101.0, 0.0],
[100.0, 0.0]
],
[
[100.8, 0.8],
[100.2, 0.8],
[100.2, 0.2],
[100.8, 0.2],
[100.8, 0.8]
]
]
}
has the same problem plus a hole that winds counterclockwise (wrong).
The multipolygon examples are also wrong.