Skip to content
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

Background tracking support #5917

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Background tracking support #5917

wants to merge 23 commits into from

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Dec 27, 2024

This PR implements background tracking support in QField 🥳

Implementation notes:

  • Users must return to the QField app for the collected positions while QField was suspended to be saved into the vector layer tracks. This is a requirement to insure features will get proper expression context et al and avoid serious issues with vector layers co-existing in multiple processes.
  • The improvements fix an interesting out-of-sync situation where the position information was not necessarily matching the projected position (which is used to add vertices to the track feature).

Plenty of code refactoring has happened, hope it doesn't make it too much harder to review this.

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Dec 27, 2024

@nirvn nirvn force-pushed the tracking_background branch from e18ee86 to 838cf8f Compare December 27, 2024 09:37
@nirvn nirvn force-pushed the tracking_background branch from 2dc78ad to 5d5827e Compare December 28, 2024 04:34
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

src/core/featuremodel.cpp Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants