18 |
from gdalconst import GA_ReadOnly |
from gdalconst import GA_ReadOnly |
19 |
|
|
20 |
from messages import LAYER_PROJECTION_CHANGED, LAYER_VISIBILITY_CHANGED, \ |
from messages import LAYER_PROJECTION_CHANGED, LAYER_VISIBILITY_CHANGED, \ |
21 |
LAYER_CHANGED |
LAYER_CHANGED, LAYER_SHAPESTORE_REPLACED |
22 |
|
|
23 |
from color import Color |
from color import Color |
24 |
|
|
212 |
and (not table.HasColumn(fieldname) |
and (not table.HasColumn(fieldname) |
213 |
or table.Column(fieldname).type != fieldtype)): |
or table.Column(fieldname).type != fieldtype)): |
214 |
self.SetClassification(None) |
self.SetClassification(None) |
215 |
self.changed(LAYER_CHANGED, self) |
self.changed(LAYER_SHAPESTORE_REPLACED, self) |
216 |
|
|
217 |
def ShapeStore(self): |
def ShapeStore(self): |
218 |
return self.store |
return self.store |