Andy, thanks for your answer, but I have no idea which the problematic elements are. I did some trial and error but without success. At the other hand, removing the entire last part is not much work and easy to do. After doing the file works fine in my Garmin Edge and with BaseCamp.
The deleted file part is only useful in a device with Osmand or other with a partial window for route instructions. Garmin has a different system for this. Regards, Wim On Mon, Mar 4, 2019 at 5:05 PM Andy Townsend <[email protected]> wrote: > > On 04/03/2019 15:41, Wim Linden, van der wrote: > > > > To remove this part open the gpx file with a text editor (like > > Notepad) and remove all lines at the end after (including) <rte> up to > > incl </wpt>. > > The very last line </gpx> has to remain. > > > Guessing a bit, but I bet you could leave the route points and waypoints > in if you removed the actual problematic elements from each object. > > For example, I occasionally need to load an OsmTracker file into > MapSource, and you need to remove the "Speed" XML elements (search and > replace in a text editor) in order to do so. > > Best Regards, > > Andy > > PS: I'm tempted to point the finger at Garmin rather than OsmAnd for > this one - I've written some things that target Garmin GPSs and their > file format is _very_ fussy. Lots of things that "should be perfectly > valid XML" just won't work. > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Osmand" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/osmand/a4qHhUjkcKE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Osmand" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
