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

Legend:
Removed from v.2224  
changed lines
  Added in v.2331

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26