1 |
2002-05-15 Bernhard Herzog <[email protected]> |
2002-05-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None |
4 |
|
when the shapefile is empty. |
5 |
|
(Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may |
6 |
|
now return None for empty shapefiles. Update doc-strings. |
7 |
|
|
8 |
|
* Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with |
9 |
|
the layer's bbox being None. |
10 |
|
|
11 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the |
12 |
|
layer's bbox being None. |
13 |
|
|
14 |
* Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when |
* Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when |
15 |
necessary. |
necessary. |
16 |
(MapCanvas.__init__): New instance variables, last_selected_layer |
(MapCanvas.__init__): New instance variables, last_selected_layer |