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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26