Frederick Jansen
26caf36a2d
Fix issue with negative rounding
...
Rounding now matches Python 2's implementation
2016-06-10 17:31:02 -04:00
Frederick Jansen
235e6316ad
Fixed issue with rounding coordinates
...
Coordinates should be rounded before calculating the offset
2016-04-22 16:15:27 -04:00
Vladimir Kurchatkin
319b37f10e
Fix negative value handling
...
According to Google's documentation, value should be inverted if
_original_ value is less than zero. In practice it seems to affect results
only if precision is 7 or greater.
2016-04-19 17:09:27 +03:00
Tobias Bieniek
30a24431dc
Add toGeoJSON() function
2015-07-19 14:15:03 +02:00
Tom MacWright
78e0399584
Update testing stack, add coverage
2015-06-21 17:47:06 -04:00
Tom MacWright
42c5b146ee
Remove stray console.log
2015-06-21 17:31:34 -04:00
Lyzi Diamond
d4f961d558
Add test for geojson geometries
2015-06-19 17:25:43 -07:00
Lyzi Diamond
ca7e667a1c
update tests
2015-06-19 16:46:53 -07:00
Lyzi Diamond
124462a9ff
Add tests
2015-05-30 16:54:41 -07:00
Patrick Niklaus
a5a43a97fa
Add identity test that feeds back encode into decode
2015-02-25 16:46:40 +01:00
John Firebaugh
627b39e91a
Better floating point math
2013-12-17 10:57:10 -08:00
John Firebaugh
dd068229d4
Custom precision support
2013-12-10 14:38:11 -05:00
John Firebaugh
ddf75f6228
Minimize API surface; fix encoding
2013-12-09 15:10:44 -05:00
Tom MacWright
048543cb9d
Travis test, make, readme
2012-07-26 15:16:21 -04:00
Tom MacWright
7fd52f3b0d
Initial commit
2012-07-19 13:06:11 -04:00