geojson-rewind

WebJar for geojson-rewind

Лицензия

Лицензия

ISC
Категории

Категории

Geo Прикладные библиотеки Geospatial JSON Данные
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

geojson-rewind
Последняя версия

Последняя версия

0.3.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

geojson-rewind
WebJar for geojson-rewind
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/mapbox/geojson-rewind

Скачать geojson-rewind

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/geojson-rewind/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>geojson-rewind</artifactId>
    <version>0.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/geojson-rewind/
implementation 'org.webjars.npm:geojson-rewind:0.3.1'
// https://jarcasting.com/artifacts/org.webjars.npm/geojson-rewind/
implementation ("org.webjars.npm:geojson-rewind:0.3.1")
'org.webjars.npm:geojson-rewind:jar:0.3.1'
<dependency org="org.webjars.npm" name="geojson-rewind" rev="0.3.1">
  <artifact name="geojson-rewind" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='geojson-rewind', version='0.3.1')
)
libraryDependencies += "org.webjars.npm" % "geojson-rewind" % "0.3.1"
[org.webjars.npm/geojson-rewind "0.3.1"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.webjars.npm : mapbox__geojson-area jar [0.2.2]
org.webjars.npm : concat-stream jar [1.6.0,1.7)
org.webjars.npm : minimist jar [1.2.0]
org.webjars.npm » sharkdown jar [0.1.0,0.2)

Модули Проекта

Данный проект не имеет модулей.

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 @mapbox/geojson-rewind

As a console utility:

# install
npm install -g @mapbox/geojson-rewind
# use
geojson-rewind foo.geojson

As a browser library: 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.

org.webjars.npm

Mapbox

Mapbox is the location data platform for mobile and web applications. We're changing the way people move around cities and explore our world.

Версии библиотеки

Версия
0.3.1
0.1.0