Coder Social home page Coder Social logo

Metric System? about gpx-parse HOT 6 CLOSED

elliotstokes avatar elliotstokes commented on August 23, 2024
Metric System?

from gpx-parse.

Comments (6)

elliotstokes avatar elliotstokes commented on August 23, 2024

Hey. Yeah I think the best would be to return metric. Sure I would accept a PR. Maybe it should optionally accept a flag to return in imperial if a user wanted it to.

from gpx-parse.

elliotstokes avatar elliotstokes commented on August 23, 2024

If I get chance I will implement tonight. If not I would be happy for you to do it. It should be pretty easy. Its just matter of calculating with the great circle radius in km instead I think.

https://github.com/elliotstokes/gpx-parse/blob/master/lib/geomUtils.js#L37

from gpx-parse.

radiodario avatar radiodario commented on August 23, 2024

No no, hold your horses, i've implemented it on my fork and updated the tests :)

from gpx-parse.

elliotstokes avatar elliotstokes commented on August 23, 2024

Brilliant. Thanks a lot

from gpx-parse.

radiodario avatar radiodario commented on August 23, 2024

i've just added a PR

from gpx-parse.

elliotstokes avatar elliotstokes commented on August 23, 2024

Brilliant. Ill add the browserify command into the package.json. all looks good will commit now.

from gpx-parse.

Related Issues (16)

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.