You can use a linear search for the first version to get a working program. Later you can organize the list of waypoints to make the search faster.
Type: Posts; User: Norm
You can use a linear search for the first version to get a working program. Later you can organize the list of waypoints to make the search faster.
Post the code you are having problems with and ask some specific questions about the problems you are having.
I wrote a waypoints program to work with my GPS several years ago.
Sorry, I have no idea what you are expecting the program to do.
I don't understand what you think is possible with a search. How will the program know when to stop searching?
What if there are 1000 items in the list, when should the search stop? When it has...
Why in a random manner? Does that mean that some of the items in the list are not looked at during the search?
How many of the items in the list should be looked at? For example if the list had...
What problems are you having finding if a point in the GeoDetectors file is inside the rectangle from the points the user entered?
Is this what you are trying to do:
User enters two points(lat/long) and the program searches the detector list and finds some/all points in the list that are inside the rectangle defined by the...
I don't understand how a "descriptor" can have more than one line in the data file with different lat and long values.
The sample you posted always had 3 values, so I concluded that they all had...
What would that look like?
Why does each detector have 3 lines with lat/long values?
How is a match found between the lat/long the user entered and the data in the list?
I can imagine a...
Can you post an example of what you want the program to output? Put the output in code tags to preserve the spacing.