Hi Scott,

What does ogrinfo report the name of the layer in "data.fgb" to be? If the
layer isn't named "rm_trace" I think you might see that error. FWIW I've
served from .fgb's in mapserver in both 7.6.4 and 8.

Patrick

On Fri, Aug 26, 2022 at 11:32 AM Scott <pub...@postholer.com> wrote:

> Using mapserver 7.6 or 8rc1 I've never been able to serve .fgb from an
> S3 bucket. Local disk works fine as does ogrinfo on S3 .fgb. COG raster
> data works fine off S3.
>
> Map file configs:
>
> v8rc1:
> CONNECTIONTYPE flatgeobuf
> DATA "/vsis3/bucket/path/data.fgb"
>
> v7.6.4
> CONNECTIONTYPE OGR
> CONNECTION "/vsis3/bucket/path/data.fgb"
> DATA "rm_trace"
>
> v8rc ms_error log:
> [Fri Aug 26 10:24:13 2022].854479 msDrawMap(): Image handling error.
> Failed to draw layer named 'rm_trace'.
>
> v7.6.4 ms_error log
> [Fri Aug 26 10:06:59 2022].388096 msOGRFileOpen(): OGR error. Open
> failed for OGR connection in layer `rm_trace'.  File not found or
> unsupported format. Check server logs.
> [Fri Aug 26 10:06:59 2022].388132 Open failed for OGR connection in
> layer `rm_trace'.
>
>
> --
> www.postholer.com
> _______________________________________________
> 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