abenrob
5edaf7e12f
Multi Polygon function
2014-03-10 23:52:08 -07:00
Nick Doiron
a653598e46
close #7 and #15 by using [x,y] order
2013-12-02 21:02:04 +00: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
Slava Kim (Vyacheslav)
a69c2cd5c5
Fix the order of lng/lat in point distance
...
fixes #12
2013-09-30 15:37:51 -07:00
Fil Maj
ec9b9060d6
lat/lons being indexed in reverse order.
2013-06-23 00:57:45 -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
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
Antoine BERNIER
4b9a131170
Adding destinationPoint method
2012-12-02 00:50:35 +01: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
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
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