1. @mapbox/geojson-area
calculate the physical area of a geojson geometry
@mapbox/geojson-area
Package: @mapbox/geojson-area
Created by: mapbox
Last modified: Thu, 12 Jan 2023 12:42:13 GMT
Version: 0.2.2
License: BSD-2-Clause
Downloads: 1,010,690
Repository: https://github.com/mapbox/geojson-area

Install

npm install @mapbox/geojson-area
yarn add @mapbox/geojson-area

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

Dependencies

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin