https://github.com/tyrasd/geojson-length
Calculate the length of a GeoJSON LineString or MultiLineString
https://github.com/tyrasd/geojson-length
geojson javascript
Last synced: 6 days ago
JSON representation
Calculate the length of a GeoJSON LineString or MultiLineString
- Host: GitHub
- URL: https://github.com/tyrasd/geojson-length
- Owner: tyrasd
- License: mit
- Created: 2015-01-02T17:55:34.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T11:31:28.000Z (about 10 years ago)
- Last Synced: 2024-04-26T17:44:58.380Z (about 1 year ago)
- Topics: geojson, javascript
- Language: JavaScript
- Size: 141 KB
- Stars: 5
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geojson-length
Calculate the length of a [GeoJSON](http://geojson.org/) LineString or MultiLineString.
## usage
npm install geojson-length
```js
var geojsonLength = require('geojson-length');var area = geojsonLength(geometry);
```