-
Notifications
You must be signed in to change notification settings - Fork 6
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
Geoid Height #19
Comments
Follow-up: for now we @unavco are making use of an existing JS port of the Geoid Height calculations written by Kim Vandry: |
Hello! We have not made any attempts to compile Geoid functions from GeographicLib. It looks like one tricky piece would be getting the Geoid dataset cached, because GeographicLib loads datasets from the file system. Emscripten provides a few options to do this:
Synchronous Virtual XHR seems like a good approach because the work is all done in WebAssembly and datasets are only loaded as needed. For larger sets like |
Hi! I would like to state an initial disclaimer that I am new to C++ and JavaScript, as my background is in geophysics, but I am attempting to create a tool in an Observable Notebook (which runs on JavaScript) that computes the height above the user-specified geoid given a position (lat, lon, height) above the reference ellipsoid (WGS84 system). This utility is available through the command line GeoidEval tool of GeographicLib, but I am having trouble getting it compiled with emscripten. I was wondering if any attempts have been made to produce a webassembly friendly version of this particular geographiclib tool, similar to what you have done with the geodesic tools? Or, alternatively, whether you have a sense of if this is feasible using similar methods that you have already implemented?
The text was updated successfully, but these errors were encountered: