This package has been deprecated

Author message:

Moved to @nordicsemiconductor/cell-geolocation-helpers

@bifravst/cell-geolocation-helpers
TypeScript icon, indicating that this package has built-in type declarations

1.3.29 • Public • Published

Cell Geolocation Helpers npm version

GitHub Actions Known Vulnerabilities semantic-release Renovate Mergify Status Commitizen friendly code style: prettier ESLint: TypeScript

Helper functions for the cell geolocation feature.

Installation

npm i --save-dev @bifravst/cell-geolocation-helpers

cellId

Simple formatter to create identifier strings from cell information. This is used to unify the way these ids are generated between frontend and backend.

cellFromGeolocations

Demo of cellFromGeolocations results

(Demo and above GIF are using 5km min cell radius and P=0.9.)

Calculates a cell geo location based on a list of geo locations:

  • the center is the average of all given locations (within a configurable percentile)
  • the diameter returned is a circle that includes all given locations (within a configurable percentile), but at least minCellDiameterInMeters.

Check out the live demo on https://bifravst.github.io/cell-geolocation-helpers.

Package Sidebar

Install

npm i @bifravst/cell-geolocation-helpers

Weekly Downloads

0

Version

1.3.29

License

BSD-3-Clause

Unpacked Size

439 kB

Total Files

14

Last publish

Collaborators

  • bifravst-ci
  • coderbyheart