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

Simplify GPS traces before uploading to openstreetmap.org #201

Closed
mmd-osm opened this issue Aug 20, 2023 · 3 comments
Closed

Simplify GPS traces before uploading to openstreetmap.org #201

mmd-osm opened this issue Aug 20, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@mmd-osm
Copy link

mmd-osm commented Aug 20, 2023

Describe the bug

First of all, thank you for contributing GPS traces to OpenStreetMap. We'd like to bring the discussion in openstreetmap/operations#931 to your attention. Right now, sunnypilot is the TOP 1 contributor of GPS traces according to https://planet.openstreetmap.org/statistics/data_stats.html, with more than 10 billion trace points created on OpenStreetMap GPS trace database. This is putting a lot of pressure on our infrastructure: it has doubled the overall growth rate of our database, which includes much more than GPS traces.

When analyzing your traces, we have frequently seen that traces tend to be over-noded, which means, that they contain many more traces points than necessary for our purposes. We would therefore like you to consider simplifying GPS traces before uploading them to osm.org. This way, a trace with 6000 trace points could be easily reduced down to 20-30 trace points, with as little as 1m error. That's a factor of 100-300 in potential data reduction we've seen with data uploaded by sunnypilot.

We typically recommend to check out tools such as GPSBabel. Our wiki page https://wiki.openstreetmap.org/w/index.php?title=GPSBabel/Using_filters#Simplifying_tracks has some examples.


gpsbabel -i gpx -f way_iv.gpx  \
    -x simplify,crosstrack,error=0.001k \
    -o gpx -F merge.gpx

Code: https://github.com/GPSBabel/gpsbabel/blob/cd3cd130541f7a72706120511156c6a61e3bbcc8/smplrout.cc

Please let us know in case of further questions.

//CC: @tomhughes

Provide a route where the issue occurs

N/A

openpilot version

N/A

Additional info

No response

@mmd-osm mmd-osm added the bug Something isn't working label Aug 20, 2023
@pnorman
Copy link

pnorman commented Sep 15, 2023

Any updates from sunnypilot on plans to simplify?

@sunnyhaibin
Copy link
Collaborator

Thanks for bringing this to our attention. We have plans to simplify the traces in the near future.

gregorywaynepower added a commit to gregorywaynepower/sunnypilot that referenced this issue Nov 11, 2023
@sunnyhaibin
Copy link
Collaborator

Closing as the feature has been deprecated in all future releases of sunnypilot.

@sunnyhaibin sunnyhaibin closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants