turf-extent
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "turf-extent", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "turf extent module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
turf-extent | ||
=========== | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-extent.svg?branch=master)](https://travis-ci.org/Turfjs/turf-extent) | ||
Calculates the extent of all features and returns a bounding box. | ||
```javascript | ||
var extent = require('turf-extent') | ||
var fs = require('fs') | ||
var fc = JSON.parse(fs.readFileSync('/path/to/myFeatureCollection.geojson')) | ||
var bbox = extent(fc) | ||
console.log(extent) // [minX, minY, maxX, maxY] | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10198
16