Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pelias/polygon-lookup

Fast point-in-polygon intersection for large numbers of polygons.
https://github.com/pelias/polygon-lookup

package.json: v1.0.0

67621e6a59c4ee6c8a1f23e9d92e19788388ab40 authored almost 10 years ago by Severyn Kozak <[email protected]>
README.md: update shield links.

README.md
-Update links to Travis/NPM badges.

508f80097645d088023488ad5a7948df26869a76 authored almost 10 years ago by Severyn Kozak <[email protected]>
Merge pull request #4 from pelias/local-rtree-lookup

local-rtree-lookup: rewrite into a fast, local polygon lookup

234815b72c787b80b8426e3b44f92f4226a1180f authored almost 10 years ago by Severyn Kozak <[email protected]>
Add documentation to the README.

README.md
-Add comprehensive documentation to the README.
-Document the API, example usage, etc.

3d1e477c5472bf9aa2dc9315ee336ae12bb1e043 authored almost 10 years ago by Severyn Kozak <[email protected]>
Replace lat and lon with x and y.

index.js, test/test.js
-Replace occurrences of `lon` and `lat` with `x` and `y`, since
this pa...

abfa556a554f707127982825417ed461788f2ef0 authored almost 10 years ago by Severyn Kozak <[email protected]>
Define tests for getBoundingBox()/search().

test/test.js
-Define unit tests for `getBoundingBox()` and
`PolygonLookup.search()`.
-Define ...

c949f2f2d937c5ac8ebd4edc2453e9c66b3d98a3 authored almost 10 years ago by Severyn Kozak <[email protected]>
Fix getBoundingBox() bug.

lib/polygon_utils.js
-`getBoundingBox()` unintentionally modifies the argument array
it's give...

d9ae773baabab588ecf6a12ee23492358b5bcd67 authored almost 10 years ago by Severyn Kozak <[email protected]>
Define some unit tests.

test/test.js
-Add a new `test/test` module, to contain the package's tests.
-Define several un...

92a27711f42589b7d38f582b81146087254c58a6 authored almost 10 years ago by Severyn Kozak <[email protected]>
lib/polygon_utils.js: add documentation comments.

765fc0c1d833abdefac54c991915af4873af8d6b authored almost 10 years ago by Severyn Kozak <[email protected]>
Add function documentation comments to index.

index.js
-Add API documentation comments to all functions.

3b6e322daebe2c4b534a30bb3ef63046ed80ec31 authored almost 10 years ago by Severyn Kozak <[email protected]>
Update package.json description, dependencies.

package.json
-Remove old, no longer used dependencies.
-Change the package description.

8419430f54eb8eb3a723e6d1580810967525ed77 authored almost 10 years ago by Severyn Kozak <[email protected]>
Remove simplifyCoords().

lib/polygon_utils.js
-Remove `simplifyCoords()` from the `polygon_utils` module,
since polygon...

42dbfa97db5702583b873227ecda7deb2ff80664 authored almost 10 years ago by Severyn Kozak <[email protected]>
Change search() return value, ignore bad geometries.

index.js
-Skip over invalid geometries in `loadFeatureCollection()`.
-Return entire Feature ob...

9be0946d76f7de90d759fcdcf310d201c4c35f89 authored almost 10 years ago by Severyn Kozak <[email protected]>
Fix two minor bugs.

index.js
-`search()` still looked for `id` properties on
bounding boxes, though they've been r...

709bc05b0d21ebd4f22205948313acbb1f40cb27 authored almost 10 years ago by Severyn Kozak <[email protected]>
Rempve existing tests.

test/(exports, run).js
-Remove all existing tests, since there were barely any and
they'll all...

98fc17f7f24a171bb747d9a6d058a9dbcf07163c authored almost 10 years ago by Severyn Kozak <[email protected]>
Rewrite loadPolygons()/search() to use GeoJSON.

index.js
-Keeping polygons in GeoJSON format is preferable to wrangling
them into something mo...

7ab412ef0b5313ecaadcf0cb63b0044cc605c08d authored almost 10 years ago by Severyn Kozak <[email protected]>
Decouple from shapefiles.

index.js
-Rename `HierarchyLookup` to `PolygonLookup` in anticipation of
the package name chan...

53723a2431b228175598cfbd195c07ec4804faaa authored almost 10 years ago by Severyn Kozak <[email protected]>
v0.0.5

package.json
-Publishing a new version to facilitate testing straight
downloads from npm.

5bdab65a2e6999a6db6c71e45cd36d76b76abece authored almost 10 years ago by Severyn Kozak <[email protected]>
Move two functions to a new module: polygon_utils

(index, lib/polygon_utils).js
-Move two polygon computational functions, `getBoundingBox()`
an...

5be5134bf71dd63b835c61da33c534c064ba0486 authored almost 10 years ago by Severyn Kozak <[email protected]>
Miscellaneous minor readability improvements.

index.js
-Nitpick changes: move a variable declaration, rename another
variable, etc.

d3c3c34b2e0671f8a4e1e1f1da17c580e6a90833 authored almost 10 years ago by Severyn Kozak <[email protected]>
Define HierarchyLookup(). Refactor getBoundingBox().

index.js
-Refactor `getBoundingBox()` to use Array built-ins for greater
readability.
-Define...

6b61aabed0b01aefba57f49e4b22e27dd193e4e9 authored almost 10 years ago by Severyn Kozak <[email protected]>
Break up the unwieldy through() in load().

index.js
-The code in `load()` reached absurd levels of indentation
depth: break it up by bund...

6bc634aa65b7e1755c674b24fcd11173ea64e2e2 authored almost 10 years ago by Severyn Kozak <[email protected]>
Generalize switch-case blocks in load().

index.js
-The `case` blocks in the `switch` statement in `load()` were
virtually identical, ex...

3874c21b6c88f8a79417d96885151d32b4b134f2 authored almost 10 years ago by Severyn Kozak <[email protected]>
Add experimental rtree implementation.

index.js
-Warning, monster commit: add the experimental rtree
reverse-geocoder that I've been ...

319a68424989c72a7f4cbbafa2951038a69013c7 authored almost 10 years ago by Severyn Kozak <[email protected]>
Remove original hierarchy-lookup implementation.

(index, lib/(backends, multiquery, stream)).js
-Remove the first implementation of the hierarch...

14ca6ea94724a5b3dde4e5ce39ace2fde7d36546 authored almost 10 years ago by Severyn Kozak <[email protected]>
Set jshint unused=true, fix complaints.

.jshintrc
-Set `unused` to `true`.

lib/stream.js, test/exports.js
-Fix the `jshint` complaint...

638c1fd9b490947102d5bd7a902e16c41fa9fc11 authored almost 10 years ago by Severyn Kozak <[email protected]>
Replace console.error() with winston.error().

lib/stream.js
-Remove two overlooked calls to `console.error()` with their
`winston.error()` e...

f2f85d813ac981118368db6e43cee76356e9fcb0 authored almost 10 years ago by Severyn Kozak <[email protected]>
Merge branch 'hanging_imports'

lib/stream.js, package.json
-Close #2, fixing our issue with hanging imports.

f2c9d7197df5883716d72f94364201283e20535c authored almost 10 years ago by Severyn Kozak <[email protected]>
v0.0.4

c5290bd1545484bdad264dca58a5044f4e5636d2 authored almost 10 years ago by Severyn Kozak <[email protected]>
Work on #2: hanging imports.

lib/stream.js
-Work on a potential solution to #2, by a.) removing an
unnecessary call to clos...

33269a33505f31be83b41f99a0f5397b8872354a authored almost 10 years ago by Severyn Kozak <[email protected]>
v0.0.3

97fe600d731ef0237e960269494fefa6228d43b5 authored almost 10 years ago by Severyn Kozak <[email protected]>
Fix jshint warnings.

lib/multiquery.js
-Replace `['prop_name']` property-access notation with
`.prop_name` to silen...

83e58e9c92c0388022ee315a0329370d544e08da authored almost 10 years ago by Severyn Kozak <[email protected]>
Integrate jshint, precommit-hook.

.jshintignore, .jshintrc, package.json
-Add a `.jshintrc`, and the `precommit-hook` package to ...

00b3e03cfdaaee81118ec83a28e04374e5394109 authored almost 10 years ago by Severyn Kozak <[email protected]>
test/exports.js: Fix (incorrect) failing test.

0e4a9ab922802f8433331e9f09a4e1990e18fbe6 authored almost 10 years ago by Severyn Kozak <[email protected]>
Document constructor options in README.

README.md
-Document the options object in the README.

9d8e92a288fb642565a073bdca70f7c96cfac423 authored almost 10 years ago by Severyn Kozak <[email protected]>
Close #1: make logging configurable with Winston.

index.js, lib/multiquery.js
-Use the Winston logger to control logging levels, since the
hiera...

d51db615ca83443efce1113813f1867795edca57 authored almost 10 years ago by Severyn Kozak <[email protected]>
lib/multiquery.js: remove trailing whitespace.

ba8c9e235cc891d66efcfa33214c9595f75b6d92 authored almost 10 years ago by Severyn Kozak <[email protected]>
README

93a0839118de713a64d89d61749a20a0a1137529 authored almost 10 years ago by Peter Johnson <[email protected]>
README

c88c1fbef103ad0ec21032c0925736cd8e66f925 authored almost 10 years ago by Peter Johnson <[email protected]>
README

183cd410c8f861fc3711a08843fead4c7aa87ced authored almost 10 years ago by Peter Johnson <[email protected]>
initial commit

e043a7b6cc09fb77fe79494359cb69865da99e88 authored almost 10 years ago by Peter Johnson <[email protected]>