Git Product home page Git Product logo

nordicsemiconductor / cell-geolocation-helpers-js Goto Github PK

View Code? Open in Web Editor NEW
4.0 7.0 2.0 9.23 MB

Helper functions for the cell geolocation feature

Home Page: https://github.com/NordicSemiconductor/cell-geolocation-helpers-js

License: BSD 3-Clause "New" or "Revised" License

JavaScript 8.42% TypeScript 81.03% HTML 7.20% SCSS 1.77% Shell 1.57%
library cell-geolocation nrf-asset-tracker iot

cell-geolocation-helpers-js's Introduction

Cell Geolocation Helpers npm version

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

Helper functions for the cell geolocation feature.

Installation

npm i --save-dev --save-exact @nordicsemiconductor/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://nordicsemiconductor.github.io/cell-geolocation-helpers-js.

cell-geolocation-helpers-js's People

Contributors

coderbyheart avatar dependabot[bot] avatar greenkeeper[bot] avatar renovate-bot avatar renovate[bot] avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cell-geolocation-helpers-js's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/code-style.yaml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
  • peter-evans/create-pull-request v5
.github/workflows/combine-prs.yaml
  • github/combine-prs v3.1.1
.github/workflows/publish-ghpages.yaml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
.github/workflows/sync-issue-labels.yaml
  • actions/checkout v3
.github/workflows/test-and-release.yaml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
.github/workflows/update-repo-info.yaml
  • actions/checkout v3
npm
package.json
  • @turf/distance 6.5.0
  • @nordicsemiconductor/asset-tracker-cloud-code-style 12.0.60
  • @prefresh/snowpack 3.2.0
  • @snowpack/plugin-babel 2.1.7
  • @snowpack/plugin-react-refresh 2.5.0
  • @snowpack/plugin-sass 1.4.0
  • @snowpack/plugin-typescript 1.2.1
  • @swc/jest *
  • @types/jest 29.5.3
  • @types/leaflet 1.9.3
  • @types/node 18.16.19
  • @types/react 18.2.15
  • @types/react-dom 18.2.7
  • @types/snowpack-env 2.3.4
  • @types/styled-components 5.1.26
  • jest 29.6.1
  • leaflet 1.9.4
  • nmea-simple 3.3.0
  • normalize.css 8.0.1
  • react 18.2.0
  • react-dom 18.2.0
  • snowpack 3.8.8
  • source-map-loader 4.0.1
  • styled-components 6.0.4
  • node >=18
  • npm >=9

  • Check this box to trigger a request for Renovate to run again on this repository

The automated release is failing 🚨

🚨 The automated release from the saga branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the saga branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Invalid npm token.

The npm token configured in the NPM_TOKEN environment variable must be a valid token allowing to publish to the registry https://registry.npmjs.org/.

If you are using Two Factor Authentication for your account, set its level to "Authorization only" in your account settings. semantic-release cannot publish with the default "
Authorization and writes" level.

Please make sure to set the NPM_TOKEN environment variable in your CI with the exact value of the npm token.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.