![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Yes Erel,
Between 2 NMEA sentences, I have to work with the fetched data...(every second) In a list of 1500 waypoint, I have to search for match with my actual position point from the sentence. Suppose I store my position on the last place of the waypointlist, I have to search the list to the end... On my 400MHz PPC, the time to search the whole waypointlist takes 15 seconds, only to see of a point is in a square with a simple validation routine... This is what you never hear on a forum... in fact this must be no big deal, because other PPC navigation software must do the job I think. I am going to try your suggestion to work with arrays, if this is will not do the job, I assume there are special algoritme for PPC use... Of coarse, I let you hear the results ( otherwise there was no need for a forum |:-) By the way Erel: it is luxery in speed and use, working with B4PPC Put Claude Belgium Last edited by Put Claude : 10-06-2007 at 11:50 AM. |
|
|||
|
Of coarse it can, give me a day to restore the little changes made to experiment with the data, then you have the absolute working stuff with a lot of comment. I use it very often with a short waypoints list, it warns me for the camera poals in my enviroment where I usely do not think about them...
It warns constantly wen I drive towart, stop warning when I stop / are driving away from the poal, it is made to comfort. Can set or remove waypoints in a easy way while driving, etc... Also (re)connecting Bluetooth is automated... Wil also write a little Help for it... Thanks for the interest anyway... I prefare this above many commercial stuff with fancy things, that you can not use, especialy when driving... Oh yes, there is a plotter to, you can drag the plot file into Google Earth to see your plot with speed and all (so I can prove my bike did 150 on that piece of road ;-) ). Have compassion with my code: I am a beginner, and it is still under construction, all comments are welcome... Put Claude Belgium Last edited by Put Claude : 10-06-2007 at 04:10 PM. Reason: upload |
|
|||
|
Small tables work, large tables are too slow, but work. You're using GPS data, so can't jump from one end of the table to another without passing through a fair amount of it.
Sort the big data file Find your start location & filter Lat & Long within a reasonable distance of this (how fast do you drive?). Copy this to another table & refer to this for the immediate data. At some distance from the boundary of the GPS data for your filtered table you delete the "wrong" side & add by using a filter the data for the same distance in the direction you are traveling. Haven't tested this for speed with the filter process in the background & the coordinate processing in full flow. Alternative would be to use a list & a binary sort routine with boundaries set according to the region of interest, rather than the whole table each time. |
|
|||
|
hi LineCutter,
Was thinking this way to, to eliminate as much point as possible, but from the old times, I now some search algorithme that eliminates in jumps of halve the list, so the point of interest from the list must be reached, lets say for a list of 1600 points: in 9 to 10 compares, if this is working, the solution is there... I let the forum now in what I succeeded, and in what not, because I think this is usable for other app to... Thanks for the interest... Put Claude Belgium |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Incremental search with combobox | aureolevoyager | Questions & Help Needed | 0 | 02-27-2008 09:53 PM |
| FASTEST way to make a RND number list, no doubles | Stellaferox | Questions & Help Needed | 8 | 02-06-2008 12:16 PM |
| ListView: search | magi6162 | Questions & Help Needed | 0 | 10-11-2007 09:16 AM |
| Fastest way to get pixel colour value? | DavidN | Questions & Help Needed | 6 | 09-02-2007 06:40 AM |
| How to convert an Access database to a sqlite database | Peter | Code Samples & Tips | 5 | 07-24-2007 03:20 PM |