<div dir="ltr">Micha,<div><br></div><div>Thank you very much! I don't think the loss of a few pixels will be too bad — I'll give it a try.</div><div><br></div><div>Best,</div><div>Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 25, 2015 at 4:27 PM, Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" bgcolor="#FFFFFF" text="#000000"><span class="">
<br>
<br>
<div>On 03/25/2015 10:42 PM, Thomas Adams
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>All:</div>
<div><br>
</div>
<div>I have dowloaded a GeoTiff image file of global impervious
surface area (%) from <a href="http://ngdc.noaa.gov/eog/dmsp/download_global_isa.html" target="_blank">http://ngdc.noaa.gov/eog/dmsp/download_global_isa.html</a>:</div>
<a href="http://ngdc.noaa.gov/eog/data/isa/EstISA_final.tif.gz" style="color:rgb(0,0,153);font-family:verdana,arial,helvetica,sans-serif;font-size:12px;line-height:20px" target="_blank">2010
January-June GeoTiff image</a>
<div><br clear="all">
</div>
</div>
</blockquote></span>
It looks like the extent goes slightly beyond +180 deg E and -180
deg W:<br>
<br>
micha@MS-Rebecca ~/Downloads $ gdalinfo EstISA_final.tif <br>
.....<br>
Corner Coordinates:<br>
Upper Left (-180.0041667, 75.0041667) (180d 0'15.00"W, 75d
0'15.00"N)<br>
Lower Left (-180.0041667, -65.0041107) (180d 0'15.00"W, 65d
0'14.80"S)<br>
Upper Right ( 180.0040227, 75.0041667) (180d 0'14.48"E, 75d
0'15.00"N)<br>
Lower Right ( 180.0040227, -65.0041107) (180d 0'14.48"E, 65d
0'14.80"S)<br>
....<br>
<br>
Here's what worked for me:<br>
gdalwarp -te -180 -65 180 75 -tr 0.0083 0.0083 EstISA_final.tif
estisa_fixed.tif<br>
<br>
Then I imported the fixed raster, and it displayed OK. This will
shave off a few pixels around the edges. But I don't think there's
any way to avoid that.<br>
<br>
<br>
<blockquote type="cite"><span class="">
<div dir="ltr">
<div>
<div>Using GRASS 7.0 on Ubuntu I'm actually able to import the
file without errors, but it will not display. On my Mac I
can easily display the image in Preview and I can drop the
file into QGIS 2.4 and it also displays fine.</div>
<div><br>
</div>
<div>I have tried many different options importing the GeoTiff
file, but it just will not display. If I use <a href="http://r.info" target="_blank">r.info</a> the
E-W and N-S bounds are correct and the N-S resolution looks
right (0:00:30 deg), but the E-W resolution is very small
(0:00:00.000335 deg); also…</div>
<div><br>
</div>
<div>Rows: 16801</div>
<div>Columns: 43201</div>
<div>Total cells: 725820001</div>
<div><br>
</div>
<div>The data range is correct 0 -- 100</div>
<div><br>
</div>
<div>Any thoughts?</div>
<div><br>
</div>
<div>Best,</div>
<div>Tom</div>
<div><br>
</div>
<br>
<div>
<div><br>
</div>
</div>
</div>
</div>
<br></span>
This mail was received via Mail-SeCure System.<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
grass-user mailing list
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Thomas E Adams, III<div>718 McBurney Drive</div><div>Lebanon, OH 45036</div><div><br></div><div>1 (513) 739-9512 (cell)</div><div><br></div></div>
</div>