Why not ask your question on the new 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, 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, 07:26

BCNorwich's gravatar image

BCNorwich
6.2k54489
accept rate: 20%

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:

×255
×91
×66
×8
×2

question asked: 14 Aug, 19:09

question was seen: 320 times

last updated: 15 Aug, 07:26

powered by OSQA