StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/@mapbox/geojson-rewind
Angelos Chatzimparmpas f521a3509d paper-version 5 years ago
..
node_modules/minimist paper-version 5 years ago
test paper-version 5 years ago
.travis.yml paper-version 5 years ago
HELP.md paper-version 5 years ago
LICENSE.txt paper-version 5 years ago
Makefile paper-version 5 years ago
README.md paper-version 5 years ago
geojson-rewind paper-version 5 years ago
geojson-rewind.js paper-version 5 years ago
index.js paper-version 5 years ago
package.json paper-version 5 years ago
yarn.lock paper-version 5 years ago

README.md

Build Status

geojson-rewind

The GeoJSON specification is picky about winding order.

This helps you generate compliant Polygon and MultiPolygon geometries. Furthermore it lets you use Canvas and other drawing libraries's default behavior to color the interior rings of Polygon and MultiPolygon features.

usage

as npm module:

npm install --save geojson-rewind

as console utility

# install
npm install -g geojson-rewind
# use
geojson-rewind foo.geojson

as browser library

copy geojson-rewind.js

api

rewind(geojson, clockwise)

Given a GeoJSON FeatureCollection, Feature, or Geometry, return a version with inner and outer rings of different winding orders.

If clockwise is true, the outer ring is clockwise, otherwise it is counterclockwise.