[mapserver-users] mapscript with php as module does not flush buffers

Steve Lime sdlime at gmail.com
Tue Jan 7 12:45:44 PST 2020


Hmmm... Raster or vector? I can poke around the GDAL/OGR code to see if
something is happening in MapServer. Have you tried explicit layer closes?

On Thu, Jan 2, 2020 at 5:06 PM Jan Hartmann <j.l.h.hartmann at uva.nl> wrote:

> Hi all,
>
> I use PHP-Mapscript to server WMS-maps, with a MapFile based on an
> underlying VRT-file. My application changes the geometry transformation
> of the VRT-file, and reloads the WMS. It uses the same MapFile ($oMap =
> ms_newMapObj($mapfile), but with a changed underlying VRT-file;
>
> When I use PHP as CGI, the reloaded WMS correctly shows the map with the
> new transformation. With PHP as an Apache module,  older transformations
> are displayed in a random manner. I guess the VRT-file gets buffered
> somewhere, but I am unable to flush that buffer, either with
> PHP-functions or with random parameters for the WMS-call.
>
> Any ideas? I would prefer to use PHP as a module.
>
> Thanks,
>
> Jan
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200107/b91b4614/attachment.html>


More information about the mapserver-users mailing list