<div dir="ltr"><div>Hi Scott,</div><div><br></div><div>The OGR method should work but it might be confusing about naming of file vs specified in DATA. Does it work if you omit the DATA parameter or set it to the same name as the file name (possibly without extension)?</div><div><br></div><div>The new native FlatGeobuf driver ("CONNECTIONTYPE flatgeobuf") only supports local file access. While it could possibly be extended to support access via HTTP/HTTPS that would be non-trivial work and I'm not sure it's worth it because the overhead of going through OGR is likely insignificant when you have network I/O involved.</div><div><br></div><div>PS. I don't quite agree that it's the whole point of the format. :)</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den tis 30 aug. 2022 kl 16:49 skrev Scott <<a href="mailto:public@postholer.com">public@postholer.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Using mapserver 7.6 or 8rc1 I've been unable to serve .fgb from an S3 <br>
bucket. Local disk works fine as does ogrinfo on S3 .fgb. COG raster <br>
data works fine off S3.<br>
<br>
Accessing .fgb from cloud storage seems to be the whole point of the <br>
.fgb format. So, I'm very curious if I'm doing something wrong or is it <br>
by design.<br>
<br>
<br>
Map file configs:<br>
<br>
v8rc1:<br>
CONNECTIONTYPE flatgeobuf<br>
DATA "/vsis3/bucket/path/data.fgb"<br>
<br>
v7.6.4<br>
CONNECTIONTYPE OGR<br>
CONNECTION "/vsis3/bucket/path/data.fgb"<br>
DATA "rm_trace"<br>
<br>
v8rc ms_error log:<br>
[Fri Aug 26 10:24:13 2022].854479 msDrawMap(): Image handling error. <br>
Failed to draw layer named 'rm_trace'.<br>
<br>
v7.6.4 ms_error log<br>
[Fri Aug 26 10:06:59 2022].388096 msOGRFileOpen(): OGR error. Open <br>
failed for OGR connection in layer `rm_trace'.  File not found or <br>
unsupported format. Check server logs.<br>
[Fri Aug 26 10:06:59 2022].388132 Open failed for OGR connection in <br>
layer `rm_trace'.<br>
<br>
-- <br>
<a href="http://www.postholer.com" rel="noreferrer" target="_blank">www.postholer.com</a><br>
_______________________________________________<br>
MapServer-dev mailing list<br>
<a href="mailto:MapServer-dev@lists.osgeo.org" target="_blank">MapServer-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote></div></div>