Geography Reference
In-Depth Information
Using gdalinfo on the new world_mosaic.tif yields the following:
GRASS 6.2.2 (world_lat_lon):~/desktop_gis_data > gdalinfo -nomd world_mosaic.tif
Driver: GTiff/GeoTIFF
Size is 8192, 4096
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.2572235629972,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-180.000000,90.000000)
Pixel Size = (0.04394531,-0.04394531)
Corner Coordinates:
Upper Left (-180.0000000, 90.0000000) (180d 0'0.00"W, 90d 0'0.00"N)
Lower Left (-180.0000000, -90.0000000) (180d 0'0.00"W, 90d 0'0.00"S)
Upper Right ( 180.0000000, 90.0000000) (180d 0'0.00"E, 90d 0'0.00"N)
Lower Right ( 180.0000000, -90.0000000) (180d 0'0.00"E, 90d 0'0.00"S)
Center
(
0.0000000,
0.0000000) (
0d 0'0.01"E,
0d 0'0.01"N)
Band 1 Block=8192x1 Type=Byte, ColorInterp=Red
Band 2 Block=8192x1 Type=Byte, ColorInterp=Green
Band 3 Block=8192x1 Type=Byte, ColorInterp=Blue
Band 4 Block=8192x1 Type=Byte, ColorInterp=Alpha
GRASS 6.2.2 (world_lat_lon):~/desktop_gis_data >
The important things to note in the output of gdalinfo are as follows:
• The coordinate system WGS84 has been assigned and encoded in
the file.
• The pixel size hasn't changed.
• The bounding coordinates are now correct.
At last we can import the image into GRASS. Now that the image has
been tortured into submission, we don't have to supply any flags to the
r.in.gdal command:
GRASS 6.2.2 (world_lat_lon):~/desktop_gis_data > r.in.gdal \
input=./world_mosaic.tif output=world_mosaic
A datum name wgs84 (WGS_1984) was specified without transformation parameters.
Note that the GRASS default for wgs84 is towgs84=0.000,0.000,0.000.
Projection of input dataset and current location appear to match.
Proceeding with import...
...
r.in.gdal complete.
GRASS 6.2.2 (world_lat_lon):~/desktop_gis_data >
 
Search WWH ::




Custom Search