geojson-area

calculate the physical area of a geojson geometry

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
geojson-area
11760.2.17 years ago9 years agoMinified + gzip package size for geojson-area in KB

Readme

Build Status
geojson-area
Calculate the area inside of any GeoJSON geometry.

usage

npm install geojson-area

example

var geojsonArea = require('geojson-area');

var area = geojsonArea.geometry(obj);

api

geojsonArea.geometry(obj)

Given a Geometry object, return contained area as square meters. Invalid input will return null.
Adapted from OpenLayers