Android proximity alert,from kml file
<p>im trying to plan and build a small android app that takes in a kml file of co-ordinates, these coordinates are grouped together as a lineString with maybe a couple of dozen points in each linestring, im trying to build an app that as the user travels if they are within a set of these cordinates marked as a line on the road an alert will be prompted, there may be thousands of these lines within one kml file, I know how to prompt alerts etc. but was wondering if my approach of parsing all these cordinates when the program starts then constantly check if a user is near any of them and if inside the linestring prompt would be a good way to go about it? this way does not seem efficient at all, any ideas would be great before i get started.</p>

<p>ex.<br>
lineString
coordinates
cordinates 1
.......... 2
etc.........
/cordinates
/lineString</p>

<p>maybe thousands of these lines</p>

<p>Many thanks</p>
