Select GPX files inside a bounding box

Hi
I have tons of GPX files, I can load them all with a catalogue into GM. I would like to choose a lat/lon rectangular bounding box and put GPX files that are inside such box into a specific folder on my machine.
I do not see how to achieve that...
thanks for your help
Answers
-
Hi,
So you need to crop according to the bounding box and than export only what is inside that to new GPX files?
If so you can use crop to selected area with option to keep crop parts in same layer in case you need separately.
It s this what you are after?
-
Interesting, but I would like to keep the original files as it is. Just remove the ones outside the box (or copy in other places, the one inside the box)
-
There's not really a way to do file operations like that directly in Global Mapper.
What you could do is load all of the GPX files directly and zoom in so only the bounds you want are onscreen. Then, do a batch convert from GPX to GPX with the output going in the new desired folder.
If you want to do the file operations and are comfortable with Python, you can use the new Python scripting in v23.0 Pro to cycle through the maps in a catalog and check the bounds. You could then call file copy routines in Python to move the files to the desired location.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
-
Thanks for the hint. It could work. But as I have many files, I load them through a map catalog but then when I do the batch convert from GPX tp GPX and try to add "on screen files", I got an error "No files matching the convert from type are loaded"
-
I actually noticed the same issue when batch converting from a map catalog and trying to load Onscreen Files. I have fixed this issue for the upcoming v23.1 release.
There is a workaround though as the files are actually added to the list when you see that error, the list just isn't refreshed. So if you add Onscreen from the catalog and get the error, you can then add a single file that is recognized (just randomly pick one of the GPX files from disk), then everything added before will show up, as well as the new file. Just remove the just added file from the list and proceed.
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 829 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 179 Announcement and News
- 923 Bug Report
- 560 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 574 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website