which-polygon
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -12,2 +12,6 @@ 'use strict'; | ||
var feature = data.features[i]; | ||
// unlocated GeoJSON features can have null `geometry` | ||
if (!feature.geometry) continue; | ||
var coords = feature.geometry.coordinates; | ||
@@ -14,0 +18,0 @@ |
{ | ||
"name": "which-polygon", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Index for matching points against a set of GeoJSON polygons", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,3 +10,2 @@ A simple index for matching points and bboxes against a set of GeoJSON polygons to find what polygon it belongs to. | ||
Using [this 50m world countries dataset](https://s3.amazonaws.com/geojson-please/naturalearth-3.3.0/ne_50m_admin_0_countries.geojson): | ||
@@ -13,0 +12,0 @@ ```js |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
403
53420
9
38
1