[GRASS-dev] vector libs: file based spatial index

Moritz Lennert mlennert at club.worldonline.be
Fri Jun 26 04:32:18 EDT 2009


On 25/06/09 08:51, Markus GRASS wrote:
> I would suggest that I first implement a new version were the spatial
> index is always written out when a new or modifed vector is closed.
> Intermediate data are still stored in memory. Opening an old vector in
> read-only mode would then be faster, opening an old vector in update
> mode would be the same like currently done, the spatial index is loaded
> to memory. This can then be tested and polished, and once that is
> stable, an env var could be added to keep the spatial index in file when
> modifying (Vect_open_new or Vect_open_update). This would only be needed
> for massive vectors.

+1

Moritz


More information about the grass-dev mailing list