diff options
| author | Charles Karney <charles@karney.com> | 2018-07-11 11:10:28 -0400 |
|---|---|---|
| committer | Charles Karney <charles@karney.com> | 2018-07-11 11:10:28 -0400 |
| commit | 3efab3e9ee22de67651ee24c89ac750c212cc9a0 (patch) | |
| tree | 4d4759c7b147781a8cdc2180b9c3492b51600716 /docs/plot/data | |
| parent | a7f05deb5504d202dbb37654fad54cb42957251a (diff) | |
| download | PROJ-3efab3e9ee22de67651ee24c89ac750c212cc9a0.tar.gz PROJ-3efab3e9ee22de67651ee24c89ac750c212cc9a0.zip | |
Revert pj_units to_meters entries for US units.
Bletch, pj_init also decodes the to_meters field of pj_unit, but only
handles plain numbers or 1/nnn, but not 1./nnn or mmm/nnn. (So the
original code would have not decoded the us-in entry properly.)
Probably pj_init should be changed to use the factor field instead.
Alternatively pj_init should look for a "/" anywhere in the field and
decode the numerator and denominator as separate doubles. This would
be needed if ratios are ever to be entered directly by the user (this
is the strategy used by GeographicLib). And then, of course, the
functionality should be provided by a separate utility function.
Diffstat (limited to 'docs/plot/data')
0 files changed, 0 insertions, 0 deletions
