multiple waypoint display mess
2 posters
OruxMaps :: ENGLISH :: IMPROVEMENTS
Page 1 of 1
multiple waypoint display mess
i am a mountainbiker and want a waypoint file with all possible cols in the alps displayed on all my maps. when zooming out to larger scales, this obviously creates an unusable mess. oruxmaps needs a way to intelligently deal with "too many" waypoints on screen.
[img]
a simple solution could work as follows:
factor = <number of visible waypoints> / <number of pixels on screen>;
if (factor > a) { display_no_waypoints_at_all(); }
else if (factor > b) { display_small_waypoint_icons(); }
else if (factor > c) { display_normal_waypoint_icons(); }
else { display_waypoint_icons_and_names(); }
with a > b > c. the comparison values are to be determined experimentally. if you want to be fancy, you can have the user configure a "density" slider value.
[img]
a simple solution could work as follows:
factor = <number of visible waypoints> / <number of pixels on screen>;
if (factor > a) { display_no_waypoints_at_all(); }
else if (factor > b) { display_small_waypoint_icons(); }
else if (factor > c) { display_normal_waypoint_icons(); }
else { display_waypoint_icons_and_names(); }
with a > b > c. the comparison values are to be determined experimentally. if you want to be fancy, you can have the user configure a "density" slider value.
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: multiple waypoint display mess
joeuser wrote:i am a mountainbiker and want a waypoint file with all possible cols in the alps displayed on all my maps. when zooming out to larger scales, this obviously creates an unusable mess. oruxmaps needs a way to intelligently deal with "too many" waypoints on screen.
[img]
a simple solution could work as follows:
factor = <number of visible waypoints> / <number of pixels on screen>;
if (factor > a) { display_no_waypoints_at_all(); }
else if (factor > b) { display_small_waypoint_icons(); }
else if (factor > c) { display_normal_waypoint_icons(); }
else { display_waypoint_icons_and_names(); }
with a > b > c. the comparison values are to be determined experimentally. if you want to be fancy, you can have the user configure a "density" slider value.
thanks;
it is a good idea, but we need another criteria: which wpts should be removed/displayed?
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: multiple waypoint display mess
my suggestion works without removing any specific waypoints i think. it only changes the amount of pixels they take up on display.
too many wpts:
nothing is displayed at all
many:
very small dots only for every waypoint, like
**
**
still many:
normal waypoint dots, like
**
****
****
**
normal amount of wpts:
standard icon AND waypoint name
too many wpts:
nothing is displayed at all
many:
very small dots only for every waypoint, like
**
**
still many:
normal waypoint dots, like
**
****
****
**
normal amount of wpts:
standard icon AND waypoint name
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: multiple waypoint display mess
obviously, if you want to be fancy, you could join multiple waypoints into a single "X pts here" overlay. like many of the internet tour portals do when displaying their trips on a map. but thats way more work and i'm not sure if it's worth the trouble.
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: multiple waypoint display mess
btw, you know about R-trees?
http://en.wikipedia.org/wiki/R-tree
they're meant for efficient storing and display of geospatial data like points, tracks. certainly worth a read.
http://en.wikipedia.org/wiki/R-tree
they're meant for efficient storing and display of geospatial data like points, tracks. certainly worth a read.
joeuser- Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25
Re: multiple waypoint display mess
joeuser wrote:btw, you know about R-trees?
http://en.wikipedia.org/wiki/R-tree
they're meant for efficient storing and display of geospatial data like points, tracks. certainly worth a read.
Ok;
I thought you wanted to display only a few wpts.
The vector maps show for each zoom level what information has to show, but for tracks / wpts is better to use a similar approach that you propose.
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Similar topics
» display selected waypoint
» In waypoint nav mode, target waypoint name does not update when next waypoint is automatically selected
» FEATURES OF FUTURE VERSIONS
» multiple map folders
» Load multiple routes
» In waypoint nav mode, target waypoint name does not update when next waypoint is automatically selected
» FEATURES OF FUTURE VERSIONS
» multiple map folders
» Load multiple routes
OruxMaps :: ENGLISH :: IMPROVEMENTS
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|