When a FeatureStore begins editing, a SpatialManager is created to handle Feature changes, and itself adds an index to the store. By the other way, the vectorial layer has a SpatialCache object which is enabled on edition, and where all drawn geometries are store while drawing the layer in edition mode. Also the editing utilities add there new geometries. The SpatialCache is used by, at least, the snappers. Then, the DAL index created by the SpatialManager when editing begins is redundant, so it must be disabled and leave it as an option for the user to create an index through the layer properties. Now it is a checkbox, it would be useful in the future to change it to allow the user to select the index type. In the future it would be useful to move all the spatial index support to the geometries library, so all services (SpatialCache, FeatureIndex, ...) were based on that support.
|Version||gvSIG - 2.0.0|
|SubprojectVersion||gvSIG - 2.0.0|