<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;">my code is this:<br>inrast = []<br>inrast = grass.G_allocate_cell_buf()<br>grass.G_get_raster_row(infd,
inrast[0], 0, self.data_type) <br><br>and print inrast[0] gives me<br>Swig
Object of type 'int *' at 0x972d560><br>inrast is a list of integer
arrays<br>how can i access each element of inrast[0]<br>What i need to
read element using inrast[0][0], inrast[0][1], inrast[0][2]. etc..<br>Is
this possible. If yes what should I do to achieve this ?<br><br>Do I need to write a swig interface if inrast[0] is swig Object of type int* and inrast[0][0] is of type int?<br><div> </div>--<br> Rashad<div><br></div>
</div><br>
</body></html>