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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26