GithubHelp home page GithubHelp logo

Comments (7)

sonora avatar sonora commented on June 23, 2024 2

We must be aware that many such (often post-processing) algotithms are usually targeted at fitting the geometric shape of a track with fewer points than their raw data has as e.g. recorded at fixed time intervals.

But this also removes other information(!), which may not be desired, e.g. time, speed, altitude, cadence etc.data, which was contained in points the geo- simplification removes or manipulates.

So what kind of track sinplification makes sense for you depends on your actual purpose and use case.

from osmand.

albansuser avatar albansuser commented on June 23, 2024 2

Exacttly. Just saying that "the smart way" is not necessarily "smart" for all use cases.

And perhaps optimizations like this should even be a post-processing option you can apply to a track once it's been saved, there may be little benefit enforcing a decision before recording.

I agree. No sense in unnecessarily increasing the processor load while recording, especially if external sensors are being used. Then there's also data loss.

I can't think of any benefits of such real time "optimization".

from osmand.

nosorozec avatar nosorozec commented on June 23, 2024 1

Thanks for all the comments.
I agree that this is best dona as post-process optimization.

from osmand.

albansuser avatar albansuser commented on June 23, 2024

"if you are moving the same direction (straight line) they record less information but when you start turning there is a lot more points in the log."

Am curious as to the practical advantages of such a feature?

Thanks

from osmand.

pebogufi avatar pebogufi commented on June 23, 2024

@albansuser
Have a look at
https://en.m.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm

from osmand.

Sonwon1 avatar Sonwon1 commented on June 23, 2024

We must be aware that many such (often post-processing) algotithms are usually targeted at fitting the geometric shape of a track with fewer points than their raw data has as e.g. recorded at a fixed tome interval.

But this also removes other information(!), which may not be desired, e.g. time, speed, altitude, cadence etc.data, which was contained in points the geo- simplification removes or manipulates.

So what kind of track sinplification makes sense for you depends on your actual purpose and use case.

It could be an option letting the user decide which is more useful for their usage.

from osmand.

sonora avatar sonora commented on June 23, 2024

Exacttly. Just saying that "the smart way" is not necessarily "smart" for all use cases.

And perhaps optimizations like this should even be a post-processing option you can apply to a track once it's been saved, there may be little benefit enforcing a decision before recording.

from osmand.

Related Issues (20)

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.