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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26