Lisa Gaudette wrote:
Frank Warmerdam wrote:
Lisa,
In recent versions of MapServer an effort is made to keep GDAL files open
between render requests for raster layers with a single file as opposed
to a tile index. I wonder if you might be running into a problem with
this behavior in a long running mapscript script. I don't understand
the whole context in which you are operating so I could be off base. But
you might consider adding:
PROCESSING "CLOSE_CONNECTION=NORMAL"
to your raster layer to force the files to be closed at the end of a
render.
That seems to fix it. Is there any way to set that option globally when
compiling?
You could change this code in mapraster.c:
if( close_connection == NULL && layer->tileindex == NULL )
close_connection = "DEFER";
To assign a default of "NORMAL" instead.
Best regards,
--
---+--
I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users