<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Devs,<div>I have been using the v.mkgrid command extensively recently and noticed that the tables of the output differ depending on the grid size. Apart from not having the columns rown and coln, larger grids’ row column counts from bottom to top rather than top to bottom as with smaller grids. I have dug in the code and found the appropriate lines in the main.c:</div><div><br></div><div><br></div><div><br></div><div><br><font face="PT Mono">447<span class="Apple-tab-span" style="white-space: pre;">   </span>                    if (grid_info.num_rows < 27 && grid_info.num_cols < 27) {<br>448<span class="Apple-tab-span" style="white-space: pre;">   </span>                        sprintf(buf, "( %d, %d, %d, '%c', '%c' )",<br>449<span class="Apple-tab-span" style="white-space: pre;">        </span>                              attCount + 1, grid_info.num_rows - i,<br>450<span class="Apple-tab-span" style="white-space: pre;">      </span>                              j + 1, 'A' + grid_info.num_rows - i - 1, 'A' + j);<br>451<span class="Apple-tab-span" style="white-space: pre;">      </span>                    }<br>452<span class="Apple-tab-span" style="white-space: pre;"> </span>                    else {<br>453<span class="Apple-tab-span" style="white-space: pre;">       </span>                        sprintf(buf, "( %d, %d, %d )",<br>454<span class="Apple-tab-span" style="white-space: pre;">    </span>                                attCount + 1, i + 1, j + 1);</font></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Has this a good reason or is this a bug? I guess inconsistent output is undesirable here.</div><div>Best,</div><div>Michel</div></body></html>