Giter Site home page Giter Site logo

mlouielu / wgs84conv Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 1.0 5 KB

Accurate Conversion of Earth-Fixed Earth-CenteredCoordinates to Geodetic Coordinates (ecef2lla/lla2ecef) with Python bindings

License: MIT License

CMake 3.27% Python 3.50% C++ 93.24%
ecef lla ecef2lla lla2ecef geodetic wgs84

wgs84conv's Introduction

wgs84conv

wgs84conv is a accurate & fast Earth-Fixed Earth-Centered (ECEF) to Geodetic (lla) convert module based on:

Karl Osen. Accurate Conversion of Earth-Fixed Earth-Centered Coordinates to Geodetic Coordinates.[Research Report] Norwegian University of Science and Technology. 2017. hal-01704943v2

And with pybind11 & carma, this module also support Python binding.

Prerequirements

  • armadillo
  • pybind11

Build

  • mkdir build && cd build
  • cmake -G"Ninja" ..

API

ecef2lla

  • Input: ECEF position in meter
  • Output: WGS84 LLA in radius, meter

lla2ecef

  • Input: WGS84 LLA in radius
  • Output: ECEF position in meter

Compare

Compare to pyproj convertion

$ time python gps_track_pybind11.py test.tlm
    0.42s user 0.04s system 99% cpu 0.459 total

$ time python gps_track.py test.tlm
    34.54s user 3.20s system 98% cpu 38.256 total

wgs84conv's People

Contributors

mlouielu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

evans9610

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.