Hi everyone!
Maybe some one has a suggestion to my problem:
I need to refresh from a raster with WMS on request, the website knows
that the raster, with a Layer already published in geoserver, has been
modified externally.

If I make the following request:

.../geoserver/lsa/wms?service=WMS&version=1.1.0&request=GetMap&layers=lsa:lsaAnalysis&styles=HighGreens&bbox=497250.893,5694821.09,697250.893,5894821.09&width=512&height=511&srs=EPSG:20254&format=image/png

Geoserver will reread the raster and produce a new image, as per the
defined style. The problem is that geoserver will give always the same
url response/image name, "wms.png"
I haven't found a way for google Maps to reload that image as a
GroundOverlay,  but the same behavior happens with a kml with
networklink refreshInterval set. Again, because the kml made by
geoserver has a link to the previous url. No matter how many new
javascript objects do I create, their plug in reads the same image
name, therefore use the one that is already cached. (already tried
changing the request url with a random parameters, but the problem is
in the response).

I'm thinking my only workaround would be to create an extra servlet
that takes the geoserver image, saves it with a new name, and send the
new url to GMaps, but that is really resource consuming, would anyone
has a better idea, or something that I am missing?

Thank you very much,

Marcos Nino-Ruiz
Computer and Systems engineer
CRC for Spatial Information
The University of Melbourne
Victoria 3010
Australia

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to