[Mapserver-users] OGC-compliant WMS-server deliveringdynamiclayers
with MS?
Daniel Morissette
morissette@dmsolutions.ca
Tue, 30 Sep 2003 12:20:37 -0400
Debbie Pagurek wrote:
>
> as per some suggestions from Daniel Morissette, I have made a change to
> my script so that it doesn't do a redirect to result in an image,
> instead, the script outputs an image directly using PHP readfile
> function.
>
Actually, after our email exchanges yesterday I realized that you could
save the temporary image + readfile() steps if you called
$map->saveImage("") with an empty filename. When it is passed an empty
filename, saveImage() sends its output to stdout, i.e. directly to the
client. I promise it's the last time I suggest a change, it can't get
any shorter than that. ;)
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users