/[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 2242 by jschuengel, Tue Jun 15 09:22:01 2004 UTC revision 2343 by bernhard, Mon Sep 20 08:13:32 2004 UTC
# Line 1  Line 1 
1  2004-06-10  Jan Sch�ngel  <[email protected]>  2004-09-20  Bernhard Reiter <[email protected]>
2    
3            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
4    
5    2004-09-03  Jan Sch�ngel  <[email protected]>
6    
7            * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a
8            small bug with the line color. Now the line color will now only set
9            if it is set in Thuban an not Transparent.
10            
11            * Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with
12            deleting the layers from mapfile. Now all layers will delete backwards
13            from the last.
14    
15    2004-08-20  Silke Reimer <[email protected]>
16    
17            * Thuban/Model/layer.py:
18            Fixes bug in projection handling: Otherwise very large region might not
19            have valid values in the layer's projection.
20    
21    2004-08-20  Silke Reimer <[email protected]>
22    
23            * Thuban/UI/about.py:
24            small changes to be consistent with coding style.
25              
26    2004-08-13  Martin Schulze  <[email protected]>
27    
28            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
29            Adjusted a comment
30    
31    2004-08-11  Silke Reimer <[email protected]>
32    
33            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
34                    too many and too enhanced imports of locale
35    
36    2004-08-10  Silke Reimer <[email protected]>
37    
38            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
39                    function unicodeToLocale() to convert special characters to users
40                    locale encoding
41    
42    2004-08-10  Jan-Oliver Wagner <[email protected]>
43    
44            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
45            lower case letter'
46    
47    2004-08-09  Jan Sch�ngel  <[email protected]>
48    
49            * ChangeLog: Rewrite the last ChangeLog entry to follow
50            the standard way.
51    
52            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
53            the function where it is needed, because it don't works if it stands
54            at the beginning.
55            (MF_Layer.__init__): Removed the extra numclassed variable. Now
56            numclasses from the mapscript will be used.
57            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
58            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
59            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
60            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
61            (MF_Map.create_new_layer): New. A new Layer is created and associated
62            with the mapscript object.
63            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
64            the mapscript.
65            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
66            linked to the layer in thuban, else the layerobject linked to the
67            thubanlayer will be used.
68            AnnotationLayer will now store the filename of the shapefile.
69            (MF_Map.remove_layer): If a layer is removed the associated object
70            must be set new.
71            
72            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
73            layers which are exists in thuban to the mapobj. All removed Layers
74            will be removed from the mapobj.
75            Added comments to all functions.
76            (thuban_to_map): No layer will be removed here.
77            
78            * Extensions/umn_mapserver/mf_handle.py
79            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
80            Layersettings for the mapserver kann be edited.
81    
82            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
83            imported, will be linked with the associated MF_Layer.
84            (import_mapfile): All layers, which are not selected, will be removed.
85            Disable the "import layer from mapfile" menu option.
86    
87            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
88            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
89            layer on permanently.
90    
91    2004-08-03  Jan Sch�ngel  <[email protected]>
92    
93            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
94            New. This function removes all metadata
95            (MF_Layer.set_group): New. Set the group setting.
96            (MF_Layer.get_group): New. Get the group setting.
97            (MF_Map): Removed the extra numlayers variable, used the mapscript
98            parameter instead.
99            (MF_Map.get_numlayers): New. This get numlayers.
100            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
101            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
102            if the object is an instance. Also added the annotation layer here to
103            export, but only the layer is created in the mapfile.
104    
105            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
106            the check if a mapobj exist, because its not needed anymore. The
107            export function is only available if a mapobj exist.
108            Use the new function to remove all layers.
109            
110            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
111            option and the metadata button. The layer dialog is temporary disabled.
112            (Metadata_CustomDataTable): Added some functions to show the grid
113            correct.
114    
115            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
116            the number of layer from import_mapfile to this function.
117            (AnnotationLayer): New. This Class shows the Annotation layer in
118            thuban. The layer don't do anything. It's only to show the layer
119            and to save the layer order.
120            (add_annotationlayer): New. Import an annotation layer to thuban.
121            (select_layer2import): New. Import only layers to thuban and not
122            the other settings like projection or scalebar.
123            (create_new_mapfile): Moved the _has_umn_mapobj function and the
124            create_new_mapfile functions from mf_handle.py to mf_import.py.
125            
126            * Extensions/umn_mapserver/sample/iceland.map: Added the group
127            parameter to the roads and cultural layers. Also added a new
128            Annotation Layer for the cultural points.
129    
130            * Extensions/umn_mapserver/sample/iceland.html: Added the select
131            option for the annotation layer.
132    
133            * Extensions/umn_mapserver/sample/index.html: Added the start
134            parameter for the annotation layer.
135    
136    2004-08-01  Jan-Oliver Wagner <[email protected]>
137    
138            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
139            translation completed.
140    
141            * Doc/manual/thuban-manual.xml (Chapter Session Management):
142            Fixed unprecise description for Save Session.
143    
144    2004-07-31  Jan-Oliver Wagner <[email protected]>
145    
146            Started translation of Users Manual into german.
147    
148            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
149    
150            * Doc/manual/Makefile: Added build instructions for german
151            users manual.
152    
153            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
154    
155    2004-07-28  Jan Sch�ngel  <[email protected]>
156    
157            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
158            functions. Now all metadata will handle by the function and its not
159            needed to initialize it from outside. Therefor the associated mapobj
160            will be stored in the Metadata Object. So we can use the special
161            functions from the associated mapobj to get the Metadata.
162            Therefor all initialization code for the metadata is removed from the
163            other classes.
164            (MF_Layer): Added a function to get the metadata object.
165            (MF_Map): Added a function to set the mappath, the path where
166            the mapfile ist stored.
167    
168            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
169            to set the extent in the mapfile. Now the code is set by the displayed
170            data in the Thuban-view.
171            (export_mapfile): The shapepath is now set empty, until relative
172            pathnames are supported.
173    
174            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
175            metadata. Yet only mapfile metadata are supported. Layer and class
176            supported are not implemented.
177            Added a dialog to handle layer informations. The dialog only shows the
178            selected layer at the moment.
179    
180            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
181            code for setting the extent in thuban. Now the extent is set to the
182            given extent from the mapfile.
183            Fixed a logical mistake. Now the extent is set when realy a layer is
184            loaded, and not if one is selected to load.
185    
186            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
187            move the shown map in the browser.
188    
189            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
190            line to the mapobj and added metadata to the political layer.
191    
192            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
193            for Metadata.
194    
195    2004-07-26  Martin Schulze  <[email protected]>
196    
197            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
198            ClassMapper
199    
200            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
201            case for the new ClassMapper
202    
203    
204    2004-07-22  Bernhard Herzog  <[email protected]>
205    
206            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
207            visible extent of the map in projected coordinates
208    
209            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
210            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
211            tests.
212            (SimpleViewPortTest.test_visible_extent): New. The real test for
213            VisibleExtent()
214    
215    2004-07-22  Bernhard Herzog  <[email protected]>
216    
217            * test/test_viewport.py: Use support.run_tests as the main
218            function when running asa script.
219    
220    2004-07-22  Jan Sch�ngel <[email protected]>
221    
222            * Extensions/umn_mapserver/mf_export.py: Added "import os"
223            Removed the old "import Thuban.UI.mainwindow" code.
224            (tbextent_to_map): Removed the extra function and at the code direct
225            to "thuban_to_map" function.
226            (write_creatorcomment): Added. Now a short comment is added to the
227            beginning of an generated mapfile.
228            (export_mapfile): Now the Path and filename are saved in to variables,
229            and not together in one variable. This is needed for the new
230            write_creatorcomment function.
231                    
232            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
233            import module "re". Also added Range and the ClassGroupRange import
234            from Thuban. Both are needed for the new range expression import.
235            (create_rangeexpression): Added. Creates a Range Expression in Thuban
236            style from a given mapfile expression.
237            (added_rasterlayer): Make some small code changes. The shapepath is
238            now stored in an extra variable and the clazz_name is set empty if no
239            class name set in the mapfile.
240            Changed the Error message for Range Expressions, becaus the new
241            function create a error string which will be shown in the dialog.
242    
243            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
244            range expression import.
245    
246    2004-07-21  Jan-Oliver Wagner <[email protected]>
247    
248            * Extensions/umn_mapserver/README: Added hint that
249            installation as root can be avoided. Removed all tabs.
250    
251    2004-07-16  Bernhard Herzog  <[email protected]>
252    
253            * test/test_viewport.py
254            (ViewPortTest.test_changing_map_projection): Check that changing
255            the projection of an empty map shown in a viewport doesn't lead to
256            exceptions in the viewport's handler for the
257            MAP_PROJECTION_CHANGED messages
258    
259            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
260            try to keep the same region visible when the map actually contains
261            something
262    
263    2004-07-15  Jan Sch�ngel <[email protected]>
264    
265            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
266            mappath directly from the mapobj. Is needed because of the changes
267            in mf_import.py.
268            (MF_Layer.add_thubanclass): Added a new comment.
269            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
270            mapobj is empty there is no extent get from thuban an so no one can
271            set to th mapobj.
272            
273            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
274            the discription.
275            Split the funktion in to three smaller ones. The new functions are
276            add_rasterlayer, add_polygonlayer and select_layer2import.
277            Removed the mapfilepath and filepath initialisation, because its know
278            include in the new functions.
279            Now nothing will be imported if cancel is pressed in the
280            layer choice dialog.
281    
282    2004-07-14  Jan Sch�ngel <[email protected]>
283    
284            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
285            import.
286            (MF_Symbolset): Removed the extra variable for numsymbols.
287            (MF_Class.__init__): Added a comment to the exception clause.
288            Removed the extent init, because it was not needed anymore.
289            (MF_Layer.add_thubanclass): Added the code to set the class name to
290            the expression value from thuban if no label is defined.
291            Added the code to export Range expressions from thuban to the mapfile.
292            (MF_Map.set_extent): Removed the exception and replace it by some if
293            code. If the size of a map is not defined the size will be set to 1,1.
294            This is necessary because if the extent is set, mapscript checks if
295            the size is greater than zero.
296            (MF_Web): Added the get and set function for the template.
297    
298            * Extensions/umn_mapserver/mf_export.py: Added the function to check
299            if a mapobject exists and used it to set the status of the menu items.
300            If no mapfile exists the settings could not be edditied.
301            Define after which menuitem the exportitem will include.
302            
303            * Extensions/umn_mapserver/mf_handle.py: Removed the import
304            Thuban.UI.mainwindow clause, because it is not needed.
305            Added the command Refresh() to all "OnChangeColor()" functions,
306            because the color preview window was not updated on a color change.
307            Added the function to check if a mapobject exists and used it to set the
308            status of the menu items. If no mapobject exists the settings could not
309            be edditied.
310            (Map_Dialog): Moved the imagetype selector from the
311            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
312            (Web_Dialog): Removed the name label and added the template textbox.
313    
314            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
315            the exception handling on loading the layers by an if statement. It
316            is not necessary to us the exception there.
317            The Filepath creation now use os.path.join to build the path.
318    
319            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
320            definition from global to the setUp function. Now the testMap will
321            initialize new on each test.
322    
323            * Extensions/umn_mapserver/sample/iceland.map: Include three new
324            classes in the Line Layer, to test logical Expressions.
325            Set the status of the class "Point9" in the Point Layer to off
326            
327    2004-07-13  Bernhard Herzog  <[email protected]>
328    
329            * Thuban/UI/baserenderer.py
330            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
331            optimization that tries not to draw layers under a raster layer.
332            The bug was harmless.  All it effectively did was to produce The a
333            strange messages about not being able to draw Layer instances for
334            all vector layers below a raster layer which would be invisible
335            anyway because the raster layer currently always covers the entire
336            window
337    
338    2004-07-08  Jan Sch�ngel <[email protected]>
339    
340            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
341            a list of supported outputformats. This formats are not alle supported
342            because there is no possibility to get the outputformat without the
343            name known. Make some formal changes to the code.
344            (MF_Map.set_name()): Fixed a bug if the name is None.
345    
346            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
347            statement, because its not needed anymore. The Outputformat is now
348            given as string from the object. Make some formal changes to the code.
349    
350            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
351            most of the new setting which were added during the last changes.
352            Removed the MF_Size Test.
353            
354            * Extensions/umn_mapserver/test/test.map: Added a new class to the
355            cultural Layer to test expressions and the the status of that layer
356            from on to default.
357            Changed the data path the the correct Thuban Data
358            Added the Outputformat Object and Symbol Object
359            
360    2004-07-07  Jan Sch�ngel <[email protected]>
361    
362            * Extensions/umn_mapserver/mapfile.py: Added some new
363            settings to edit (outputformat, label, imagetype)
364    
365            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
366            the Label Dialog and add the OutputDialog.
367            Make some changes to the code order.
368    
369    2004-07-06  Jan Sch�ngel <[email protected]>
370    
371            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
372            and line Obj and add the scalebar_status_type, scalebar_style_type and
373            scalebar_position_type.
374            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
375            are only used to create a Symbol like the circle in Thuban.
376            Added the scalebarObject (MF_Scalebar)
377            (MF_Class): Added set_status and get_status.
378            (MF_Layer.add_thubanclass): Added code to set the class status
379            (MF_Map): Added code to handle the symbols and scalebar
380            (MF_Label): Added the set_partials and get_partials functions
381            
382            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
383            from mapfile. Added a function to create a circle object like the one
384            from thuban if no one exists.
385            
386            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
387            press ok in the assosiated dialog and not at the end of the
388            colordialog.
389            Added the Dialog for the Scalebar.
390            (Label_Dialog): Added the offset option
391    
392            * Extensions/umn_mapserver/mf_import.py: Added code to import the
393            status of the Classes.
394            Fixed a bug with the projection. Now the to_meter parameter will be
395            added to the Projection only if it doesn't exists.
396    
397    2004-07-01  Jan Sch�ngel <[email protected]>
398    
399            Added the functionality to handle the content thuban is not
400            able to handle directly.
401    
402            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
403            Thuban with the possibility to edit the mapfile content.        
404            
405            * Extensions/umn_mapserver/mf_import.py: Added the possibility
406            to import mapfiles without any layer selected. So it is possible
407            to edit the other settings in a mapfile.
408            (import_mapfile): Added code to use the editing functions.
409            Added the possibility to import the projection to a layer if one
410            is defined.
411            Status settings (On,Off) will now set in thuban (visible, invisible).
412            fixed a bug with with classnames. If no classname is set in mapfile
413            the value in Thuban will set to the expression.
414            
415            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
416            possibility to save a new mapfile or use the old one which is
417            imported or new created.
418            Added code to use the editing functions.
419            Remove some not needed import statements
420    
421            * Extensions/umn_mapserver/mapfile.py: Added new types which are
422            need for the editing functions.
423            Added needed set-functions for the editing functions.
424            Added the possibility to export rasterimages.
425            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
426            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
427            moment.
428            (MF_Class.set_thubanstyle): Now point layers will set to a default
429            symbol to show a circle in mapserver and not only a 1px dot.
430            (MF_Style.__init__): Fixed a bug with the color. Color was not set
431            correct before.
432            (MF_Size): Removed, because it is not needed.
433            
434            * Extensions/umn_mapserver/README: Added the hints to use the
435            export and editing functions, too.
436    
437            * Extensions/umn_mapserver/sample/iceland.map: Added the
438            new parameter "UNITS METERS".
439            Change the political layer to status OFF.
440    
441            * Extensions/umn_mapserver/sample/README: Added some
442            more details to setup the sample in the MapServer.
443            
444    2004-06-26  Bernhard Reiter <[email protected]>
445    
446            * Extensions/svgexport/test/test_svgmapwriter.py:
447            Removed class VFile and used standard StringIO instead.
448    
449    2004-06-23  Jan Sch�ngel  <[email protected]>
450    
451            Add the export function to the umn_mapserver extension.
452    
453            * Extension/umn_mapserver/mf_export.py: New. This module extents
454            Thuban with the possibility to export the Thuban content.
455    
456            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
457            with the export module. Especially added the possibility to
458            add thuban objects directly to the map objects.
459    
460            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
461            because of the hint from Bernhard Herzog.
462            Corrected the handling of absolute pathnames.
463            Changed the Text of the Menu-Item, now the beginning is upper case.
464    
465            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
466    
467    2004-06-16  Jan Sch�ngel  <[email protected]>
468    
469            Add a sample and make some changes.
470    
471            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
472            import from * to explicit used statements. Changed the
473            Thuban.UI.mainwindow import phrase, too.
474            (import_mapfile):Corrected a clerical mistake.
475            Added wxCHANGE_DIR in OpenFile Dialog.
476            Added a MultipleChoiceDialog, to select the layers to load from
477            mapfile into thuban. Thereby the projection is only set if one layer
478            is selected.
479            Added the possibility to handle relative pathnames which uses
480            up-level references.
481            Removed some doubled code.
482            Corrected an error with integer values used as label in thuban
483            ClassGroup.
484            
485            * Extensions/umn_mapserver/sample: New.
486    
487            * Extensions/umn_mapserver/sample/README: New. Describes the
488            usage of the sample files.
489    
490            * Extensions/umn_mapserver/sample/iceland.map: New. This is
491            a suitable .map-file for the iceland data.
492    
493            * Extensions/umn_mapserver/sample/index.html: New. The template
494            for the mapfile.  
495    
496            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
497            file for the Iceland Application on web.
498    
499            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
500            some details.
501    
502            * Extensions/umn_mapserver/test/test_mapserver
503            (mapserver_import_Test_generalClasses.test_MF_Color):
504            Corrected the thubancolor test.
505    
506    2004-06-15  Jan Sch�ngel  <[email protected]>
507    
508          * Extensions/umn_mapserver/README: New. Install instruction.          * Extensions/umn_mapserver/README: New. Install instruction.
509    

Legend:
Removed from v.2242  
changed lines
  Added in v.2343

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26