1 |
|
2005-04-27 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
Introduce FileShapeStore as generalization for |
4 |
|
file-based shape stores. In a first instance |
5 |
|
this allows additional modules to handle shapefile |
6 |
|
format as well, namely the OGR extension. |
7 |
|
|
8 |
|
* Thuban/Model/data.py: Various small fixes in doc-strings. |
9 |
|
(FileShapeStore): New class. |
10 |
|
(ShapefileStore): Derive from FileShapeStore. |
11 |
|
(ShapefileStore.__init__): Call __init__ of FileShapeStore, |
12 |
|
rename self.table to self._table, initialize self._bbox |
13 |
|
(ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox |
14 |
|
and self.FileName() instead of self.filename. |
15 |
|
(ShapefileStore.Table): Use self._table instead of self.table. |
16 |
|
(ShapefileStore.FileName): Removed (moved to FileShapeStore). |
17 |
|
(ShapefileStore.BoundingBox): Use self._bbox instead of self.bbox. |
18 |
|
|
19 |
|
* Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore. |
20 |
|
(SessionSaver.write_data_containers): Only use methods of the |
21 |
|
base class FileShapeStore. |
22 |
|
|
23 |
2005-04-26 Martin Schulze <[email protected]> |
2005-04-26 Martin Schulze <[email protected]> |
24 |
|
|
25 |
* Extensions/wms/wms.py (render_wms_layer): Adjusted the render |
* Extensions/wms/wms.py (render_wms_layer): Adjusted the render |