Avenue-GPX-Viewer icon indicating copy to clipboard operation
Avenue-GPX-Viewer copied to clipboard

Unable to view large POI files

Open sordoneF opened this issue 4 years ago • 6 comments

When I load a GPX file with 12.000 EV charger waypoints, Avenue can cope with that. But with larger files of 20.000 points, Avenue becomes unresponsive. Can you make a fix for this ? You can find the gpx files at: https://www.mostaladda.eu/GPX.htm GB works but try Germany(OCM_DE.gpx) or even All of Europe. You will get a SPwOD. Other requests: Can you also show the description field in a text box so the details of the waypoint are shown when you select the waypoint ? And zoom to the data ? Now Avenue always starts at the equator and you have to zoom out and scroll up. Thanks

sordoneF avatar Oct 02 '21 09:10 sordoneF

I think it would be fixable by reducing the amount of waypoint annotations shown when zoomed out.

The reason Avenue starts at (0,0) when opening waypoints-only GPX files is because it is now only implemented with just the zooming of track points. Its more of a which to focus when a GPX file has both, kind of an issue, so I kinda avoided it altogether.

Also, thanks for the link. Always wanted to test a super large GPX file but couldn't get hold of one.

vincentneo avatar Oct 02 '21 15:10 vincentneo

Wow. Screen Shot 2021-10-03 at 12 34 04 AM

5.81GB of RAM and at 100% CPU utilisation and counting, this is truly something that needs fixing.

vincentneo avatar Oct 02 '21 16:10 vincentneo

Hi @sordoneF,

Screen Shot 2021-10-04 at 1 26 02 AM

Would you be ok with a solution concept of the above? (Ignore the ugliness right now, its just a prototype).

When zooming in, more pins will be exposed.

vincentneo avatar Oct 03 '21 17:10 vincentneo

Hi Vincent. I did not get any updates by e-mail about your remarks so sorry for the delay. I am not a daily github user. Your prototype solution is already better since it can load the bigger files. Are you able to display the waypoint description data also ?

sordoneF avatar Oct 08 '21 08:10 sordoneF

Hi @sordoneF, No worries. At the present moment, waypoint description doesn't show, but I will be sure to make it work before actual release.

vincentneo avatar Oct 08 '21 08:10 vincentneo

Super, that would be nice. It will allow me to update the wrong OCM data (like the waypoints shown outside of the EU) more easliy. The OpenChargeMap import procedure has some hickups which results in those wrong points.

sordoneF avatar Oct 08 '21 08:10 sordoneF