/[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 2289 by bh, Fri Jul 16 19:47:29 2004 UTC
# Line 1  Line 1 
1    2004-07-16  Bernhard Herzog  <[email protected]>
2    
3            * test/test_viewport.py
4            (ViewPortTest.test_changing_map_projection): Check that changing
5            the projection of an empty map shown in a viewport doesn't lead to
6            exceptions in the viewport's handler for the
7            MAP_PROJECTION_CHANGED messages
8    
9            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
10            try to keep the same region visible when the map actually contains
11            something
12    
13    2004-07-15  Jan Sch�ngel <[email protected]>
14    
15            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
16            mappath directly from the mapobj. Is needed because of the changes
17            in mf_import.py.
18            (MF_Layer.add_thubanclass): Added a new comment.
19            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
20            mapobj is empty there is no extent get from thuban an so no one can
21            set to th mapobj.
22            
23            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
24            the discription.
25            Split the funktion in to three smaller ones. The new functions are
26            add_rasterlayer, add_polygonlayer and select_layer2import.
27            Removed the mapfilepath and filepath initialisation, because its know
28            include in the new functions.
29            Now nothing will be imported if cancel is pressed in the
30            layer choice dialog.
31    
32    2004-07-14  Jan Sch�ngel <[email protected]>
33    
34            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
35            import.
36            (MF_Symbolset): Removed the extra variable for numsymbols.
37            (MF_Class.__init__): Added a comment to the exception clause.
38            Removed the extent init, because it was not needed anymore.
39            (MF_Layer.add_thubanclass): Added the code to set the class name to
40            the expression value from thuban if no label is defined.
41            Added the code to export Range expressions from thuban to the mapfile.
42            (MF_Map.set_extent): Removed the exception and replace it by some if
43            code. If the size of a map is not defined the size will be set to 1,1.
44            This is necessary because if the extent is set, mapscript checks if
45            the size is greater than zero.
46            (MF_Web): Added the get and set function for the template.
47    
48            * Extensions/umn_mapserver/mf_export.py: Added the function to check
49            if a mapobject exists and used it to set the status of the menu items.
50            If no mapfile exists the settings could not be edditied.
51            Define after which menuitem the exportitem will include.
52            
53            * Extensions/umn_mapserver/mf_handle.py: Removed the import
54            Thuban.UI.mainwindow clause, because it is not needed.
55            Added the command Refresh() to all "OnChangeColor()" functions,
56            because the color preview window was not updated on a color change.
57            Added the function to check if a mapobject exists and used it to set the
58            status of the menu items. If no mapobject exists the settings could not
59            be edditied.
60            (Map_Dialog): Moved the imagetype selector from the
61            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
62            (Web_Dialog): Removed the name label and added the template textbox.
63    
64            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
65            the exception handling on loading the layers by an if statement. It
66            is not necessary to us the exception there.
67            The Filepath creation now use os.path.join to build the path.
68    
69            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
70            definition from global to the setUp function. Now the testMap will
71            initialize new on each test.
72    
73            * Extensions/umn_mapserver/sample/iceland.map: Include three new
74            classes in the Line Layer, to test logical Expressions.
75            Set the status of the class "Point9" in the Point Layer to off
76            
77    2004-07-13  Bernhard Herzog  <[email protected]>
78    
79            * Thuban/UI/baserenderer.py
80            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
81            optimization that tries not to draw layers under a raster layer.
82            The bug was harmless.  All it effectively did was to produce The a
83            strange messages about not being able to draw Layer instances for
84            all vector layers below a raster layer which would be invisible
85            anyway because the raster layer currently always covers the entire
86            window
87    
88    2004-07-08  Jan Sch�ngel <[email protected]>
89    
90            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
91            a list of supported outputformats. This formats are not alle supported
92            because there is no possibility to get the outputformat without the
93            name known. Make some formal changes to the code.
94            (MF_Map.set_name()): Fixed a bug if the name is None.
95    
96            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
97            statement, because its not needed anymore. The Outputformat is now
98            given as string from the object. Make some formal changes to the code.
99    
100            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
101            most of the new setting which were added during the last changes.
102            Removed the MF_Size Test.
103            
104            * Extensions/umn_mapserver/test/test.map: Added a new class to the
105            cultural Layer to test expressions and the the status of that layer
106            from on to default.
107            Changed the data path the the correct Thuban Data
108            Added the Outputformat Object and Symbol Object
109            
110    2004-07-07  Jan Sch�ngel <[email protected]>
111    
112            * Extensions/umn_mapserver/mapfile.py: Added some new
113            settings to edit (outputformat, label, imagetype)
114    
115            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
116            the Label Dialog and add the OutputDialog.
117            Make some changes to the code order.
118    
119    2004-07-06  Jan Sch�ngel <[email protected]>
120    
121            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
122            and line Obj and add the scalebar_status_type, scalebar_style_type and
123            scalebar_position_type.
124            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
125            are only used to create a Symbol like the circle in Thuban.
126            Added the scalebarObject (MF_Scalebar)
127            (MF_Class): Added set_status and get_status.
128            (MF_Layer.add_thubanclass): Added code to set the class status
129            (MF_Map): Added code to handle the symbols and scalebar
130            (MF_Label): Added the set_partials and get_partials functions
131            
132            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
133            from mapfile. Added a function to create a circle object like the one
134            from thuban if no one exists.
135            
136            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
137            press ok in the assosiated dialog and not at the end of the
138            colordialog.
139            Added the Dialog for the Scalebar.
140            (Label_Dialog): Added the offset option
141    
142            * Extensions/umn_mapserver/mf_import.py: Added code to import the
143            status of the Classes.
144            Fixed a bug with the projection. Now the to_meter parameter will be
145            added to the Projection only if it doesn't exists.
146    
147    2004-07-01  Jan Sch�ngel <[email protected]>
148    
149            Added the functionality to handle the content thuban is not
150            able to handle directly.
151    
152            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
153            Thuban with the possibility to edit the mapfile content.        
154            
155            * Extensions/umn_mapserver/mf_import.py: Added the possibility
156            to import mapfiles without any layer selected. So it is possible
157            to edit the other settings in a mapfile.
158            (import_mapfile): Added code to use the editing functions.
159            Added the possibility to import the projection to a layer if one
160            is defined.
161            Status settings (On,Off) will now set in thuban (visible, invisible).
162            fixed a bug with with classnames. If no classname is set in mapfile
163            the value in Thuban will set to the expression.
164            
165            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
166            possibility to save a new mapfile or use the old one which is
167            imported or new created.
168            Added code to use the editing functions.
169            Remove some not needed import statements
170    
171            * Extensions/umn_mapserver/mapfile.py: Added new types which are
172            need for the editing functions.
173            Added needed set-functions for the editing functions.
174            Added the possibility to export rasterimages.
175            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
176            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
177            moment.
178            (MF_Class.set_thubanstyle): Now point layers will set to a default
179            symbol to show a circle in mapserver and not only a 1px dot.
180            (MF_Style.__init__): Fixed a bug with the color. Color was not set
181            correct before.
182            (MF_Size): Removed, because it is not needed.
183            
184            * Extensions/umn_mapserver/README: Added the hints to use the
185            export and editing functions, too.
186    
187            * Extensions/umn_mapserver/sample/iceland.map: Added the
188            new parameter "UNITS METERS".
189            Change the political layer to status OFF.
190    
191            * Extensions/umn_mapserver/sample/README: Added some
192            more details to setup the sample in the MapServer.
193            
194    2004-06-26  Bernhard Reiter <[email protected]>
195    
196            * Extensions/svgexport/test/test_svgmapwriter.py:
197            Removed class VFile and used standard StringIO instead.
198    
199  2004-06-23  Jan Sch�ngel  <[email protected]>  2004-06-23  Jan Sch�ngel  <[email protected]>
200    
201          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.2289

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26