[MapServer-users] Multiple requests to s3 bucket to the same Tiff after GetMap request
Scott
public at postholer.com
Fri Feb 10 08:37:34 PST 2023
That file appears to be a cloud optimized geotiff. If that's the case
multiple gets is perfectly normal as it's possibly retrieving overviews.
I don't see a server return code, but if it's 206, everything is fine.
Additionally, you can open your dev tools in your browser (Ctrl+Shift+I)
and watch how many bytes each request gets. With COG it should never be
the whole file.
On 2/10/23 08:27, Marcin Niemyjski via MapServer-users wrote:
> Hello,
> I wasn't happy with the time it took for the GetMap request to complete,
> so I decided to check apache's error logs. I realized that S3 Get
> request is performed multiple times and I have no idea why.
>
> Below you can see GET request which appears in log file of one request 5
> times.
>
> [Fri Feb 10 15:49:45.456184 2023] [cgi:error] [pid 1300229] [client
> 127.0.0.1:37842] AH01215: > GET
> /DIAS/Sentinel-1-COG/SAR/GRD-COG/2022/03/01/S1A_IW_GRDH_1SDV_20220301T045236_20220301T045301_042123_0504C2_3E5D_COG.SAFE/measurement/s1a-iw-grd-vh-20220301t045236-20220301t045301-042123-0504c2-002.tiff HTTP/1.1\r: /usr/lib/cgi-bin/mapserv
>
> The way my mapfile gets source raster data:
>
> TileIndex -> VRT -> COG with Ground Control Points (this is caused by GCP)
>
> I would be grateful if you could check full log file ->
> https://pastecode.io/s/xdyuay0f <https://pastecode.io/s/xdyuay0f>
>
> Thanks,
> Marcin
>
>
>
>
> <https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature> Book time to meet with me <https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
>
>
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list