[GRASS-dev] Map_info with_z

Markus Metz markus.metz.giswork at googlemail.com
Sat Jan 21 09:35:29 EST 2012

Martin Landa wrote:
> Hi all,
> 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.*).

Markus M

More information about the grass-dev mailing list