title: Quickest way to access large set of lat/lon data
body: <p>I have a large amount of data that is indexed by lat/lon to 5 decimal places. I am trying to show this data on a map, but only want to show the lats/lons within the current view, which will only be about 10% of the entire database. I currently have the database stored in an array, i.e. db[0], db[1], db[2], db[3]..... db[3000]. Each item in the array is a { name: value, name2: value2, etc } symbolizer with variables. Every time I work with the data I have to parse the entire array, then filter for lat/lon, then do the operations on the data. To me this seems very client processor intensive and I was wondering if there could be a more efficient way to store the data into the array and access it, maybe: db[lat][tenths][hundredths][thousandths][etc]. Then when I reference it, call it like this: db[29][1][2]. This sounds good, but I'm not sure how to do it. Anyone know how? THANKS!</p>