<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:small">Hi Philippe,</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:small">It works for me:</div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace,monospace">>>> from osgeo import gdal</span></div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace,monospace">
<div class="gmail_default" style="font-size:small"><span style="font-family:monospace,monospace">>>> gdal.VersionInfo()<br>'2020100'</span></div>
>>> ds = gdal.Open(r"E:\16MAR08101212-M1BS-055675519010_01_P001.TIF")<br>>>> ds<br><osgeo.gdal.Dataset; proxy of <Swig Object of type 'GDALDatasetShadow *' at 0x00000000010A6CC0> ><br>>>> ds.GetProjectionRef()<br>'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433],AUTHORITY["EPSG","4326"]]'</span></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:small"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:small">From gdalinfo:</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:small"><span style="font-family:monospace,monospace">E:\>gdalinfo E:\16MAR08101212-M1BS-055675519010_01_P001.TIF<br>Driver: GTiff/GeoTIFF<br>Files: E:\16MAR08101212-M1BS-055675519010_01_P001.TIF<br>Size is 6616, 6903<br>Coordinate System is `'<br>GCP Projection =<br>GEOGCS["WGS 84",<br> DATUM["WGS_1984",<br> SPHEROID["WGS 84",6378137,298.257223563,<br> AUTHORITY["EPSG","7030"]],<br> AUTHORITY["EPSG","6326"]],<br> PRIMEM["Greenwich",0],<br> UNIT["degree",0.0174532925199433],<br> AUTHORITY["EPSG","4326"]]<br>GCP[ 0]: Id=1, Info=<br> (0.5,0.5) -> (13.1567807900763,32.9252312619272,0)<br>GCP[ 1]: Id=2, Info=<br> (6615.5,0.5) -> (13.2984103237501,32.9244584648933,0)<br>GCP[ 2]: Id=3, Info=<br> (6615.5,6902.5) -> (13.2983785314726,32.7993021397123,0)<br>GCP[ 3]: Id=4, Info=<br> (0.5,6902.5) -> (13.1568844718844,32.8000571640568,0)<br>Metadata:<br> AREA_OR_POINT=Area<br> TIFFTAG_COPYRIGHT=(C) COPYRIGHT 2016 DigitalGlobe, Inc., Longmont CO USA 80503<br> TIFFTAG_DATETIME=2016:09:02 06:26:36<br> TIFFTAG_IMAGEDESCRIPTION={<br> bandList =<br> [<br> 2;<br> 3;<br> 4;<br> 5;<br> ]<br>}<br> TIFFTAG_MAXSAMPLEVALUE=2047<br> TIFFTAG_MINSAMPLEVALUE=1<br>Image Structure Metadata:<br> INTERLEAVE=BAND<br>Corner Coordinates:<br>Upper Left ( 0.0, 0.0)<br>Lower Left ( 0.0, 6903.0)<br>Upper Right ( 6616.0, 0.0)<br>Lower Right ( 6616.0, 6903.0)<br>Center ( 3308.0, 3451.5)<br>Band 1 Block=6616x79 Type=UInt16, ColorInterp=Red<br>Band 2 Block=6616x79 Type=UInt16, ColorInterp=Green<br>Band 3 Block=6616x79 Type=UInt16, ColorInterp=Blue<br>Band 4 Block=6616x79 Type=UInt16, ColorInterp=Undefined</span><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 25, 2018 at 11:59 AM, <span dir="ltr"><<a href="mailto:mauge.philippe@free.fr" target="_blank">mauge.philippe@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri';COLOR:#000000">
<div>Please, I'd like to submit you an isssue about a geotiff file.</div>
<div>Go to the web site <a href="http://www.digitalglobe.com/resources/product-samples/tripoli-lybya" target="_blank">http://www.digitalglobe.com/<wbr>resources/product-samples/<wbr>tripoli-lybya</a></div>
<div>Choose to download the second file: System-Ready (1B), 50 cm</div>
<div>Unzip it and try to load the file
16MAR08101212-P1BS-<wbr>055675519010_01_P001.TIF in GDAL</div>
<div>I can't load it in GDAL because no projection is returned by the fonction
GetProjectionRef()</div>
<div>It can be loaded only if you create manually a .prj and a .tfw file.</div>
<div>The file is OK because it is correctly loaded in Global Mapper.</div>
<div>Usually I can load geotiff files in GDAL, but this file won't.</div>
<div>Can you try to load it and may be tell me what's wrong with it ?</div>
<div> </div>
<div>Best regards</div>
<div>Philippe</div></div></div><div id="m_117792916060688249DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
<tbody><tr>
<td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" style="width:46px;height:29px" width="46" height="29"></a></td>
<td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Garanti sans virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" style="color:#4453ea" target="_blank">www.avast.com</a> </td>
</tr>
</tbody></table>
<a href="#m_117792916060688249_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></div>
<br>______________________________<wbr>_________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><i><font color="#999999" face="georgia, serif">The right coordinate system can turn an impossible problem into two really hard problems. -- Charlie Pellerin</font></i><div><i><font color="#999999"><br></font></i><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font color="#999999">Thomas Juntunen</font></span><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font color="#999999">GIS Specialist</font></span></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><font color="#999999">Polar Geospatial Center<br>R280 Learning and Environmental Science<br>1954 Buford Ave<br>University of Minnesota<br>St. Paul, MN 55108<br><a>612-626-0505</a></font></span></div></div></div></div>
</div>