[GRASS-user] Problem importing large GeoTiff

Thomas Adams tea3rd at gmail.com
Wed Mar 25 15:29:42 PDT 2015


Micha,

Thank you very much! I don't think the loss of a few pixels will be too bad
— I'll give it a try.

Best,
Tom

On Wed, Mar 25, 2015 at 4:27 PM, Micha Silver <micha at arava.co.il> wrote:

>
>
> On 03/25/2015 10:42 PM, Thomas Adams wrote:
>
>  All:
>
>  I have dowloaded a GeoTiff image file of global impervious surface area
> (%) from http://ngdc.noaa.gov/eog/dmsp/download_global_isa.html:
> 2010 January-June GeoTiff image
> <http://ngdc.noaa.gov/eog/data/isa/EstISA_final.tif.gz>
>
>   It looks like the extent goes slightly beyond +180 deg E and -180 deg W:
>
> micha at MS-Rebecca ~/Downloads $ gdalinfo EstISA_final.tif
> .....
> Corner Coordinates:
> Upper Left  (-180.0041667,  75.0041667) (180d 0'15.00"W, 75d 0'15.00"N)
> Lower Left  (-180.0041667, -65.0041107) (180d 0'15.00"W, 65d 0'14.80"S)
> Upper Right ( 180.0040227,  75.0041667) (180d 0'14.48"E, 75d 0'15.00"N)
> Lower Right ( 180.0040227, -65.0041107) (180d 0'14.48"E, 65d 0'14.80"S)
> ....
>
> Here's what worked for me:
> gdalwarp -te -180 -65 180 75 -tr 0.0083 0.0083 EstISA_final.tif
> estisa_fixed.tif
>
> 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.
>
>
>   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.
>
>  I have tried many different options importing the GeoTiff file, but it
> just will not display. If I use r.info 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…
>
>  Rows: 16801
> Columns: 43201
> Total cells: 725820001
>
>  The data range is correct 0 -- 100
>
>  Any thoughts?
>
>  Best,
> Tom
>
>
>
>
> This mail was received via Mail-SeCure System.
>
>
> _______________________________________________
> grass-user mailing listgrass-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/grass-user
> This mail was received via Mail-SeCure System.
>
>
>
>
>


-- 
Thomas E Adams, III
718 McBurney Drive
Lebanon, OH 45036

1 (513) 739-9512 (cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150325/0cc71c59/attachment.html>


More information about the grass-user mailing list