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

It looks like the extent goes slightly beyond +180 deg E and -180 deg W:

micha@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 list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user
This mail was received via Mail-SeCure System.



_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to