beiko-lab / gengis

GenGIS (pronounced 'Genghis' like Genghis Khan) is a bioinformatics application that allows users to combine digital map data with information about biological sequences collected from the environment. GenGIS provides a 3D graphical interface in which the user can navigate and explore the data, as well as a Python interface that allows easy scripting of statistical analyses using the Rpy libraries.
GNU General Public License v3.0
27 stars 13 forks source link

Vector deletion in a raster-free session #13

Closed rbeiko closed 11 years ago

rbeiko commented 11 years ago

When running a session with no raster, vector files can be added and deleted at will. However, deleting the only remaining vector file will also trigger the deletion of location and other data. This is fine, but the user should be warned that this is about to happen.

szangooei commented 11 years ago

I can do this. I was under the impression that vector files should be implemented in the same way as raster files. For raster files when we delete the map all data (locations, sequences, trees) is also deleted without any warning.

rbeiko commented 11 years ago

There is a warning that comes up when you try to delete the raster file:

(Warning) By removing the raster file all other layers will be removed. Are you sure you want to remove this layer?

Something similar for last vector would be good.

szangooei commented 11 years ago

I added this warning in the case that some vector files are added on top of a raster file. My above comment was about the case that there is no vector file in the system (just a raster file and some other data).