My latest ideas -Use C++ instead of php to calculate the heat values for each grid square. This should be ten times faster or better. I have very little C++ experience, so I'm currently stuck on getting it to connect to mysql. -Try out a trig estimation function or a trig lookup table (both options were slower in php, but might go faster in c++) -Use interpolation to calculate the heat values for pixels that are between two points where I've calculated the exact values.
For making the tiles, fetch the data from mysql for one tile at a time to save memory. (I've recently been trying to do 12 million grid squares and it freezes my computer when the script peaks at 1.3 GB ram usage, as php is very inefficient in storing data in arrays). -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
