[GRASS-dev] About the vector changes

Glynn Clements glynn at gclements.plus.com
Thu Aug 6 11:31:38 EDT 2009


Vector maps no longer work:

$ v.info fields
ERROR: Spatial index was written with LFS but this GRASS version does not
       support LFS. Try to rebuild topology or upgrade GRASS.

Is this intentional? If so, can existing maps be converted, or do I
need to download new versions?

BTW, spidx_port.off_t_size is 42, so the issue is that the code
expects the new format, not that sizeof(off_t) is wrong.

Also, lib/vector/diglib doesn't actually enable LFS; the Makefile
needs:

ifneq ($(USE_LARGEFILES),)
	EXTRA_CFLAGS = -D_FILE_OFFSET_BITS=64
endif

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list