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: 10 months 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 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T11:31:28.000Z (over 11 years ago)
- Last Synced: 2025-08-02T06:34:48.578Z (11 months ago)
- Topics: geojson, javascript
- Language: JavaScript
- Size: 141 KB
- Stars: 6
- Watchers: 4
- 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);
```