mbloch / mapshaper-proj

A JavaScript port of the Proj.4 map projection library.
Other
37 stars 5 forks source link

Better error messages #6

Closed mbloch closed 7 years ago

mbloch commented 7 years ago

The messages ported from Proj.4 can be confusing or wrong. Some examples:

$ echo 0 0 | mproj +init=epsg::3395
projection initialization failure
cause: no colon in init= string

$ echo 0 0 | mproj +init=eeee:3395
projection initialization failure
cause: no options found in 'init' file
mbloch commented 7 years ago

The above two messages are improved in 824073e5f23b4a6e