<div dir="ltr"><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">Hi guys,</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt"> </span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">following the discussion <a href="http://thread.gmane.org/gmane.comp.gis.gdal.devel/40628"><font color="#0563c1">http://thread.gmane.org/gmane.comp.gis.gdal.devel/40628</font></a>
I did some tests with a pleiades dataset.</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">First of all,
Astrium’s very own tool (which now vanished from their page) to convert the
pleiades RPC*.XML to _RPC.TXT did not change SAMP_OFF and LINE_OFF according to the 1,1 pixel center convention, so using this _RPC.TXT would probably cause issues in most software.</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt"> </span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">So I wanted to
see how the GDAL pleiades mdreader works and stumbled across some issues:</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">- the pleiades
mdreader is not triggered when opening the dimap file.</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">- when the image
is tiled, the dimap reader only opens the first file but has raster dimensions
of all tiles, so trying to read pixels, where the other tiles should be used,
crashes.</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">- neither a
geotransform nor GCPs are provided when opening the dimap file (unrelated
issue).</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">- when opening
the individual tile tifs the pleiades mdreader is triggered and reads the RPC.
But it provides the same RPCs for all tiles, which means for every tile apart
from the upper left tile the RPCs are not correct.</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt"> </span></p><font color="#000000" face="Times New Roman" size="3">
</font><div style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">I’ve uploaded a
Pleiades sample with tiles (blackened pixels) here:</span></div><div style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt"><a href="https://drive.google.com/file/d/0B_pKTK9WcAW4UnA2LWJpbFE1ZTQ/view?usp=sharing">https://drive.google.com/file/d/0B_pKTK9WcAW4UnA2LWJpbFE1ZTQ/view?usp=sharing</a></span></div><div style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt"> </span></div><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">I think it
would be great if GDAL could load all tiles as mosaic from the dimap (similar
to the DG TIL driver) and would provide the RPCs from the pleiades mdreader for
this mosaic raster. This would avoid using various workarounds.</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt"> </span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">Best Regards,</span></p><font color="#000000" face="Times New Roman" size="3">
</font><p style="margin:0cm 0cm 0pt"><span lang="EN-US" style="color:black;font-family:"Arial","sans-serif";font-size:10pt">Dennis</span></p><font color="#000000" face="Times New Roman" size="3">
</font></div>