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]> |
24 |
|
|
25 |
|
* Extensions/wms/wms.py (render_wms_layer): Adjusted the render |
26 |
|
function to the modified render engine |
27 |
|
|
28 |
|
2005-04-25 Martin Schulze <[email protected]> |
29 |
|
|
30 |
|
* Thuban/UI/renderer.py (MapRenderer.projected_raster_layer): |
31 |
|
Added a description according to the CVS log message |
32 |
|
|
33 |
|
2005-04-23 Martin Schulze <[email protected]> |
34 |
|
|
35 |
|
* Thuban/UI/renderer.py: Added a missing import |
36 |
|
|
37 |
|
2005-04-23 Russell Nelson <[email protected]> |
38 |
|
|
39 |
|
* Changed the way the previous tool is remembered, so that |
40 |
|
middle-button panning works even if you haven't selected a tool. |
41 |
|
|
42 |
|
2005-04-11 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* libraries/thuban/wxproj.cpp: Move the compatibility code that |
45 |
|
deals with the wxPython 2.4 version of wxPython.h into the #ifdef |
46 |
|
branch that includes wxPython.h because it's only needed when |
47 |
|
wxPython.h is used. Also, it won't compile when |
48 |
|
USE_WX_PYTHON_SWIG_HACK is set otherwise. |
49 |
|
|
50 |
|
2005-04-07 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID. |
53 |
|
(ID_CLASS_TABLE): Removed. It wasn't used anywhere except in |
54 |
|
ClassGrid.__init__ and it's value is outside of the valid |
55 |
|
range (must be < 32768). wxPython 2.5 complains about it with an |
56 |
|
exception. |
57 |
|
|
58 |
|
2005-04-05 Jan-Oliver Wagner <[email protected]> |
59 |
|
|
60 |
|
* Doc/manual/thuban-manual-de.xml: More translations. |
61 |
|
|
62 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
63 |
|
|
64 |
|
* libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from |
65 |
|
wxPython 2.4 as well. Also, remove a now obsolete comment. |
66 |
|
|
67 |
|
2005-04-05 Bernhard Herzog <[email protected]> |
68 |
|
|
69 |
|
Use wxPython.h by default but provide a workaround when it isn't |
70 |
|
available. |
71 |
|
|
72 |
|
* setup.py (wxproj_extension): New variable. Assign the Extension |
73 |
|
instance for Lib.wxproj to this variable instead of putting it |
74 |
|
directly into the listso that it can be accessed by other code |
75 |
|
later. |
76 |
|
(thuban_build_ext.user_options): Added boolean option |
77 |
|
--use-wx-python-swig-hack. |
78 |
|
(thuban_build_ext.initialize_options): Initialize the new option |
79 |
|
to False. |
80 |
|
(thuban_build_ext.finalize_options): If the new option was given, |
81 |
|
define the preprocesser macro USE_WX_PYTHON_SWIG_HACK. |
82 |
|
(thuban_build_ext): Update the doc-string |
83 |
|
|
84 |
|
* libraries/thuban/wxproj.cpp: Normally we use |
85 |
|
wx/wxPython/wxPython.h now. Only if USE_WX_PYTHON_SWIG_HACK is |
86 |
|
defined, use swigPtrConvertHack.h instead. |
87 |
|
|
88 |
|
* libraries/thuban/swigPtrConvertHack.h: Remove the code that was |
89 |
|
copied over from wxPython.h. |
90 |
|
(decode_pointer_new): New. Equivalent of decode_pointer for |
91 |
|
wxPython 2.5. |
92 |
|
(wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well. |
93 |
|
|
94 |
|
* README: Add section on potential build problems which explains |
95 |
|
how the work-around for a missing wxPython.h is activated. |
96 |
|
|
97 |
2005-03-29 Bernhard Herzog <[email protected]> |
2005-03-29 Bernhard Herzog <[email protected]> |
98 |
|
|
99 |
* test/postgissupport.py (find_postgis_sql): Added yet another |
* test/postgissupport.py (find_postgis_sql): Added yet another |