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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26