NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 '21, 11:37

Bean's gravatar image

Bean
614610
accept rate: 0%

edited 10 Oct '21, 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 '21, 12:27

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

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 '21, 08:16) Bean

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:

×235
×35
×22

question asked: 10 Oct '21, 11:37

question was seen: 1,147 times

last updated: 11 Oct '21, 09:09

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum