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

Legend:
Removed from v.2250  
changed lines
  Added in v.2335

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26