Skip to content

Helmert transformation #3

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

Merged
merged 10 commits into from
Jan 2, 2013

Conversation

natmchugh
Copy link
Contributor

Using my rudimentary knowledge of C I have implemented the helmert transformation and some other functions to make it useful.

This may be completely the wrong way to do it and I am happy to change any of it but just thought it would be good to get the functions in there.

I based the calculations on the spreadsheet www.ordnancesurvey.co.uk/oswebsite/gps/docs/ProjectionandTransformationCalculations.xls which seemed to be a pretty accurate source.

Nathaniel McHugh added 10 commits October 9, 2012 22:27
* converts from cartesian to polar based on Airy 1830
* need to handle different ellipsoids
* transform caresian to polar co-ords
* clean up code of helmert a lot
* by combining output can transform between datums
* -1 error with height
* next step is to move these php functuons to C functions and create convert datum PHP function and wrappers
* more comments
* add test for decimal minutes
* add test on prime meridian based on this photo http://upload.wikimedia.org/wikipedia/commons/a/a1/Garmin_GPS_at_Greenwich_Observatory.jpg
@natmchugh
Copy link
Contributor Author

Any view or comment on this? I have gone further on a separate branch and started to add an object orientated API which uses the same functions it is nicer to use.

@mgdm
Copy link
Contributor

mgdm commented Jan 2, 2013

Sorry, I'll try and get that merged today.

Sent from my Commodore 64

On 2 Jan 2013, at 09:28, Nathaniel McHugh notifications@github.com wrote:

Any view or comment on this? I have gone further on a separate branch and started to add an object orientated API which uses the same functions it is nicer to use.


Reply to this email directly or view it on GitHub.

mgdm added a commit that referenced this pull request Jan 2, 2013
@mgdm mgdm merged commit 84dc192 into php-geospatial:master Jan 2, 2013
@mgdm
Copy link
Contributor

mgdm commented Jan 2, 2013

I'll merge this, though there's some differences in the output on my machine (down at the very last decimal point). I'll maybe truncate the results somewhat so the very small differences don't show.

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.

2 participants