Hi Marcin,

This is not currently possible (fopen is used to read these files [1]), but it 
would be a very nice feature to allow the GDAL virtual filesytems to be used 
for symbols (and maybe also fonts).

Seth

[1] 
https://github.com/MapServer/MapServer/blob/5dbbf8a19abb2f30b4852b72c8661faac14ae4c9/mapimageio.c#L1099

--
web:https://geographika.net
twitter: @geographika

On Thu, Dec 22, 2022, at 12:01 PM, Marcin Niemyjski via MapServer-users wrote:
> Hello,
> 
> is it possible to keep my symbols images on S3 bucket and connect to them via 
> vsis3?
> 
> This way doesn't work:
> 
> SYMBOL 
> NAME "fuel"
> TYPE pixmap
> IMAGE "/vsis3/Cyprus/fuel.png"
> END
> 
> Mapserver returns "msLoadMSRasterBufferFromFile(): General error message. 
> unable to open file /vsis3/Cyprus/fuel.png for reading"
> 
> Best, 
> Marcin
> _______________________________________________
> MapServer-users mailing list
> MapServer-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to