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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26