1 |
|
2004-02-19 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Extensions/svgexport/svgsaver.py, |
4 |
|
Extensions/svgexport/svgmapwriter.py, |
5 |
|
Extensions/svgexport/maplegend.py: Added again. This time in the |
6 |
|
correct place. |
7 |
|
|
8 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
Fix for RT#2245 |
11 |
|
|
12 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): Initialize |
13 |
|
instance variables before trying to create any windows. Creating |
14 |
|
windows can start an event loop if e.g. message boxes are popped |
15 |
|
up for some reason, and event handlers, especially EVT_UPDATE_UI |
16 |
|
may want to access things from the application. |
17 |
|
(ThubanApplication.maps_changed): The mainwindow may not have been |
18 |
|
created yet, so check whether it has been created before calling |
19 |
|
its methods |
20 |
|
|
21 |
|
* Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we |
22 |
|
have a map |
23 |
|
|
24 |
|
2004-02-17 Bernhard Herzog <[email protected]> |
25 |
|
|
26 |
|
* test/test_svgmapwriter.py, Extensions/svgsaver.py, |
27 |
|
Extensions/svgmapwriter.py, Extensions/maplegend.py, |
28 |
|
extensions/svgexport/svgsaver.py, |
29 |
|
extensions/svgexport/svgmapwriter.py, |
30 |
|
extensions/svgexport/maplegend.py: Removed. These files were in |
31 |
|
the wrong places or didn't work at all. |
32 |
|
|
33 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
34 |
|
|
35 |
|
* Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added |
36 |
|
line |
37 |
|
|
38 |
|
2004-02-16 Bernhard Herzog <[email protected]> |
39 |
|
|
40 |
|
* Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError. |
41 |
|
|
42 |
|
2004-02-15 Markus Rechtien <[email protected]> |
43 |
|
|
44 |
|
* Extensions/svgexport/svgmapwriter.py: New. Adds the capability |
45 |
|
to write a session to a file in SVG format. |
46 |
|
* Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py |
47 |
|
to write a SVG map of a session. |
48 |
|
* Extensions/svgexport/maplegend: New. Writes a basic maplegend |
49 |
|
in SVG format for the current session. |
50 |
|
|
51 |
|
2004-02-13 Bernhard Herzog <[email protected]> |
52 |
|
|
53 |
|
* Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer |
54 |
|
can't be created, return immediately after displaying the error |
55 |
|
message. |
56 |
|
|
57 |
|
2004-02-11 Bernhard Herzog <[email protected]> |
58 |
|
|
59 |
|
Handle postgis tables with more than one geometry column. |
60 |
|
|
61 |
|
* Thuban/Model/postgisdb.py |
62 |
|
(PostGISTable._fetch_table_information): Delegate the creation of |
63 |
|
column objects to a different method so that we can extend that in |
64 |
|
derived classes |
65 |
|
(PostGISTable._create_col_from_description): New. Column object |
66 |
|
creation part of _fetch_table_information |
67 |
|
(PostGISShapeStore._create_col_from_description): New. Extend |
68 |
|
inherited method to handle geometry columns |
69 |
|
(PostGISShapeStore.__init__): New parameter geometry_column to |
70 |
|
specify which geometry column to use. Optional but mandatory for |
71 |
|
tables with more than one geometry column |
72 |
|
(PostGISShapeStore._fetch_table_information): Also use the name of |
73 |
|
the geometry column when looking for the srid |
74 |
|
(PostGISShapeStore.ShapeType): Also use the name of the geometry |
75 |
|
column when looking for the shape type |
76 |
|
|
77 |
|
* test/test_save.py (SaveSessionTest.test_save_postgis): Adapt |
78 |
|
NonConnectionStore to changes in the PostGISShapeStore |
79 |
|
|
80 |
|
* test/test_postgis_db.py |
81 |
|
(TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test |
82 |
|
PostGISShapeStore with tables having two geometry columns. |
83 |
|
|
84 |
|
2004-02-10 Bernhard Herzog <[email protected]> |
85 |
|
|
86 |
|
Fix some postgis problems. What remains to be done is real |
87 |
|
handling of SRIDs as they affect how reprojection is done |
88 |
|
|
89 |
|
* Thuban/Model/postgisdb.py (quote_identifier): Fix typo in |
90 |
|
doc-string |
91 |
|
(PostGISShapeStore._fetch_table_information): New. Extend |
92 |
|
inherited method to retrieve srid |
93 |
|
(PostGISShapeStore.BoundingBox): Handle tables without data. |
94 |
|
extent yields NULL for those |
95 |
|
(PostGISShapeStore.ShapesInRegion): Use the srid of the table. |
96 |
|
|
97 |
|
* test/test_postgis_db.py |
98 |
|
(TestPostGISSpecialCases.test_shapestore_empty_table): New test |
99 |
|
for the special case of a table without any data |
100 |
|
(TestPostGISShapestorePointSRID): New class with tests for a table |
101 |
|
that uses srids |
102 |
|
(PolygonTests): Fix a doc-string typo |
103 |
|
|
104 |
|
* test/postgissupport.py (PostGISDatabase.__init__): New parameter |
105 |
|
reference_systems with a specification of spacial reference |
106 |
|
systems to create in the new db. |
107 |
|
(PostgreSQLServer.new_postgis_db) |
108 |
|
(PostgreSQLServer.get_static_data_db): New parameter |
109 |
|
reference_systems to be passed through ultimately to |
110 |
|
PostGISDatabase. In new_postgis_db also check whether an existing |
111 |
|
db already has the right srids |
112 |
|
(PostgreSQLServer.get_default_static_data_db): Add srids and a |
113 |
|
table that uses srids |
114 |
|
(PostGISDatabase.initdb): Create the entries for the reference |
115 |
|
systems |
116 |
|
(PostGISDatabase.has_data): Add reference_systems parameter to |
117 |
|
check for those too |
118 |
|
(upload_shapefile): New parameter srid to create tables with a |
119 |
|
specific srid |
120 |
|
|
121 |
|
2004-02-06 Frank Koormann <[email protected]> |
122 |
|
|
123 |
|
* po/pt_BR.po: Fixed charset |
124 |
|
|
125 |
|
2004-02-05 Frank Koormann <[email protected]> |
126 |
|
|
127 |
|
* po/pt_BR.po: Fixed format string for error message, missing %s |
128 |
|
added (Thuban/UI/application.py:273) |
129 |
|
|
130 |
|
2004-02-03 Frank Koormann <[email protected]> |
131 |
|
|
132 |
|
First version of Portuguese (Brazilian) translation |
133 |
|
|
134 |
|
* po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for |
135 |
|
Brazilian Portuguese by Eduardo Patto Kanegae. |
136 |
|
|
137 |
|
* Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of |
138 |
|
translators. |
139 |
|
|
140 |
|
|
141 |
|
2004-01-22 Frank Koormann <[email protected]> |
142 |
|
|
143 |
|
* Doc/manual/thuban-manual.xml: Added section on installation of |
144 |
|
Thuban under Win32 systems. Fixed image path references in the postgis |
145 |
|
section. Some minor source formattings. |
146 |
|
|
147 |
|
2004-01-21 Frank Koormann <[email protected]> |
148 |
|
|
149 |
|
Make Thuban remember path selections (at least for one application run). |
150 |
|
|
151 |
|
* Thuban/UI/application.py (Application.OnInit): Initialize path as a |
152 |
|
attribute of application object. Path is a dictionary of |
153 |
|
strings, currently with the items "data" and "projection". |
154 |
|
(Application.SetPath): New, stores path for the specified item. |
155 |
|
(Application.Path): New, return path for the specified item. |
156 |
|
|
157 |
|
* Thuban/UI/mainwindow.py |
158 |
|
(MainWindow.OpenSession, MainWindow.SaveSessionAs, |
159 |
|
MainWindow.AddLayer, MainWindow.AddRasterLayer, |
160 |
|
MainWindow.TableOpen): Access "data" path information of the |
161 |
|
application. |
162 |
|
|
163 |
|
* Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport): |
164 |
|
Access "projection" path information of the application. |
165 |
|
|
166 |
|
2004-01-05 Bernhard Herzog <[email protected]> |
167 |
|
|
168 |
|
* po/ru.po: Updated translations from Alex Shevlakov |
169 |
|
|
170 |
2004-01-05 Bernhard Herzog <[email protected]> |
2004-01-05 Bernhard Herzog <[email protected]> |
171 |
|
|
172 |
* po/Makefile, po/README: Move the description of how to generate |
* po/Makefile, po/README: Move the description of how to generate |