171 Commits

Author SHA1 Message Date
Calvin Metcalf
975b7748cd
get all of it 2017-02-01 16:57:17 -05:00
Calvin Metcalf
30cb8618ab
specific datum functions are imported 2017-02-01 16:54:33 -05:00
Calvin Metcalf
6e1e2b166c
use export default everywhere 2017-02-01 16:48:15 -05:00
Calvin Metcalf
9dc0fb7921
break out wkt parser 2017-01-25 15:09:12 -05:00
Calvin Metcalf
d806b49aa1
merge in etmerc 2017-01-25 14:04:13 -05:00
Andris Nolendorfs
d9a4e026a0 Merge branches 'add-etmerc' and 'master' of https://github.com/theashyster/proj4js into add-etmerc 2017-01-25 19:04:56 +02:00
Andris Nolendorfs
e688bd61e4 Throw error about elliptical usage 2017-01-25 18:19:14 +02:00
Calvin Metcalf
da05fc0059
fixes 2017-01-25 09:09:37 -05:00
Calvin Metcalf
33d5a821b0
fix gruntfile, remove unneded browser version 2017-01-25 08:52:06 -05:00
Calvin Metcalf
02d0f51b47
switch to default export 2017-01-25 08:47:31 -05:00
Andris Nolendorfs
dd2f5d4142 Made init projection calculated values object local 2017-01-25 12:44:27 +02:00
Andris Nolendorfs
82d62052ec Added adjust_lon to end result of inverse function 2017-01-25 12:30:39 +02:00
Simon Legner
4877ae275a Fix custom builds 2017-01-24 23:37:28 +01:00
Simon Legner
0454dcdefb Import package version using rollup-plugin-json 2017-01-24 23:37:28 +01:00
Simon Legner
f9f5225eee Drop rollup-plugin-commonjs
Use ES6-module-ized mgrs dependency instead.
2017-01-24 23:37:28 +01:00
Simon Legner
f7bd5c25a9 Make tests run and pass 2017-01-24 23:37:28 +01:00
Simon Legner
bb8503fcea Adapt jshint for ES6 modules, fix semicolons 2017-01-24 23:37:28 +01:00
Simon Legner
8c0c0eef0b Fix imports for only named export modules 2017-01-24 22:37:45 +01:00
Simon Legner
d18e1bae03 Use ES6 modules 2017-01-24 22:37:45 +01:00
Calvin Metcalf
c4ddd25763
fix bug with referencing wrong source and es 2017-01-24 16:22:09 -05:00
Andris Nolendorfs
c671c02fe8 Blank line 2017-01-24 16:24:28 +02:00
Andris Nolendorfs
75e23782c1 Merge branches 'add-etmerc' and 'master' of https://github.com/theashyster/proj4js into add-etmerc
# Conflicts:
#	lib/projections/tmerc.js
#	lib/projections/utm.js
#	test/test.js
2017-01-24 16:23:33 +02:00
Calvin Metcalf
6388b2b1eb
fix adjust_zone and explicitly throw error 2017-01-24 09:06:03 -05:00
Andris Nolendorfs
3ada83d5c6 Fix etmerc default values 2017-01-24 11:55:31 +02:00
Andris Nolendorfs
27ada51a71 UTM zone detection fix 2017-01-24 11:33:45 +02:00
Andris Nolendorfs
50bc412337 Merge branches 'add-etmerc' and 'master' of https://github.com/theashyster/proj4js into add-etmerc
# Conflicts:
#	lib/projections/tmerc.js
#	lib/projections/utm.js
#	test/test.js
2017-01-23 22:02:17 +02:00
Andris Nolendorfs
12a1258a83 Fix tmerc / utm projection calculations (#223)
Add common function to adjust zone, fix tmerc / utm projection calculations, adjust test dat
2017-01-23 13:41:59 -05:00
Andris Nolendorfs
5b3e03fc16 Merge branches 'add-etmerc' and 'fix-tmerc' of https://github.com/theashyster/proj4js into add-etmerc
# Conflicts:
#	lib/projections/tmerc.js
2017-01-20 14:57:09 +02:00
Andris Nolendorfs
01a36c3e8e Add credit 2017-01-20 14:53:57 +02:00
Andris Nolendorfs
baa3b6dcde Modifications related to tmerc sphere projection 2017-01-20 12:49:05 +02:00
Andris Nolendorfs
dfe6fd82ec Pull request fixes 2017-01-19 22:21:16 +02:00
Andris Nolendorfs
83c78d9187 Pull request fixes 2017-01-19 22:18:18 +02:00
Andris Nolendorfs
d11cdcb08c Add common functions for etmerc, add etmerc projection, modify utm to use etmerc, adjusts tests 2017-01-19 21:03:38 +02:00
Andris Nolendorfs
993f1fa507 Add common function to adjust zone, fix tmerc / utm projection calculations, adjust test data 2017-01-19 18:49:16 +02:00
Calvin Metcalf
e6b88d3328 beter versioning (#211)
* beter versioning

* build browser version directly
2016-09-26 14:03:39 -04:00
Calvin Metcalf
1295a87345 reorg to improve flow of data (#201) 2016-08-30 16:37:41 -04:00
Calvin Metcalf
c959c0296d clean up, remove all the grid shift code that isnt used (#200) 2016-08-24 00:21:26 +02:00
Andy Mantell
430a677a3b Fix IE8 bug caused by exports.null 2016-07-12 16:13:36 +01:00
Andreas Hocevar
54b3013f50 Fix build 2016-02-13 10:12:50 +01:00
Dren Kajmakci
931f4f4b7d Style fixes 2015-11-01 14:54:11 +00:00
Torben Barsbsballe
3379ad3e68 Use proper to_meter conversion factor for OGC WKT GEOGCS 2015-10-07 10:06:29 -07:00
JelmerBaas
1daf5be91a Changes made after feedback from calvinmetcalf 2015-09-29 14:11:14 +02:00
JelmerBaas
35ac73ff31 Fix issue with custom 7 point projection
This change fixes the issue described at https://github.com/proj4js/proj4js/issues/141 by copying the datum_params object and change the copy, instead of changing the original.
2015-09-29 13:51:31 +02:00
Andreas Hocevar
fb214fe11e Re-add units to srs definition
Fixes a regression introduced with
5c64b03362dc9c3113ee241c530c41d67b3a29b1.
2015-04-13 10:56:00 +02:00
Andreas Hocevar
184cb0db41 Fix WKT handling for stereographic projections on Southern hemisphere 2015-03-19 19:41:00 +01:00
Andreas Hocevar
85ee69f7be Add handling for +units in projString 2015-03-03 13:30:44 +01:00
Matthew Bloch
7fd9801566 Improve proj string parsing
Convert a and b parameters to numbers, fix parseFloat() calls
2014-09-11 09:21:21 -07:00
Ben Sainsbury
d016612ede Strip trailing VERTCS elements out of WKT string 2014-08-22 12:58:49 -04:00
Ben Sainsbury
01c778a1a6 Aliased Central Parallel to latitude of origin 2014-08-22 12:58:49 -04:00
Matthew Bloch
8f2ae3a51f Prevent 180 and -180 degrees lon from wrapping and explain the rounded PI value in adjust_lon.js 2014-08-22 12:50:02 -04:00