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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26