Changes between Version 7 and Version 8 of HowToTestGrass6


Ignore:
Timestamp:
Apr 20, 2008, 5:04:14 AM (16 years ago)
Author:
neteler
Comment:

Normalized Differences Vegetation Index (NDVI) from LANDSAT-TM7

Legend:

Unmodified
Added
Removed
Modified
  • HowToTestGrass6

    v7 v8  
    119119}}}
    120120
    121 Tests: navigate with the puck, interrogate map etc. (ADD MORE)
     121Tests: navigate with the puck, interrogate map, etc. (ADD MORE)
    122122
    123123''Expected result: should not crash at all but show maps as expected''
     
    129129=== Raster algebra ===
    130130
    131  * r.mapcalc
     131Normalized Differences Vegetation Index (NDVI) from LANDSAT-TM7:
     132
     133{{{
     134# set current region/resolution to map:
     135g.region rast=lsat7_2002_40 -p
     136# display metadata:
     137r.info -h lsat7_2002_40
     138# generate NDVI:
     139r.mapcalc "ndvi = 1.0 *  (lsat7_2002_40 - lsat7_2002_30) / (lsat7_2002_40+ lsat7_2002_30)"
     140r.info -r ndvi
     141r.colors ndvi color=ndvi
     142
     143# display 2D:
     144d.mon x0
     145d.rast.leg ndvi
     146d.vect streets_wake
     147# display 3D:
     148nviz elevation col=ndvi vect=streets_wake
     149}}}
     150
     151''Expected results: the NDVI map should be colorized in near natural colors''
    132152
    133153=== Raster statistics ===
     
    142162
    143163 * extract large streets from "streets_wake"
     164
     165=== SQL support ===
     166
     167{{{
     168g.region vect=schools_wake -p
     169d.erase
     170
     171# show all schools in Wake County
     172d.vect schools_wake col=red icon=basic/circle siz=5
     173
     174# show a subset of all elementary schools in Raleigh
     175d.vect schools_wake where="ADDRCITY='Raleigh' and GLEVEL='E'"
     176}}}
    144177
    145178=== Vector statistics ===