Ronquillo, Edgar Nahum
2015-07-01 17:58:32 UTC
Hello All,
I am working with Basemap and loading several shapefiles using checkboxes in python. However, when I uncheck a checkbox I would like a shapefile to be removed and stay with the other shapefiles that are already loaded. I tried reloading and replotting the whole thing when I remove a checkbox but it will remove all the other shapefiles as well. In simpler words, is it possible to remove a shapefile from Basemap after m.readshapefile() has been called?
Thanks in advance
I am working with Basemap and loading several shapefiles using checkboxes in python. However, when I uncheck a checkbox I would like a shapefile to be removed and stay with the other shapefiles that are already loaded. I tried reloading and replotting the whole thing when I remove a checkbox but it will remove all the other shapefiles as well. In simpler words, is it possible to remove a shapefile from Basemap after m.readshapefile() has been called?
Thanks in advance