turf-helpers
turf geometries
Last updated 8 years ago by tmcw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install turf-helpers 
SYNC missed versions from official npm registry.

turf-point

build status

turf point module

turf.point(coordinates, properties)

Takes coordinates and properties (optional) and returns a new Point feature.

Parameters

parameter type description
coordinates Array.<Number> longitude, latitude position (each in decimal degrees)
properties Object optional: an Object that is used as the Feature's properties

Example

var pt1 = turf.point([-75.343, 39.984]);

//=pt1

Returns Feature.<Point>, a Point feature

Installation

Requires nodejs.

$ npm install turf-point

Tests

$ npm test

Current Tags

  • 3.0.7-canary.ae89c8b3                                ...           canary (8 years ago)
  • 3.0.12                                ...           latest (8 years ago)

8 Versions

  • 3.0.12 [deprecated]           ...           8 years ago
  • 3.0.10 [deprecated]           ...           8 years ago
  • 3.0.7-canary.ae89c8b3                                ...           8 years ago
  • 3.0.5 [deprecated]           ...           8 years ago
  • 3.0.1 [deprecated]           ...           8 years ago
  • 3.0.0-canary.7879bf6c                                ...           8 years ago
  • 3.0.0-canary.2f5f7167                                ...           8 years ago
  • 1.0.0 [deprecated]           ...           9 years ago
Maintainers (1)
Downloads
Total 8
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE