Esri/geojson-utils — pull request #8 by rxsands (2013-03-21 03:43:22+00:00)
Title: Fix ordering of vertices during polygon conversion

When converting polygons from GeoJSON to ESRI JSON, ESRI JSON must be constructed such that outer rings have clockwise vertices and inner rings have counter-clockwise vertices. Use the pre-existing ringIsClockwise function to determine if a GeoJSON rings are clockwise and reverse the order of vertices if necessary. Fixes #7.