Hi folks, Can anyone point to some resources that will help me understand how to create a heatmap from shapefile data for custom data tile overlays?
I've followed John Coryat's excellent workshop on custom tiles here : http://www.youtube.com/watch?v=IYqfT9i1las I feel like I understand the basics and have gotten the workshop examples working, and am now wanting to create my own heatmap similar to Marcelo Montagna's beautiful example here : http://maps.forum.nu/v3/gm_customTiles.html >From what I can tell, I need to generate an image of the appropriate pixel dimensions to cover the entire CONUS, then cut the image into tiles for the zoom levels. ( Please correct if otherwise ) I have some density data in a shapefile, and realize that I need to get it into the database so that my tilecutter script can pull it out, generate the image and tile it, but am unclear on some things : I am using postgres per John Coryat's workshop, but have mysql available, too - what does the table schema look like .. do I simply use pg2shp to get the shapefile in the database and let it handle the table creation? What, if any, settings do I need to give to pgsql - once I have the density data in the database, what tool or algorithm do I need to use to get the correct data to use for creating the image? I imagine that it will select on the data table then map a lat/lon to a pixel? Any advice is greatly appreciated, maplap -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
