delete images
Bart van den Eijnden
bartvde at XS4ALL.NL
Fri Feb 11 01:53:29 PST 2005
Hi,
your Java code can't delete it, since it does not know when the
user/browser is finished with the image.
So you need to do something like a cron job or use the tmpwatch utility to
clean out the directory at set times.
Hope this helps.
Best regards,
Bart
> I work in Linux and with java.
> What i do now is to save the mao i have created wih imageObj img
> img.save("path/mymap.png",map) and the read it to display it on the web
> page.
> After displaying I wanted to delete it.
>
> Thanks
>
> Jose Luis
>
> Bart van den Eijnden <bartvde at XS4ALL.NL> wrote:
> Hi,
>
> that depends on your platform/OS.
>
> For Windows, see the Mapserver FAQ:
>
> http://mapserver.gis.umn.edu/mapserver-FAQ.html#d45e120
>
> If you use Mapserver in WMS mode, there won't be any images saved on
> harddisk.
>
> Best regards,
> Bart
>
>> Hi to all
>> Does anyone know how to delete created images from hard disc once they
>> have been used with some mapserver commands?
>>
>> It will be even better if I could just show the map created directly in
>> the webpage without having to save it. Can you do this with mapserver
>> 4.4?
>>
>> Thank you
>>
>> Jose Luis
>>
>>
>> ---------------------------------
>>
>>
>
>
> ---------------------------------
>
>
More information about the MapServer-users
mailing list