# geo-convex-hull

> Calculate the convex hull for a set of latitudes and longitudes.

Latest version **1.3.0** (published 2018-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install geo-convex-hull
pnpm add geo-convex-hull
yarn add geo-convex-hull
bun add geo-convex-hull
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2018-07-24 |
| First published | 2016-08-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Andrew Fiedler |
| Maintainers | andrewkfiedler |
| Keywords | convex, hull, geo, lat, lng, latitude, longitude |

## Links

- npm: https://www.npmjs.com/package/geo-convex-hull
- Repository: https://github.com/andrewkfiedler/geo-convex-hull
- Issues: https://github.com/andrewkfiedler/geo-convex-hull/issues
- npm.io page: https://npm.io/package/geo-convex-hull

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 1.3.0 (latest) — 2018-07-24
- 1.2.0 — 2016-08-15
- 1.1.0 — 2016-08-15
- 1.0.0 — 2016-08-15

## README

geo-convex-hull
===========
This module provides a function to determine the convex hull for a set of geographical coordinates (latitude and longitude).  Units should be in degrees.

The return value is an array of latitude and longitude coordinates.

# Example

```javascript
var calculateConvexHull = require('geo-convex-hull')

var points = [
  {
    latitude: 33.4255,
    longitude: -111.9400
  }, 
  {
    latitude: 43.6187,
    longitude: -116..2146
  },
  {
    latitude: 39.8066,
    longitude: -101.0421
  }
]

var convexHull = calculateConvexHull(points);

```

# Attribution
Taken with minimal modifications from here:
https://github.com/Leaflet/Leaflet.markercluster/blob/master/src/MarkerCluster.QuickHull.js

---
_Source: https://npm.io/package/geo-convex-hull · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
