/[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 2204 by jan, Tue May 11 22:36:03 2004 UTC revision 2288 by jschuengel, Thu Jul 15 14:32:51 2004 UTC
# Line 1  Line 1 
1    2004-07-15  Jan Sch�ngel <[email protected]>
2    
3            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
4            mappath directly from the mapobj. Is needed because of the changes
5            in mf_import.py.
6            (MF_Layer.add_thubanclass): Added a new comment.
7            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
8            mapobj is empty there is no extent get from thuban an so no one can
9            set to th mapobj.
10            
11            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
12            the discription.
13            Split the funktion in to three smaller ones. The new functions are
14            add_rasterlayer, add_polygonlayer and select_layer2import.
15            Removed the mapfilepath and filepath initialisation, because its know
16            include in the new functions.
17            Now nothing will be imported if cancel is pressed in the
18            layer choice dialog.
19    
20    2004-07-14  Jan Sch�ngel <[email protected]>
21    
22            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
23            import.
24            (MF_Symbolset): Removed the extra variable for numsymbols.
25            (MF_Class.__init__): Added a comment to the exception clause.
26            Removed the extent init, because it was not needed anymore.
27            (MF_Layer.add_thubanclass): Added the code to set the class name to
28            the expression value from thuban if no label is defined.
29            Added the code to export Range expressions from thuban to the mapfile.
30            (MF_Map.set_extent): Removed the exception and replace it by some if
31            code. If the size of a map is not defined the size will be set to 1,1.
32            This is necessary because if the extent is set, mapscript checks if
33            the size is greater than zero.
34            (MF_Web): Added the get and set function for the template.
35    
36            * Extensions/umn_mapserver/mf_export.py: Added the function to check
37            if a mapobject exists and used it to set the status of the menu items.
38            If no mapfile exists the settings could not be edditied.
39            Define after which menuitem the exportitem will include.
40            
41            * Extensions/umn_mapserver/mf_handle.py: Removed the import
42            Thuban.UI.mainwindow clause, because it is not needed.
43            Added the command Refresh() to all "OnChangeColor()" functions,
44            because the color preview window was not updated on a color change.
45            Added the function to check if a mapobject exists and used it to set the
46            status of the menu items. If no mapobject exists the settings could not
47            be edditied.
48            (Map_Dialog): Moved the imagetype selector from the
49            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
50            (Web_Dialog): Removed the name label and added the template textbox.
51    
52            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
53            the exception handling on loading the layers by an if statement. It
54            is not necessary to us the exception there.
55            The Filepath creation now use os.path.join to build the path.
56    
57            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
58            definition from global to the setUp function. Now the testMap will
59            initialize new on each test.
60    
61            * Extensions/umn_mapserver/sample/iceland.map: Include three new
62            classes in the Line Layer, to test logical Expressions.
63            Set the status of the class "Point9" in the Point Layer to off
64            
65    2004-07-13  Bernhard Herzog  <[email protected]>
66    
67            * Thuban/UI/baserenderer.py
68            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
69            optimization that tries not to draw layers under a raster layer.
70            The bug was harmless.  All it effectively did was to produce The a
71            strange messages about not being able to draw Layer instances for
72            all vector layers below a raster layer which would be invisible
73            anyway because the raster layer currently always covers the entire
74            window
75    
76    2004-07-08  Jan Sch�ngel <[email protected]>
77    
78            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
79            a list of supported outputformats. This formats are not alle supported
80            because there is no possibility to get the outputformat without the
81            name known. Make some formal changes to the code.
82            (MF_Map.set_name()): Fixed a bug if the name is None.
83    
84            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
85            statement, because its not needed anymore. The Outputformat is now
86            given as string from the object. Make some formal changes to the code.
87    
88            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
89            most of the new setting which were added during the last changes.
90            Removed the MF_Size Test.
91            
92            * Extensions/umn_mapserver/test/test.map: Added a new class to the
93            cultural Layer to test expressions and the the status of that layer
94            from on to default.
95            Changed the data path the the correct Thuban Data
96            Added the Outputformat Object and Symbol Object
97            
98    2004-07-07  Jan Sch�ngel <[email protected]>
99    
100            * Extensions/umn_mapserver/mapfile.py: Added some new
101            settings to edit (outputformat, label, imagetype)
102    
103            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
104            the Label Dialog and add the OutputDialog.
105            Make some changes to the code order.
106    
107    2004-07-06  Jan Sch�ngel <[email protected]>
108    
109            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
110            and line Obj and add the scalebar_status_type, scalebar_style_type and
111            scalebar_position_type.
112            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
113            are only used to create a Symbol like the circle in Thuban.
114            Added the scalebarObject (MF_Scalebar)
115            (MF_Class): Added set_status and get_status.
116            (MF_Layer.add_thubanclass): Added code to set the class status
117            (MF_Map): Added code to handle the symbols and scalebar
118            (MF_Label): Added the set_partials and get_partials functions
119            
120            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
121            from mapfile. Added a function to create a circle object like the one
122            from thuban if no one exists.
123            
124            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
125            press ok in the assosiated dialog and not at the end of the
126            colordialog.
127            Added the Dialog for the Scalebar.
128            (Label_Dialog): Added the offset option
129    
130            * Extensions/umn_mapserver/mf_import.py: Added code to import the
131            status of the Classes.
132            Fixed a bug with the projection. Now the to_meter parameter will be
133            added to the Projection only if it doesn't exists.
134    
135    2004-07-01  Jan Sch�ngel <[email protected]>
136    
137            Added the functionality to handle the content thuban is not
138            able to handle directly.
139    
140            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
141            Thuban with the possibility to edit the mapfile content.        
142            
143            * Extensions/umn_mapserver/mf_import.py: Added the possibility
144            to import mapfiles without any layer selected. So it is possible
145            to edit the other settings in a mapfile.
146            (import_mapfile): Added code to use the editing functions.
147            Added the possibility to import the projection to a layer if one
148            is defined.
149            Status settings (On,Off) will now set in thuban (visible, invisible).
150            fixed a bug with with classnames. If no classname is set in mapfile
151            the value in Thuban will set to the expression.
152            
153            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
154            possibility to save a new mapfile or use the old one which is
155            imported or new created.
156            Added code to use the editing functions.
157            Remove some not needed import statements
158    
159            * Extensions/umn_mapserver/mapfile.py: Added new types which are
160            need for the editing functions.
161            Added needed set-functions for the editing functions.
162            Added the possibility to export rasterimages.
163            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
164            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
165            moment.
166            (MF_Class.set_thubanstyle): Now point layers will set to a default
167            symbol to show a circle in mapserver and not only a 1px dot.
168            (MF_Style.__init__): Fixed a bug with the color. Color was not set
169            correct before.
170            (MF_Size): Removed, because it is not needed.
171            
172            * Extensions/umn_mapserver/README: Added the hints to use the
173            export and editing functions, too.
174    
175            * Extensions/umn_mapserver/sample/iceland.map: Added the
176            new parameter "UNITS METERS".
177            Change the political layer to status OFF.
178    
179            * Extensions/umn_mapserver/sample/README: Added some
180            more details to setup the sample in the MapServer.
181            
182    2004-06-26  Bernhard Reiter <[email protected]>
183    
184            * Extensions/svgexport/test/test_svgmapwriter.py:
185            Removed class VFile and used standard StringIO instead.
186    
187    2004-06-23  Jan Sch�ngel  <[email protected]>
188    
189            Add the export function to the umn_mapserver extension.
190    
191            * Extension/umn_mapserver/mf_export.py: New. This module extents
192            Thuban with the possibility to export the Thuban content.
193    
194            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
195            with the export module. Especially added the possibility to
196            add thuban objects directly to the map objects.
197    
198            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
199            because of the hint from Bernhard Herzog.
200            Corrected the handling of absolute pathnames.
201            Changed the Text of the Menu-Item, now the beginning is upper case.
202    
203            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
204    
205    2004-06-16  Jan Sch�ngel  <[email protected]>
206    
207            Add a sample and make some changes.
208    
209            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
210            import from * to explicit used statements. Changed the
211            Thuban.UI.mainwindow import phrase, too.
212            (import_mapfile):Corrected a clerical mistake.
213            Added wxCHANGE_DIR in OpenFile Dialog.
214            Added a MultipleChoiceDialog, to select the layers to load from
215            mapfile into thuban. Thereby the projection is only set if one layer
216            is selected.
217            Added the possibility to handle relative pathnames which uses
218            up-level references.
219            Removed some doubled code.
220            Corrected an error with integer values used as label in thuban
221            ClassGroup.
222            
223            * Extensions/umn_mapserver/sample: New.
224    
225            * Extensions/umn_mapserver/sample/README: New. Describes the
226            usage of the sample files.
227    
228            * Extensions/umn_mapserver/sample/iceland.map: New. This is
229            a suitable .map-file for the iceland data.
230    
231            * Extensions/umn_mapserver/sample/index.html: New. The template
232            for the mapfile.  
233    
234            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
235            file for the Iceland Application on web.
236    
237            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
238            some details.
239    
240            * Extensions/umn_mapserver/test/test_mapserver
241            (mapserver_import_Test_generalClasses.test_MF_Color):
242            Corrected the thubancolor test.
243    
244    2004-06-15  Jan Sch�ngel  <[email protected]>
245    
246            * Extensions/umn_mapserver/README: New. Install instruction.
247    
248    2004-06-14  Bernhard Reiter <[email protected]>
249    
250            * libraries/thuban/cpl_mfile.h: Added copyright header.
251    
252            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
253            Free Software License so that it is most useful with gdalwarp
254            and bmpdataset.
255    
256    2004-06-14  Bernhard Herzog  <[email protected]>
257    
258            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
259            import of wxPython.wx itself (as opposed to the contents of
260            wxPython.wx).  For some reason wxPython.wx is available as
261            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
262            wrt. wxPython 2.4.
263    
264    2004-06-10  Jan Sch�ngel  <[email protected]>
265    
266            Initial version of new extension "umn_mapserver".  This extension aims
267            to manage configuration for the UMN MapServer application.  This
268            inital version just imports the .map-files and displays all, Thuban is
269            capable of.
270    
271            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
272    
273            * Extensions/umn_mapserver/test/README: New. Describes how to run the
274            tests.
275    
276            * Extensions/umn_mapserver/test/test.map: New. This is a test
277            .map-file for automated tests of the umn_mapserver extension of
278            Thuban.
279    
280            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
281            UMN Mapserver classes.
282    
283            * Extensions/umn_mapserver/__init__.py: New. Init to make this
284            directory a package.
285    
286            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
287            '.map'-file objects.
288    
289            * Extensions/umn_mapserver/mf_import.py: New. This module extends
290            Thuban with the possibility to handle UMN MapServer mapfiles.
291    
292    2004-06-03  Bernhard Herzog  <[email protected]>
293    
294            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
295            to a tuple before using it as arguments to the % operator.  This
296            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
297            reported today on thuban-list by Jan Sch�ngel
298    
299            * test/test_layer.py (TestLayerModification.setUp): Save the
300            filename as an instance variable so we can refer to it in tests
301            (TestLayerModification.test_tree_info): Uncomment this method
302            again and make it work.  This tests for the formatting issue
303            filed in RT#2239 on 2004-01-13
304    
305    2004-05-28  Bernhard Herzog  <[email protected]>
306    
307            * Thuban/UI/baserenderer.py: Fix some typos.
308    
309    2004-05-18  Jan-Oliver Wagner <[email protected]>
310    
311            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug
312            by increasing a field size.
313    
314    2004-05-17  Bernhard Herzog  <[email protected]>
315    
316            Update to newest shapelib and get rid of Thuban specific
317            extensions, i.e. use the new DBFUpdateHeader instead of our
318            DBFCommit kludge
319    
320            * libraries/shapelib/shpopen.c: Update to version from current
321            shapelib CVS.
322    
323            * libraries/shapelib/shapefil.h: Update to version from current
324            shapelib CVS.
325    
326            * libraries/shapelib/dbfopen.c: Update to version from current
327            shapelib CVS.
328            (DBFCommit): Effectively removed since shapelib itself has
329            DBFUpdateHeader now which is better for what DBFCommit wanted to
330            achieve.  
331            We're now using an unmodified version of dbfopen.
332    
333            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
334            value '1' to the Lib.dbflibc extension.  This simply reflects the
335            shapelib and pyshapelib updates
336    
337    2004-05-16  Jan-Oliver Wagner <[email protected]>
338    
339            Finished introduction of Menu.FindOrInsertMenu.
340    
341            * Extensions/drawshape/drawshape.py: Add the command
342            to the experimental menu additionally to the toolbar.
343    
344            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
345            finding menu on its own.
346    
347            * Doc/manual/thuban-manual.xml: updated sample file
348            to use FindOrInsertMenu().
349    
350            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
351            instead of finding menu on its own.
352    
353    2004-05-11  Jan-Oliver Wagner <[email protected]>
354    
355            * test/test_menu.py (MenuTest.test): Added testing
356            of method Menu.FindOrInsertMenu.
357    
358  2004-05-10  Jan-Oliver Wagner <[email protected]>  2004-05-10  Jan-Oliver Wagner <[email protected]>
359    
360          Introduce and use Menu.FindOrInsertMenu.          Introduce and use Menu.FindOrInsertMenu.

Legend:
Removed from v.2204  
changed lines
  Added in v.2288

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26