<div dir="ltr">Thanks, <a class="gmail_plusreply" id="plusReplyChip-0" href="mailto:tim@kartoza.com" tabindex="-1">@tim@kartoza.com</a> <br><div><a href="https://github.com/qgis/QGIS/issues/39478">https://github.com/qgis/QGIS/issues/39478</a><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 19 Oct 2020 at 16:09, Tim Sutton <<a href="mailto:tim@kartoza.com">tim@kartoza.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Confirmed here:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">gdal_translate test_gdal_calc_py_9_1.tif -colorinterp red -of PNG test.png - shows in QGIS</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">gdal_translate test_gdal_calc_py_9_1.tif -colorinterp red -of GTIFF test.tif - doesn't show in QGIS</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Probably best to open a ticket.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Regards</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Tim<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 19, 2020 at 8:25 AM Idan Miara <<a href="mailto:idan@miara.com" target="_blank">idan@miara.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm trying to load in QGIS the attached 24KB simple single byte
raster (for debugging gdal_calc.py)</div><div>It seems that it is valid, it has a non trivial histogram and it loads fine in some picture viewers that I've tried, ms-paint, for instance.</div><div>But when I try to load it in QGIS (3.14 or 2.18) it seems as if the extent is empty.</div><div>I zoom to extent and I see nothing, when I try to click on it with the "Identify features" tool it shows nothing.</div><div>The histogram computed in QGIS also looks fine.</div><div><br></div><div><a href="https://drive.google.com/file/d/1LKcQTsnqfW4Ouiqnd3WpOBtw5EeoIRUl/view?usp=sharing" target="_blank">https://drive.google.com/file/d/1LKcQTsnqfW4Ouiqnd3WpOBtw5EeoIRUl/view?usp=sharing</a></div><div><br></div><div>Please advise,</div><div>Idan</div><div><br></div><div>gdalinfo -hist test_gdal_calc_py_9_1.tif<br><br>Driver: GTiff/GeoTIFF<br>Files: d:\dev\gis\gdal1\autotest\pyscripts\tmp\test_gdal_calc_py_9_1.tif<br>Size is 162, 150<br>Origin = (0.000000000000000,0.000000000000000)<br>Pixel Size = (1.000000000000000,1.000000000000000)<br>Image Structure Metadata:<br> INTERLEAVE=BAND<br>Corner Coordinates:<br>Upper Left ( 0.0000000, 0.0000000)<br>Lower Left ( 0.000, 150.000)<br>Upper Right ( 162.0000000, 0.0000000)<br>Lower Right ( 162.000, 150.000)<br>Center ( 81.0000000, 75.0000000)<br>Band 1 Block=162x50 Type=Byte, ColorInterp=Gray<br>0...10...20...30...40...50...60...70...80...90...100 - done.<br> 256 buckets from -0.5 to 255.5:<br> 16777 819 118 48 4 7 12 76 159 156 120 122 140 111 104 95 88 91 95 81 68 93 66 66 81 57 72 61 70 69 68 59 69 88 60 56 38 69 58 56 55 54 52 62 61 51 51 36 46 43 42 47 52 48 32 50 42 32 44 33 34 39 29 36 20 24 26 26 24 18 35 24 32 34 35 39 44 28 28 29 31 34 30 22 30 18 18 28 28 20 21 19 21 31 17 27 17 19 25 22 19 17 17 11 13 18 16 16 15 17 21 12 7 19 12 17 12 15 21 13 13 17 11 11 13 13 13 15 10 15 15 17 8 11 7 7 9 11 10 8 10 12 11 8 7 5 10 5 5 6 5 9 12 3 6 9 6 8 7 7 11 6 8 9 7 10 1 4 6 6 7 7 4 6 5 6 3 12 6 3 3 6 9 6 3 5 7 8 1 2 2 2 3 4 4 5 3 4 3 2 3 2 3 1 5 5 2 3 3 5 3 4 2 2 2 5 3 5 2 3 4 2 8 5 5 10 3 3 4 3 4 7 2 7 4 9 9 16 18 13 13 7 23 17 20 22 51 77 51 45 37 45 40 56 68 0<br> NoData Value=255<br></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div style="text-align:center">------------------------------------------------------------------------------------------</div><div style="text-align:center"><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small;display:inline"></div><img src="https://mail.google.com/mail/u/0/?ui=2&ik=7ebbf93252&view=fimg&th=15a9e43c0bbf93ca&attid=0.1&disp=emb&realattid=9436e64174762963_0.1.1&attbid=ANGjdJ-WL_J24nvBiYidJ0V0xpdsYqRwswi5nq5oywcJEHC7twYVMrxG0y-GNPu_ahJthV8ktXwYuHoVm5DI2FrRAtPzelTRHrsE2wweR9uu8wT-zz2hNRqFwi4SorQ&sz=s0-l75-ft&ats=1488721675176&rm=15a9e43c0bbf93ca&atsh=1" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;"><br></div><div style="text-align:center">Tim Sutton</div><div style="text-align:center"><span style="text-align:start">Visit </span><a href="http://kartoza.com/" style="text-align:start" target="_blank">http://kartoza.com</a><span style="text-align:start"> to find out about open source:</span><br style="text-align:start"><span style="text-align:start"> * Desktop GIS programming services</span><br style="text-align:start"><span style="text-align:start"> * Geospatial web development</span></div><div style="text-align:center"><span style="text-align:start">* GIS Training</span></div><div style="text-align:center"><span style="text-align:start">* Consulting Services</span></div><div style="text-align:center"><div style="text-align:center">Skype: timlinux Irc: timlinux on #qgis at <a href="http://freenode.net/" target="_blank">freenode.net</a></div><div style="text-align:start"><div style="text-align:center">Tim is a member of the QGIS Project Steering Committee</div><div style="text-align:center">-------------------------------------------------------------------------------------------</div><div style="text-align:center">Kartoza is a merger between Linfiniti and Afrispatial</div></div></div></div></div></div></div>
</blockquote></div>