Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: RouteGadget GPX file limits

in: Orienteering; Gear & Toys

Oct 26, 2010 5:46 AM # 
Juffy:
Hi all (and Jarkko in particular :) )

Does anyone know what size/length/time limits RouteGadget has for uploading GPX files? I'm trying to upload the file from an 11 hour event and I'm getting the following error:

java.lang.ArrayIndexOutOfBoundsException: 40000
at reitti.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ArrayIndexOutOfBoundsException: 40000
java.lang.NullPointerException
at reitti.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NullPointerException


I'm not entirely sure what the 40000 refers to. If I delete enough points to bring the GPX file under 40k lines then it works, but if I delete the or tags (making it <40k lines, but with the same number - ~8000 - points) then it errors.
Advertisement  
Oct 26, 2010 6:07 AM # 
Jagge:
Sorry, it just isn't designed to handle very long races. It was written for orienteering and in orienteering there is no that long event. You can't fix it by removing points, it will interpolate point for every second no matter what you do.
40 000 is seconds, it makes 11 hours and 6 minutes. So you might be able to upload it if you crop all unnecessary data before start and after the finish.

For longer events I suggest hand drawing for now.
Oct 26, 2010 6:47 AM # 
Juffy:
...bugger. Thanks for the quick reply though Jarkko, RouteGadget gets a lot of love from our corner of the world.

I was trying to use it for a 12hr rogaine (where I walked for 11:09, so I only just tripped the limit) so trimming closely doesn't help the teams who did the full 12 hours, and 24hr events are obviously not going to work.

I don't suppose you'd consider releasing the source code, even if under a "do not call it RouteGadget or in any way blame Jarkko for your web server blowing up" license? Or even just a version that can handle 100k seconds? *looks hopeful* :)
Oct 26, 2010 7:30 AM # 
Jagge:
I think there may already be version able to handle long tracks, it's just not released yet I guess. I can check it and send it to you later. If you have access to the server the RG is running you can try updating it.
Oct 26, 2010 7:32 AM # 
Juffy:
That would be awesome - I do have access to the server.

This discussion thread is closed.