Socket
Socket
Sign inDemoInstall

@mapbox/geojson-area

Package Overview
Dependencies
1
Maintainers
107
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mapbox/geojson-area

calculate the physical area of a geojson geometry


Version published
Weekly downloads
412K
increased by1.96%
Maintainers
107
Install size
26.7 kB
Created
Weekly downloads
 

Changelog

Source

0.2.2 (2016-12-19)

Bug Fixes

  • algorithm: Avoid accidental global i, fixes use strict (1646944)

Readme

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

FAQs

Last updated on 19 Dec 2016

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc