OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

multiple waypoint display mess

2 posters

Go down

multiple waypoint display mess Empty multiple waypoint display mess

Post  joeuser Wed Sep 07, 2011 1:12 pm

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]multiple waypoint display mess Sc20110907145507

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

Back to top Go down

multiple waypoint display mess Empty Re: multiple waypoint display mess

Post  orux Fri Sep 09, 2011 4:26 pm

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]multiple waypoint display mess Sc20110907145507

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
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

multiple waypoint display mess Empty Re: multiple waypoint display mess

Post  joeuser Fri Sep 09, 2011 5:17 pm

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

joeuser

Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25

Back to top Go down

multiple waypoint display mess Empty Re: multiple waypoint display mess

Post  joeuser Fri Sep 09, 2011 5:20 pm

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

Back to top Go down

multiple waypoint display mess Empty Re: multiple waypoint display mess

Post  joeuser Fri Sep 09, 2011 5:23 pm

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.

joeuser

Cantidad de envíos : 35
Fecha de inscripción : 2011-01-25

Back to top Go down

multiple waypoint display mess Empty Re: multiple waypoint display mess

Post  orux Fri Sep 09, 2011 6:07 pm

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
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

multiple waypoint display mess Empty Re: multiple waypoint display mess

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum