Even with the .fgb and LAYER having the same layer name it doesn't work
FROM S3.
It works fine even with different names IF the .fgb is on local disk
relative to the web server. It doesn't work if the .fgb is in an AWS S3
bucket. (note the vsis3 url). ogrinfo to the vsis3 url works fine.
Raster data on S3 works fine.
Having .fgb accessible from object storage is kinda the whole point of
the .fgb file format.
Thank for the suggestion!
On 8/28/22 08:34, Patrick Young wrote:
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
<mailto: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 <http://www.postholer.com>
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org <mailto:MapServer-users@lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-users
<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