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

I want to extract and save an area around a given lat/lon of a gpx file and remove all the remaining points.

I tried

gpsbabel -i gpx -f favorites.gpx -x radius,distance=500K,lat=64.9830,lon=-18.1074 -o gpx -F output.gpx

When I use gpsbabel for that, gpsbabel rewrites the whole file, changing the format, inventing new tags etc. Is there any tool for just extracting, leaving the file untouched otherwise?

asked 14 Aug '23, 19:09

erik's gravatar image

erik
558152234
accept rate: 9%


Hi, You can GPSPrune does a lot of gpx manipulation, it might be able to suit your requirement. I use it to cut unwanted sections from gpx tracks. It's here:- https://activityworkshop.net/software/gpsprune/index.html

permanent link

answered 15 Aug '23, 07:26

BCNorwich's gravatar image

BCNorwich
6.3k54489
accept rate: 20%

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:

×255
×92
×66
×8
×2

question asked: 14 Aug '23, 19:09

question was seen: 567 times

last updated: 15 Aug '23, 07:26

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