-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Description
Suggested by @clintongormley in issue #5968 this feature will add support for an optional orientation parameter enabling users to specify explicit intent on vertex ordering. Note that orientation is with respect to the map/coordinate system - left = cw, right = ccw
The following provides an example where the order parameter specifies explicit dateline crossing and will result in https://gist.github.com/nknize/d122b243dc63dcba8474. Using 'left' will result in https://gist.github.com/anonymous/82b50b74a7b6d170bfc6 Note that in the following example all holes will be converted to clockwise (left) order for OGC compliance (see #8762).
"geometry": {
"type": "Polygon",
"orientation": "right"
"coordinates": [
[ [178, 42], [178, 39], [-178, 39], [-178, 42], [178, 42] ]
}Absent this parameter functionality will work as described (and implemented) in #8762