Socket
Book a DemoInstallSign in
Socket

@mapbox/geojson-area

Package Overview
Dependencies
Maintainers
107
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/geojson-area

calculate the physical area of a geojson geometry

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
437K
3.38%
Maintainers
107
Weekly downloads
 
Created
Source

Build Status

geojson-area

Calculate the area inside of any GeoJSON geometry.

usage

npm install @mapbox/geojson-area

example

var geojsonArea = require('@mapbox/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

Keywords

geojson

FAQs

Package last updated on 19 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts