52 Commits

Author SHA1 Message Date
abenrob
5edaf7e12f Multi Polygon function 2014-03-10 23:52:08 -07:00
abenrob
058448fb55 Merge pull request #1 from maxogden/master
updating fork
2014-03-10 22:44:08 -07:00
Max Ogden
3b0f63b113 Merge pull request #17 from mapmeld/coordinate_order
Close #7 and #15 by using [x,y] order
2014-02-06 19:19:46 -08:00
Nick Doiron
a653598e46 close #7 and #15 by using [x,y] order 2013-12-02 21:02:04 +00:00
Max Ogden
d7de80e677 Merge pull request #16 from Turistforeningen/readme-rewrite
Add syntax highlighting to README
2013-11-19 14:02:01 -08:00
Hans Kristian Flaatten
0ee61224e5 Remove old README file 2013-11-19 22:59:42 +01:00
Hans Kristian Flaatten
ba079a0a6a Add missing code ending 2013-11-19 22:58:50 +01:00
Hans Kristian Flaatten
7260cfb08b Rewrite README in Markdow and add code syntax 2013-11-19 22:56:59 +01:00
Max Ogden
d240b79df9 add BSD license 2013-10-07 15:23:31 -07:00
Max Ogden
da190a97d7 1.0.2 - fix bug in pointInPolygon, thanks #14 2013-10-07 15:20:53 -07:00
Max Ogden
162194f78a Merge pull request #14 from ghxiao/master
fix a bug with pointInPolygon
2013-10-07 15:19:40 -07:00
Guohui Xiao
ba0094f653 fix a bug with pointInPolygon
function `pnpoly` forgot to add the first point again.
See http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
2013-10-07 19:26:26 +02:00
Max Ogden
1f0e779fe0 1.0.1 - fix lat/lng order, fixes #13 2013-09-30 16:36:40 -07:00
Max Ogden
c4eacbc8c7 Merge pull request #13 from Slava/patch-1
Fix the order of lng/lat in point distance
2013-09-30 16:35:48 -07:00
Slava Kim (Vyacheslav)
a69c2cd5c5 Fix the order of lng/lat in point distance
fixes #12
2013-09-30 15:37:51 -07:00
Max Ogden
3eedc74df7 1.0.0 - swap order of args in pointDistance 2013-06-23 13:50:04 -04:00
Max Ogden
aa303f42c5 Merge pull request #11 from filmaj/master
lat/lon mixup in pointDistance
2013-06-23 10:49:14 -07:00
Fil Maj
ec9b9060d6 lat/lons being indexed in reverse order. 2013-06-23 00:57:45 -07:00
Max Ogden
ecc1e81576 Merge pull request #9 from rclosner/pip
Improvements to Point in Polygon
2013-05-14 17:09:11 -07:00
Ryan Closner
618e324359 Forgot to add citation 2013-05-14 15:28:02 -07:00
Ryan Closner
69fafe0676 Improvements to Point in Polygon
This commit adds a quick check in the point in polygon function
to see whether the point in question is even within the general
vicinity of the polygon. It also adds slightly better support
for MultiPolygons.
2013-05-14 15:20:01 -07:00
Max Ogden
086cbe772f 0.1.0 2013-04-01 22:32:10 -07:00
Max Ogden
0f765363b2 Merge pull request #8 from rclosner/pip
Adds support for multipolygons and holes (point in polygon)
2013-04-01 22:29:45 -07:00
Ryan Closner
b9b599e9c9 Adds support for multipolygons and holes (point in polygon) 2013-04-01 17:38:57 -07:00
Max Ogden
ba70a3b0ae add partial test suite 2012-12-01 17:13:46 -08:00
Max Ogden
87edd06b87 Merge pull request #6 from abernier/destinationPoint
Adding destinationPoint method
2012-12-01 16:35:10 -08:00
Antoine BERNIER
4b9a131170 Adding destinationPoint method 2012-12-02 00:50:35 +01:00
Max Ogden
4a271f31c4 publish to npm 2012-11-29 12:29:44 -08:00
Max Ogden
77a8a4d807 Merge pull request #5 from abernier/master
NPM
2012-11-29 12:28:05 -08:00
Antoine BERNIER
a0d7308219 Adding package.json to the project 2012-11-29 17:22:34 +01:00
Max Ogden
b9f34cf6b9 Merge pull request #3 from bonifaido/master
extended radius filtering + code cleaned up
2012-01-16 18:21:22 -08:00
Nandor Kracser
c9f22f95e4 code cleanup and use Math.pow where possible 2012-01-13 20:59:58 +01:00
Nandor Kracser
870b7261cc radius filtering is more efficient now and works for other type of
objects as well
2012-01-11 19:56:06 +01:00
Nándor István Krácser
35a4d9d202 typo 2012-01-11 07:48:52 +01:00
Nandor Kracser
30fd26e9ef More effective example of Radius filtering. 2012-01-10 20:56:41 +01:00
Max Ogden
ee281f3a1e Merge pull request #2 from JasonSanford/master
Changed g.drawCircle to gju.drawCircle
2011-05-14 10:22:01 -07:00
Jason Sanford
aadc8b4fba fix typo (g.drawCircle -> gju.drawCircle) 2011-05-13 15:13:53 -04:00
maxogden
c5c5c5a148 fix typo 2011-04-23 17:04:42 -07:00
maxogden
8bbb9f5e30 add credit 2011-04-23 16:59:46 -07:00
maxogden
d21844e93b adding polygon area and centroid functions 2011-04-23 16:58:35 -07:00
maxogden
5bb90869fa adding douglas puecker simplification algorithm 2011-04-19 14:00:18 -07:00
maxogden
80b17ef6a2 adding haversine distance formula from http://www.movable-type.co.uk/scripts/latlong.html 2010-12-21 16:09:22 -08:00
Max Ogden
4cf5d6d4e5 now automatically works in both browser and commonjs environments 2010-12-13 13:35:11 -08:00
Max Ogden
8bae4428fe linestring intersection function, update readme 2010-12-12 18:59:26 -08:00
Max Ogden
634ff8e08c updating readme 2010-12-12 17:43:27 -08:00
Max Ogden
96e7aaa328 geojson compliance, adding better circle drawing function from @tautologe 2010-12-12 17:40:47 -08:00
Max Ogden
77201deba9 convert to commonjs, add point in polygon + line intersection functions 2010-12-10 23:59:28 -08:00
Max Ogden
665458841e split utilities up into separate files 2010-09-04 19:52:46 -07:00
Max Ogden
369c44480b adding polygon and line intersection functions 2010-08-22 11:52:11 -07:00
Max Ogden
ce16f560d6 namespace updates 2010-08-21 14:06:58 -07:00