Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom unit factors #730

Merged
merged 2 commits into from
Jan 4, 2018
Merged

Custom unit factors #730

merged 2 commits into from
Jan 4, 2018

Conversation

kbevers
Copy link
Member

@kbevers kbevers commented Jan 4, 2018

Added the possibility to use custom unit factors. Similar to the
classic +to_meter parameter the conversion factor is related to meters,
i.e. the factor for conversion from kilometers meters is 1000. The
custom unit factors is given using the existing xy_in, xy_out, z_in and
z_out parameters, for example:

proj=unitconvert xy_in=4.5 +xy_out=mm

In the process I also fixed a bug that were causing the time component to be set to zero.

Added the possibility to use custom unit factors. Similar to the
classic +to_meter parameter the conversion factor is related to meters,
i.e. the factor for conversion from kilometers meters is 1000. The
custom unit factors is given using the existing xy_in, xy_out, z_in and
z_out parameters, for example:

    proj=unitconvert xy_in=4.5 +xy_out=mm
@kbevers kbevers merged commit 7449edf into OSGeo:master Jan 4, 2018
@kbevers kbevers deleted the unit_factors branch February 1, 2018 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant