Skip to Content

avec un raster (MNT)

>>> from grass.script import raster as grassr
>>> grassr.raster_info('s_newfrst3@moi')
{'north':
118869.900569, 'timestamp': '"none"', 'min': -456.08587646484398,
'datatype': 'FCELL', 'max': 265.500732421875, 'ewres':
14.008076920000001, 'vertical_datum': '', 'west': 164160.653425,
'units': '', 'title': ' (s_newfrst3)', 'east': 176641.849961, 'nsres':
13.976472729999999, 'south': 112552.534895}
>>> 
# on quitte Python et on se retrouve dans la shell Grass 
GRASS 6.4.0RC5 (geol):~ >