turf-shift-longitude

0.0.1 • Public • Published

turf-shift-longitude

build status

turf.shift-longitude(layer)

Reads every point/vertex in every component of every feature in a geometry, and if the longitude coordinate is

Parameters

parameter type description
layer Object any GeoJSON object

Example

var shift = require('turf-shift-longitude');
var point = { type: 'Point', coordinates: [-175, 70] };
var shifted = shift(point);
//=shifted

Returns Object, layer shifted GeoJSON object

Installation

Requires nodejs.

$ npm install turf-shift-longitude

Tests

$ npm test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    9
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    9

Package Sidebar

Install

npm i turf-shift-longitude

Weekly Downloads

9

Version

0.0.1

License

ISC

Last publish

Collaborators

  • stepankuzmin