The background, I may have what I think is a specific data privacy case.

I have many GPS traces (~500 gpx files), between 3 locations. where i live, work & remote work. Most records are 10-60Km, more than a hundred are +100K (max 800Km).

Currently on OSM, Those 3 location lack GPS traces. If I upload these traces even 'public', they will show and centralize exactly where I am based.

So to fix this, I just want to automatically cut out a GPS range (square or circle) like 1-5Km radius (like a blind area). So is there a tool, command-line preferred, that make that easy for me? Or is there other easier way around it?

I already tried GPSPrune (GUI) manually cut edges and high error sections, but that was a strenuous task. Really took me 3-4h to cleanup ±100 traces.

Also, I probably end up writing a script using gpxpy python module to delete all point in a custom range, if there is no tool yet for such specific job.

asked 10 Oct, 11:37

Bean's gravatar image

Bean
612510
accept rate: 0%

edited 10 Oct, 11:41


gpsbabel (https://www.gpsbabel.org) is your friend! It has a method to "include only points within a polygon" and that has a flag that says "uh, change the logic, exclude these points please".

permanent link

answered 10 Oct, 12:27

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
78.1k886911207
accept rate: 24%

1

I checked its GUI before I overpass it. Surprised to how advanced its CLI ( https://www.gpsbabel.org/htmldoc-development/filter_polygon.html ). Thank you.

(11 Oct, 08:16) Bean
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×226
×34
×19

question asked: 10 Oct, 11:37

question was seen: 179 times

last updated: 11 Oct, 09:09

powered by OSQA