another little (but important) step forward
decoded the last number in the header of grid_data
this proves that conceptually empty and not-empty boundaries use the same tag with an empty attribute, vertex_index. We can keep this schema for our xml file, but we'd better remember this concept.Code:<v2x x="-10.0" y="-40.0"/><!-- starting point --> <u2>635</u2><!-- starting x cell --> <u2>300</u2><!-- starting y cell --> <i>2097152</i><!-- dimension of cells (2.0) --> <u>50</u><!-- columns --> <u>45</u><!-- rows --> <!-- boundingbox(-10.0,-40.0,90.0,50.0) --> <u>2386</u> <!-- number of traits + number of empty cells --> <u2>0</u2><!-- number of passable regions --> <u2>0</u2><!-- number of listed regions (generally equals to the previous number, but not compulsory) -->