Batch simplify multiple GPX tracks for use in Brouter-web

182 views
Skip to first unread message

Tapio

unread,
Jan 26, 2020, 8:51:32 AM1/26/20
to OSM Android bikerouting
Hi guys,

now brouter-web has the possibility to load GPX files, which is very useful when planning new tracks. Because typically I want to do new hiking somewhere where I wasn't before.

Even better, it is possible to load multiple GPX files, BUT: Very easily the size of 1 MB is exceeded. So my idea is, to simplify GPX tracks for the use in brouter-web, i.e. limit their number of trackpoints. Of course, since I have quite a lot GPX files, only batch converting/simplifying would be useful.

Any ideas on how to do this job? I think GPSTrackanalyse was able to simplify tracks, but not on a batch job basis.

Thx for any input.

Tapio

unread,
Jan 26, 2020, 9:13:20 AM1/26/20
to OSM Android bikerouting
OK, I found https://www.gpsvisualizer.com/convert_input - already converted 60 tracks with good results. Could be easier, but will see. Uploaded GPX in 2 packages as zip, set 50m per trackpoint, received 1 big GPX in return, imported it into Locus Pro and exported it to multiple GPX tracks for use with brouter-web.

Tapio

unread,
Jan 26, 2020, 9:24:34 AM1/26/20
to OSM Android bikerouting
Solved it! Was able to decrease size of 62 GPX files to less than 1 MB alltogether. I've set the trackpoint distance in gpsvisualizer to 200m which is still enough to see where I already was.

Norbert Renner

unread,
Jan 27, 2020, 1:07:06 PM1/27/20
to OSM Android bikerouting
Thanks for the feedback on your progress.

Just to make sure: the file size limit is checked for each file individually, not the sum of all (the current error message isn't very helpful here).

The limit is just the - probably arbitrary - default of the library we use. I created an issue to increase the limit and make further improvements:

For bulk simplification see also GPSBabel:

Tapio

unread,
Jan 28, 2020, 6:14:12 AM1/28/20
to OSM Android bikerouting
Thanks Norbert, will check the tools and it's great that the limit is per file, I did not recognise that.

Alicia Cole

unread,
5:33 AM (18 hours ago) 5:33 AM
to OSM Android bikerouting

AliExpress Tracking makes it easy to monitor your orders from dispatch to final delivery with real-time shipment updates. Simply enter your tracking number to check the latest package status, estimated arrival date, and shipping progress from anywhere in the world. Whether your parcel is shipped locally or internationally, AliExpress Tracking helps you stay informed every step of the way.

Reply all
Reply to author
Forward
0 new messages