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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26