[MapServer-users] Accessing FlatGeoBuf (.fgb) in S3 bucket?
Patrick Young
patrick.mckendree.young at gmail.com
Sun Aug 28 08:34:17 PDT 2022
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 <public at 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 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220828/16552d5f/attachment.htm>
More information about the MapServer-users
mailing list