currently dimension of vector map is stored in three different places (vlib)
Map->plus.spidx_with_z (Plus_head) -> spatial index
That is coming from GRASS 5 and used as a safety check that the
spatial index has the same dimensions like the coordinates. It can
probably be removed.
Map->plus.with_z (Plus_head) -> topology
Needed by diglib, because diglib functions get only Map->plus, not Map itself.
Map->head.with_z (Map_info) -> head
Needed for reading and writing coordinates and if no topology is
available or requested (e.g. v.info, v.surf.*).
> Map->plus.spidx_with_z (Plus_head) -> spatial index
Markus Metz:
That is coming from GRASS 5 and used as a safety check that the
spatial index has the same dimensions like the coordinates.
It can probably be removed.
please don't remove safety checks [if they are still meaningful].
they are there for a (very good) reason.