[MapServer-users] Getting error when MapServer tries to save image, but I don't want it to save in the first place
Richard Greenwood
richard.greenwood at gmail.com
Tue Mar 18 08:31:20 PDT 2025
It's not controlled in the .map file, it's in the HTML request. If you're
making WMS requests make sure your url contains:
?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0
or if you're using the legacy mapserv requests:
?mode=map
Either of those will prevent mapserv from writing the image file to your
server and pass the image directly back to your app.
On Tue, Mar 18, 2025 at 9:07 AM Rob Dennett via MapServer-users <
mapserver-users at lists.osgeo.org> wrote:
> I am trying to use MapCache to replace the built-in caching mechanism of
> MapServer and when testing, I am seeing the following in the error log:
>
> msSaveImage(): Unable to access file. Failed to create output file
> (/myFolder/AREATYPE1742226286187.png)
>
> I expect that this is because of a permissions issue with the directory,
> but I don't want MapServer to try and save the tile at all. I assume this
> action is controlled or could be overwritten by something in the .map
> file. Is that accurate? If so, what is it?
>
> In WEB, I have the IMAGEPATH and IMAGEURL lines commented out, FYI.
>
> Thanks,
> Rob
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
--
Richard W. Greenwood
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20250318/3ab15de4/attachment.htm>
More information about the MapServer-users
mailing list