/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2217 by jan, Tue May 18 21:10:33 2004 UTC revision 2315 by jan, Sun Aug 1 21:32:07 2004 UTC
# Line 1  Line 1 
1    2004-08-01  Jan-Oliver Wagner <[email protected]>
2    
3            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
4            translation completed.
5    
6            * Doc/manual/thuban-manual.xml (Chapter Session Management):
7            Fixed unprecise description for Save Session.
8    
9    2004-07-31  Jan-Oliver Wagner <[email protected]>
10    
11            Started translation of Users Manual into german.
12    
13            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
14    
15            * Doc/manual/Makefile: Added build instructions for german
16            users manual.
17    
18            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
19    
20    2004-07-28  Jan Sch�ngel  <[email protected]>
21    
22            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
23            functions. Now all metadata will handle by the function and its not
24            needed to initialize it from outside. Therefor the associated mapobj
25            will be stored in the Metadata Object. So we can use the special
26            functions from the associated mapobj to get the Metadata.
27            Therefor all initialization code for the metadata is removed from the
28            other classes.
29            (MF_Layer): Added a function to get the metadata object.
30            (MF_Map): Added a function to set the mappath, the path where
31            the mapfile ist stored.
32    
33            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
34            to set the extent in the mapfile. Now the code is set by the displayed
35            data in the Thuban-view.
36            (export_mapfile): The shapepath is now set empty, until relative
37            pathnames are supported.
38    
39            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
40            metadata. Yet only mapfile metadata are supported. Layer and class
41            supported are not implemented.
42            Added a dialog to handle layer informations. The dialog only shows the
43            selected layer at the moment.
44    
45            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
46            code for setting the extent in thuban. Now the extent is set to the
47            given extent from the mapfile.
48            Fixed a logical mistake. Now the extent is set when realy a layer is
49            loaded, and not if one is selected to load.
50    
51            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
52            move the shown map in the browser.
53    
54            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
55            line to the mapobj and added metadata to the political layer.
56    
57            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
58            for Metadata.
59    
60    2004-07-26  Martin Schulze  <[email protected]>
61    
62            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
63            ClassMapper
64    
65            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
66            case for the new ClassMapper
67    
68    
69    2004-07-22  Bernhard Herzog  <[email protected]>
70    
71            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
72            visible extent of the map in projected coordinates
73    
74            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
75            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
76            tests.
77            (SimpleViewPortTest.test_visible_extent): New. The real test for
78            VisibleExtent()
79    
80    2004-07-22  Bernhard Herzog  <[email protected]>
81    
82            * test/test_viewport.py: Use support.run_tests as the main
83            function when running asa script.
84    
85    2004-07-22  Jan Sch�ngel <[email protected]>
86    
87            * Extensions/umn_mapserver/mf_export.py: Added "import os"
88            Removed the old "import Thuban.UI.mainwindow" code.
89            (tbextent_to_map): Removed the extra function and at the code direct
90            to "thuban_to_map" function.
91            (write_creatorcomment): Added. Now a short comment is added to the
92            beginning of an generated mapfile.
93            (export_mapfile): Now the Path and filename are saved in to variables,
94            and not together in one variable. This is needed for the new
95            write_creatorcomment function.
96                    
97            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
98            import module "re". Also added Range and the ClassGroupRange import
99            from Thuban. Both are needed for the new range expression import.
100            (create_rangeexpression): Added. Creates a Range Expression in Thuban
101            style from a given mapfile expression.
102            (added_rasterlayer): Make some small code changes. The shapepath is
103            now stored in an extra variable and the clazz_name is set empty if no
104            class name set in the mapfile.
105            Changed the Error message for Range Expressions, becaus the new
106            function create a error string which will be shown in the dialog.
107    
108            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
109            range expression import.
110    
111    2004-07-21  Jan-Oliver Wagner <[email protected]>
112    
113            * Extensions/umn_mapserver/README: Added hint that
114            installation as root can be avoided. Removed all tabs.
115    
116    2004-07-16  Bernhard Herzog  <[email protected]>
117    
118            * test/test_viewport.py
119            (ViewPortTest.test_changing_map_projection): Check that changing
120            the projection of an empty map shown in a viewport doesn't lead to
121            exceptions in the viewport's handler for the
122            MAP_PROJECTION_CHANGED messages
123    
124            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
125            try to keep the same region visible when the map actually contains
126            something
127    
128    2004-07-15  Jan Sch�ngel <[email protected]>
129    
130            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
131            mappath directly from the mapobj. Is needed because of the changes
132            in mf_import.py.
133            (MF_Layer.add_thubanclass): Added a new comment.
134            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
135            mapobj is empty there is no extent get from thuban an so no one can
136            set to th mapobj.
137            
138            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
139            the discription.
140            Split the funktion in to three smaller ones. The new functions are
141            add_rasterlayer, add_polygonlayer and select_layer2import.
142            Removed the mapfilepath and filepath initialisation, because its know
143            include in the new functions.
144            Now nothing will be imported if cancel is pressed in the
145            layer choice dialog.
146    
147    2004-07-14  Jan Sch�ngel <[email protected]>
148    
149            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
150            import.
151            (MF_Symbolset): Removed the extra variable for numsymbols.
152            (MF_Class.__init__): Added a comment to the exception clause.
153            Removed the extent init, because it was not needed anymore.
154            (MF_Layer.add_thubanclass): Added the code to set the class name to
155            the expression value from thuban if no label is defined.
156            Added the code to export Range expressions from thuban to the mapfile.
157            (MF_Map.set_extent): Removed the exception and replace it by some if
158            code. If the size of a map is not defined the size will be set to 1,1.
159            This is necessary because if the extent is set, mapscript checks if
160            the size is greater than zero.
161            (MF_Web): Added the get and set function for the template.
162    
163            * Extensions/umn_mapserver/mf_export.py: Added the function to check
164            if a mapobject exists and used it to set the status of the menu items.
165            If no mapfile exists the settings could not be edditied.
166            Define after which menuitem the exportitem will include.
167            
168            * Extensions/umn_mapserver/mf_handle.py: Removed the import
169            Thuban.UI.mainwindow clause, because it is not needed.
170            Added the command Refresh() to all "OnChangeColor()" functions,
171            because the color preview window was not updated on a color change.
172            Added the function to check if a mapobject exists and used it to set the
173            status of the menu items. If no mapobject exists the settings could not
174            be edditied.
175            (Map_Dialog): Moved the imagetype selector from the
176            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
177            (Web_Dialog): Removed the name label and added the template textbox.
178    
179            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
180            the exception handling on loading the layers by an if statement. It
181            is not necessary to us the exception there.
182            The Filepath creation now use os.path.join to build the path.
183    
184            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
185            definition from global to the setUp function. Now the testMap will
186            initialize new on each test.
187    
188            * Extensions/umn_mapserver/sample/iceland.map: Include three new
189            classes in the Line Layer, to test logical Expressions.
190            Set the status of the class "Point9" in the Point Layer to off
191            
192    2004-07-13  Bernhard Herzog  <[email protected]>
193    
194            * Thuban/UI/baserenderer.py
195            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
196            optimization that tries not to draw layers under a raster layer.
197            The bug was harmless.  All it effectively did was to produce The a
198            strange messages about not being able to draw Layer instances for
199            all vector layers below a raster layer which would be invisible
200            anyway because the raster layer currently always covers the entire
201            window
202    
203    2004-07-08  Jan Sch�ngel <[email protected]>
204    
205            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
206            a list of supported outputformats. This formats are not alle supported
207            because there is no possibility to get the outputformat without the
208            name known. Make some formal changes to the code.
209            (MF_Map.set_name()): Fixed a bug if the name is None.
210    
211            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
212            statement, because its not needed anymore. The Outputformat is now
213            given as string from the object. Make some formal changes to the code.
214    
215            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
216            most of the new setting which were added during the last changes.
217            Removed the MF_Size Test.
218            
219            * Extensions/umn_mapserver/test/test.map: Added a new class to the
220            cultural Layer to test expressions and the the status of that layer
221            from on to default.
222            Changed the data path the the correct Thuban Data
223            Added the Outputformat Object and Symbol Object
224            
225    2004-07-07  Jan Sch�ngel <[email protected]>
226    
227            * Extensions/umn_mapserver/mapfile.py: Added some new
228            settings to edit (outputformat, label, imagetype)
229    
230            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
231            the Label Dialog and add the OutputDialog.
232            Make some changes to the code order.
233    
234    2004-07-06  Jan Sch�ngel <[email protected]>
235    
236            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
237            and line Obj and add the scalebar_status_type, scalebar_style_type and
238            scalebar_position_type.
239            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
240            are only used to create a Symbol like the circle in Thuban.
241            Added the scalebarObject (MF_Scalebar)
242            (MF_Class): Added set_status and get_status.
243            (MF_Layer.add_thubanclass): Added code to set the class status
244            (MF_Map): Added code to handle the symbols and scalebar
245            (MF_Label): Added the set_partials and get_partials functions
246            
247            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
248            from mapfile. Added a function to create a circle object like the one
249            from thuban if no one exists.
250            
251            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
252            press ok in the assosiated dialog and not at the end of the
253            colordialog.
254            Added the Dialog for the Scalebar.
255            (Label_Dialog): Added the offset option
256    
257            * Extensions/umn_mapserver/mf_import.py: Added code to import the
258            status of the Classes.
259            Fixed a bug with the projection. Now the to_meter parameter will be
260            added to the Projection only if it doesn't exists.
261    
262    2004-07-01  Jan Sch�ngel <[email protected]>
263    
264            Added the functionality to handle the content thuban is not
265            able to handle directly.
266    
267            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
268            Thuban with the possibility to edit the mapfile content.        
269            
270            * Extensions/umn_mapserver/mf_import.py: Added the possibility
271            to import mapfiles without any layer selected. So it is possible
272            to edit the other settings in a mapfile.
273            (import_mapfile): Added code to use the editing functions.
274            Added the possibility to import the projection to a layer if one
275            is defined.
276            Status settings (On,Off) will now set in thuban (visible, invisible).
277            fixed a bug with with classnames. If no classname is set in mapfile
278            the value in Thuban will set to the expression.
279            
280            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
281            possibility to save a new mapfile or use the old one which is
282            imported or new created.
283            Added code to use the editing functions.
284            Remove some not needed import statements
285    
286            * Extensions/umn_mapserver/mapfile.py: Added new types which are
287            need for the editing functions.
288            Added needed set-functions for the editing functions.
289            Added the possibility to export rasterimages.
290            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
291            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
292            moment.
293            (MF_Class.set_thubanstyle): Now point layers will set to a default
294            symbol to show a circle in mapserver and not only a 1px dot.
295            (MF_Style.__init__): Fixed a bug with the color. Color was not set
296            correct before.
297            (MF_Size): Removed, because it is not needed.
298            
299            * Extensions/umn_mapserver/README: Added the hints to use the
300            export and editing functions, too.
301    
302            * Extensions/umn_mapserver/sample/iceland.map: Added the
303            new parameter "UNITS METERS".
304            Change the political layer to status OFF.
305    
306            * Extensions/umn_mapserver/sample/README: Added some
307            more details to setup the sample in the MapServer.
308            
309    2004-06-26  Bernhard Reiter <[email protected]>
310    
311            * Extensions/svgexport/test/test_svgmapwriter.py:
312            Removed class VFile and used standard StringIO instead.
313    
314    2004-06-23  Jan Sch�ngel  <[email protected]>
315    
316            Add the export function to the umn_mapserver extension.
317    
318            * Extension/umn_mapserver/mf_export.py: New. This module extents
319            Thuban with the possibility to export the Thuban content.
320    
321            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
322            with the export module. Especially added the possibility to
323            add thuban objects directly to the map objects.
324    
325            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
326            because of the hint from Bernhard Herzog.
327            Corrected the handling of absolute pathnames.
328            Changed the Text of the Menu-Item, now the beginning is upper case.
329    
330            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
331    
332    2004-06-16  Jan Sch�ngel  <[email protected]>
333    
334            Add a sample and make some changes.
335    
336            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
337            import from * to explicit used statements. Changed the
338            Thuban.UI.mainwindow import phrase, too.
339            (import_mapfile):Corrected a clerical mistake.
340            Added wxCHANGE_DIR in OpenFile Dialog.
341            Added a MultipleChoiceDialog, to select the layers to load from
342            mapfile into thuban. Thereby the projection is only set if one layer
343            is selected.
344            Added the possibility to handle relative pathnames which uses
345            up-level references.
346            Removed some doubled code.
347            Corrected an error with integer values used as label in thuban
348            ClassGroup.
349            
350            * Extensions/umn_mapserver/sample: New.
351    
352            * Extensions/umn_mapserver/sample/README: New. Describes the
353            usage of the sample files.
354    
355            * Extensions/umn_mapserver/sample/iceland.map: New. This is
356            a suitable .map-file for the iceland data.
357    
358            * Extensions/umn_mapserver/sample/index.html: New. The template
359            for the mapfile.  
360    
361            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
362            file for the Iceland Application on web.
363    
364            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
365            some details.
366    
367            * Extensions/umn_mapserver/test/test_mapserver
368            (mapserver_import_Test_generalClasses.test_MF_Color):
369            Corrected the thubancolor test.
370    
371    2004-06-15  Jan Sch�ngel  <[email protected]>
372    
373            * Extensions/umn_mapserver/README: New. Install instruction.
374    
375    2004-06-14  Bernhard Reiter <[email protected]>
376    
377            * libraries/thuban/cpl_mfile.h: Added copyright header.
378    
379            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
380            Free Software License so that it is most useful with gdalwarp
381            and bmpdataset.
382    
383    2004-06-14  Bernhard Herzog  <[email protected]>
384    
385            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
386            import of wxPython.wx itself (as opposed to the contents of
387            wxPython.wx).  For some reason wxPython.wx is available as
388            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
389            wrt. wxPython 2.4.
390    
391    2004-06-10  Jan Sch�ngel  <[email protected]>
392    
393            Initial version of new extension "umn_mapserver".  This extension aims
394            to manage configuration for the UMN MapServer application.  This
395            inital version just imports the .map-files and displays all, Thuban is
396            capable of.
397    
398            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
399    
400            * Extensions/umn_mapserver/test/README: New. Describes how to run the
401            tests.
402    
403            * Extensions/umn_mapserver/test/test.map: New. This is a test
404            .map-file for automated tests of the umn_mapserver extension of
405            Thuban.
406    
407            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
408            UMN Mapserver classes.
409    
410            * Extensions/umn_mapserver/__init__.py: New. Init to make this
411            directory a package.
412    
413            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
414            '.map'-file objects.
415    
416            * Extensions/umn_mapserver/mf_import.py: New. This module extends
417            Thuban with the possibility to handle UMN MapServer mapfiles.
418    
419    2004-06-03  Bernhard Herzog  <[email protected]>
420    
421            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
422            to a tuple before using it as arguments to the % operator.  This
423            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
424            reported today on thuban-list by Jan Sch�ngel
425    
426            * test/test_layer.py (TestLayerModification.setUp): Save the
427            filename as an instance variable so we can refer to it in tests
428            (TestLayerModification.test_tree_info): Uncomment this method
429            again and make it work.  This tests for the formatting issue
430            filed in RT#2239 on 2004-01-13
431    
432    2004-05-28  Bernhard Herzog  <[email protected]>
433    
434            * Thuban/UI/baserenderer.py: Fix some typos.
435    
436  2004-05-18  Jan-Oliver Wagner <[email protected]>  2004-05-18  Jan-Oliver Wagner <[email protected]>
437    
438          * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug          * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug

Legend:
Removed from v.2217  
changed lines
  Added in v.2315

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26