[GRASS-user] import satellite data in Grass

Moritz Lennert mlennert at club.worldonline.be
Sat Jun 21 08:04:09 EDT 2008


On 20/06/08 15:33, Martina Schaefer wrote:
> What I want to do is the following:
> I have satellite photos from a glacier and we want to get an idea of the 
> distribution of the crevasses over this glacier.
> In a first step we want to assign every 100x100m grid cell of this 
> glacier a value reflecting if there are very little, some, a lot of 
> crevasses. As we don't know for the moment how to do this automatically 
> (perhaps it would be possible to use the color in a next step), the idea 
> was to define this value by "eyeballing". Any ideas how to do this a 
> better way are welcome, too, but I think it's not easy.

> Now the questions is "only" how to handle the grid and my values in 
> Grass ...

You could use v.mkgrid to create a vector grid, add a column for number 
of crevasses with v.db.addcol, then v.digit this grid with background 
command 'd.rast YourSatelliteImage' and use the "Show attributes" 
function of v.digit to add the relevant number to the new column for 
each cell in the grid (you have to click on the centroid of the cell to 
see the attributes).

Moritz


More information about the grass-user mailing list