Hi David,

It wouldn't be hard to do as you wrote, and have a link to a script on
a server which did the translation for you.

Something like: <img
src="http://yourserver.com/cgi-bin/make_icon.cgi";> or set up a cron
job on your server
which regularly fetches the images, and then writes them into a constant name.

is that something you need help with?

Regards,
Rich

On Jan 28, 2008 3:22 PM, David Asbury <[EMAIL PROTECTED]> wrote:
>
> I've got a little mashup I've been working on in Google Earth/Maps and
> I'm stuck. The GE and KML Developer support forums have come up dry so
> I'm hoping someone here has an idea about how I can work it out.
>
> I have created placemarks for several USGS stream gauges in my watershed
> of interest and linked each placemark's balloon to the webpage of their
> respective site. On said webpage are GIFs of graphs showing the stream's
> discharge as recorded by the gauge. These GIFs are dynamically created
> and update every 15 minutes. So now, everything looks great. Click on
> the placemark icon, up pops the most recent graph - click on the graph
> and you're redirected to the main page where you can get a lot more
> information.
>
> The problem is that each GIF's URL is coded with the date, so every 24
> hours the links to the graphs break. Actually there are two dates in the
> URL one for the day that the data on the chart begins and a second for
> when it ends. Like so - <YYYYMMDD..YYYYMMDD>. You can customize the
> graph from the website to display anywhere from 1 to 31 days of data.
> The default is 7 days and that's what I'd like to show.
>
> So what I need is a bit of script that can either increment the date
> (and subtract 7 to get the first date) and insert it into a URL, or grab
> the date from somewhere, format it as YYYMMDD, subtract 7 and create a
> dynamic URL.
>
> I'm guessing scripts won't work within the GE placemark description
> boxes themselves (though I don't know), so I may need to setup a static
> link in the placemark to a page where I've created this dynamic image.
>
>
> --
> David Asbury
> GIS Analyst/Cartographer
> Center for Ecosystem Management and Restoration
> 4179 Piedmont Ave. Ste. 325
> Oakland, CA 94611
> Voice: 510-420-4565 x2
> Fax: 510-420-1345
> email: asbury at cemar.org
> web: cemar.org
> _______________________________________________
> Geowanking mailing list
> [email protected]
> http://lists.burri.to/mailman/listinfo/geowanking
>



-- 
Now offering training and consulting in maximizing corporate
efficiency using Web 2.0 tools and techniques.

Rich Gibson
Chief Scientist (and bottle washer), Locative Technologies
http://mappinghacks.com
http://geocoder.us
http://testingrange.com
AIM period3equals
_______________________________________________
Geowanking mailing list
[email protected]
http://lists.burri.to/mailman/listinfo/geowanking

Reply via email to