From: Peter Smith <P<ssmith@nt...> - 2003-10-28 18:10:16
Regarding the plotting of networks :
I agree, but it does seem to be asked for a lot.
To do it properly, you would have to get out of your car and wander
about, to find the extent of the network.
Regarding zaurus resources :
I use the tkcrom, everything is installed on the sd card, and I have a
16mb swapfile in the internal ram that I can enable. However, some
people still have and want to use the old 5000, most people would not
want or know how to add a swapfile or install OZ.
The problem I was getting at, is the calculations needed to search and
plot POI's from potentially 1000's of items. The speed camera database
is nearly 2000 items, just for the UK. I don't want to slow down the
performance of qpeqps if I can help it.
I was thinking of having the POI's in a flat file, to svae on cpu
cycles, I would only want to calculate POI's that are needed for the
current map. I would proberbly convert the lat/long values to radians
as they are loaded up. Sin, Cos etc all require the values to be in
For know I think I will just experiment with loading a simple,small list
of POI's and just plotting them on the screen.
I will have them in a text file, similar to the routes text file, and
will experimient with different ways of handling them.
I will create a new class for them which can be added to later. I will
start with lat/long, pointer to icon file, and a text field and take it
from there. I will create a new tab for the config, as there doesn't
seem to be any room on the current tabs :-))
I will then look at adding waypoints on the fly via qcop messages and
expanding on detail and functionality. I think I need a gauge as to how
it will perform with the extra work before I commit to doing something
By the way, I have discovered that you can use autoroute to work out a
route, export the screen as a bitmap including the route and just enter
the co-ordinates of the top left, and bottom right corner into qpegs.
This gives you a much better route to follow than waypoints could, and
is probably easier to do than manually entering loads of lat/long
I will post something to the user list explaining how to do this later.