<div dir="ltr">Even,<div><br></div><div>furthermore subswaths typically have different pixel and line sizes.</div><div><br></div><div>But the subswath level is easy bit of Sentinel-1 data, the real fun starts as you note that every individual tiff file is a collection of actual image segments (the bursts) interleaved with black stripes. The image segments actually overlaps by a small amount. As far as I can tell the current driver doesn't make any effort to recompose the swath image.</div><div><br></div><div>As a matter of fact I'm not even sure what strategy can be used to make the Sentinel-1 data fit into the normal GDAL data model. Maybe treating bursts as image tiles?</div><div><br></div><div>Cheers,</div><div>Alessandro</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 13 May 2016 at 15:54 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"><br>
> This is obviously wrong, since pixels in each swath correspond to<br>
> different observed ground points. In other word, there is no meaning in<br>
> stacking the response of pixel (0,0) of swath one with pixel (0,0) of<br>
> swath two, since they do not observe the same target landscape.<br>
><br>
> I think the best would be to report at least the different swath as<br>
> subdatasets (as done in S2 driver). For the sake of simplicity,<br>
> polarisations too could be exposed as subdatasets.<br>
<br>
Julien,<br>
<br>
Looking quickly at the driver and with the observations you made, your<br>
suggestions make sense to me. The swaths should defintely be in separate<br>
subdatasets, and the GCP fetched from the appropriate annotation file. Whether<br>
polarisations of the same swath are in different subdatasets is a matter of<br>
taste (looking quickly in the code base I see the CPG driver also puts the<br>
polarizations as different bands of the same dataset). Perhaps Delfim has some<br>
comments?<br>
<br>
Even<br>
<br>
--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div><div dir="ltr">-- <br></div><div dir="ltr"><span style="line-height:19.5px">Alessandro Amici <</span><a href="mailto:a.amici@bopen.eu" style="line-height:19.5px">a.amici@bopen.eu</a><span style="line-height:19.5px">></span><br style="line-height:19.5px"><span style="line-height:19.5px">CTO at B-Open Solutions - </span><a href="http://www.bopen.eu/" rel="noreferrer" style="line-height:19.5px">http://www.bopen.eu/</a><br style="line-height:19.5px"><span style="line-height:19.5px">Viale Palmiro Togliatti, 1639 - 00155 Roma - tel: +39 06 8370 8269</span><br></div>