On Sep 5, 12:36 pm, Geostrophic <[EMAIL PROTECTED]> wrote:
> ...and how would you go about sending the appropriate dimensions?
>
> Thanks!
> Corey
In the URL parameters, just like a sending "&bbox=" parameters to a
WMS server or sending "&x=" and "&y=" parameters to Google's tile
servers.
http://www.srh.noaa.gov/ridge/RadarImg?type=gif&width=600&height=550&opacity=.5&rid=APX&product=N0R×tamp=200809051200
It becomes an HTTP GET request but because it is used in the "src"
attribute of an "IMG" element, it escapes cross-domain access
restrictions.
I realize it is extra work for your server but it will improve
animation speed. With four radars at ten frames per second on a slow
CPU, it is fairly significant.
Pixel interpolation is pretty easy to do. Consider each of the RGB
components separately. Do a weighted average of all pixels within
some radius. The weight factor is the reciprocal of the distance from
the real physical pixel to the fake pixel you are generating. Its
location is the center of the circle. Other much more sophistocated
techniques exist if you are really into it but the burden on your
server will be greater.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---