I have a seemingly stupid newbie problem: I'm runnig the OS X port of Grass 5.7 and after trying the sample spearfish location everythings seems to be installed ok. In particular I'm able to display the data. In contrast to that I was not able to import or visualize some other data, e.g. some satellite.jpg. Here is what I did according to the manuals:
The d.rast had shown me three files (vesuv.blue, vesuv.gree,vesuv.red), I choosed one of them but the files doesn't show up in the
display! Shure I forgot or overlooked something very simple but what? If I look at the display with the query-by-mouse function but the display seems to be empty ?! :
285.5266223(E) 860.70299501(N)
vesuv.blue in PERMANENT (Null)no data
751.44009983(E) 798.85607321(N)
vesuv.blue in PERMANENT (Null)no data
675.16222962(E) 524.66805324(N)
vesuv.blue in PERMANENT (Null)no data
The image file will require georeferencing info (a world file ) in oreder to be properly imported into the location. If the image is a composite color image (e.g. infrared satellite orthophotos) grass breaks it down into its rgb components. They can be combined into an imagery group for additional manipulation.
UK wrote:
Hi everyone,
I have a seemingly stupid newbie problem: I'm runnig the OS X port of Grass 5.7 and after trying the sample spearfish location everythings seems to be installed ok. In particular I'm able to display the data. In contrast to that I was not able to import or visualize some other data, e.g. some satellite.jpg. Here is what I did according to the manuals:
The d.rast had shown me three files (vesuv.blue, vesuv.gree,vesuv.red), I choosed one of them but the files doesn't show up in the
display! Shure I forgot or overlooked something very simple but what? If I look at the display with the query-by-mouse function but the display seems to be empty ?! :
285.5266223(E) 860.70299501(N)
vesuv.blue in PERMANENT (Null)no data
751.44009983(E) 798.85607321(N)
vesuv.blue in PERMANENT (Null)no data
675.16222962(E) 524.66805324(N)
vesuv.blue in PERMANENT (Null)no data
The easiest in that case is always to let GDAL do the nasty job of creating
the location.
The pb I guess is that in GIMP, the pixels are numbered from bottomleft to
topright, and that in GRASS, from topleft to bottom right (or is it the other
way round?). Anyway
It sounds like you forgot to set your region after you imported the raster (something I always used to screw up). Try
g.region rast=vesuv.blue
d.rast vesuv.blue
Good luck,
Ian
On Aug 5, 2004, at 3:36 AM, UK wrote:
Hi everyone,
I have a seemingly stupid newbie problem: I'm runnig the OS X port of Grass 5.7 and after trying the sample spearfish location everythings seems to be installed ok. In particular I'm able to display the data. In contrast to that I was not able to import or visualize some other data, e.g. some satellite.jpg. Here is what I did according to the manuals:
The d.rast had shown me three files (vesuv.blue, vesuv.gree,vesuv.red), I choosed one of them but the files doesn't show up in the
display! Shure I forgot or overlooked something very simple but what? If I look at the display with the query-by-mouse function but the display seems to be empty ?! :
285.5266223(E) 860.70299501(N)
vesuv.blue in PERMANENT (Null)no data
751.44009983(E) 798.85607321(N)
vesuv.blue in PERMANENT (Null)no data
675.16222962(E) 524.66805324(N)
vesuv.blue in PERMANENT (Null)no data