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

Legend:
Removed from v.2255  
changed lines
  Added in v.2337

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26