<div dir="auto">Thanks Even.<div dir="auto"><br></div><div dir="auto">I will tell them about the missing SRS </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Jan 2024, 13:39 Even Rouault, <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p>Javier,</p>
<p>According to <a href="https://httpwg.org/specs/rfc7233.html#header.range" target="_blank" rel="noreferrer">https://httpwg.org/specs/rfc7233.html#header.range</a> ,
HTTP Range requests only apply to GET requests. So COGs delivered
through POST can indeed only be usable after full download.</p>
<p>BTW, someone should ask CNIG to include GeoTIFF SRS tags. At
least, for file
pnt_sentinel2_2020_invierno_mosaico_islas_canarias_b843_hu28_8bits.tif
which has only ModelTiepointTag and ModelPixelScaleTag geotiff
keys giving the geospatial extent, but no CRS keys.</p>
<p>Even<br>
</p>
<div>Le 02/01/2024 à 13:14, Javier Jimenez
Shaw via gdal-dev a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi</div>
<div><br>
</div>
<div>Does it make any sense to provide COG via HTTP POST method?</div>
<div>If I understand correctly, the "magic" of downloading only
what is needed from the server is done with HTTP Range
requests. But I am not sure if that works in POST method (it
does work in GET method, when enabled ;).<br>
</div>
<div>In case it could work with POST, I do not know how to tell
GDAL or QGIS to use a POST method.</div>
<div><br>
</div>
<div>Why am I asking this? the CNIG (Natial Center of Geographic
Information in Spain) is doing it.</div>
<div><a href="https://centrodedescargas.cnig.es/CentroDescargas/index.jsp" target="_blank" rel="noreferrer">https://centrodedescargas.cnig.es/CentroDescargas/index.jsp</a>
The link is just the starting point. Unfortunately they do not
provide link to the final page where you can download the
files (yes, ugly).<br>
</div>
<div><br>
</div>
<div>So for now I have to download the full file, and do
whatever I want later.</div>
<div><br>
</div>
<div>Thanks</div>
<div>Javier<br>
</div>
<div>
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>.___ ._ ..._ .. . ._. .___ .. __ . _. . __.. ...
.... ._ .__</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank" rel="noreferrer">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote></div>