/[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 2524 by frank, Tue Jan 18 10:19:25 2005 UTC
# Line 1  Line 1 
1    2005-01-18  Frank Koormann <[email protected]>
2    
3            New Extension: mouseposition
4            Tool to collect mouse click positions (map coordinates) in a dialog.
5    
6            * Extensions/mouseposition/__init__.py: New, extension registration
7    
8            * Extensions/mouseposition/mouseposition.py: New, implements the
9            dialog and adds a tool to Thuban mainwindow.
10    
11            * Extensions/mouseposition/position.xpm: New, icon for tool.
12    
13    2005-01-14  Jan-Oliver Wagner <[email protected]>
14    
15            * Doc/manual/thuban-manual-de.xml: More translations.
16    
17    2005-01-11  Frank Koormann <[email protected]>
18    
19            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
20            Fix indention bug.
21    
22    2005-01-09  Frank Koormann <[email protected]>
23    
24            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
25            BugFix 2901: Explicitly copy layers ClassificationColumn since it
26            is not part of the layers Classification.
27    
28    2005-01-03  Frank Koormann <[email protected]>
29    
30            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
31            BugFix 2883: Former implementation only worked on classified point
32            layers: KeyError was raised, now use the default size if field is None.
33    
34    2004-12-27  Bernhard Reiter <[email protected]>
35    
36            svgexport 1.0.0cvs: Fixed label export.
37    
38            * Extensions/svgexport/test/test_svgmapwriter.py:
39            class TestSVGRenderer(): New class; new test test_label_font().
40    
41            * Extensions/svgexport/svgmapwriter.py
42            (SVGRenderer.label_font()): initialised Font size with self.factor now,
43            makes test_label_font happy.
44    
45            * Extensions/svgexport/TODO: crossed out fixed label export item.
46            Added item for options.
47    
48            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
49    
50    2004-12-27  Russell Nelson  <[email protected]>
51    
52            Middle mouse button pans.
53    
54            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
55            OnMiddleDown and OnMiddleUp events.
56            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
57            previously used tool.
58            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
59            pressing the middle mouse button.
60    
61    2004-12-27  Jan-Oliver Wagner <[email protected]>
62    
63            * Doc/manual/thuban-manual-de.xml: More translations.
64    
65    2004-12-23  Jan-Oliver Wagner <[email protected]>
66    
67            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
68            \n to stderr after the warnings. Thanks to Russell Nelson.
69    
70    2004-12-20  Nina Hueffmeyer <[email protected]>
71    
72            * Extensions/ogr/ogrshapes.py: Fixed some issues from
73            Bernhard (coding guidelines etc.). Additionally it is now possible to
74            display shapefiles containing feature collections (e.g.polygons
75            with holes). Works with gdal 1.2.1 now.
76    
77            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
78            from Bernhard (coding guidelines etc.). If ogr can't be imported,
79            tests are skipped now.
80    
81            * Extensions/ogr/ogrstart.py: Fixed some typings.
82    
83    2004-12-20  Bernhard Reiter <[email protected]>
84    
85            * Extensions/svgexport/TODO: updated to add support for
86            raster layers and labels for 1.0.1.
87    
88            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
89            Issue a warning now.
90    
91    2004-12-19  Bernhard Reiter <[email protected]>
92    
93            * Extensions/svgexport/TODO: Added idea to support triggering
94            the application down the pipe.
95    
96    2004-12-19  Bernhard Reiter <[email protected]>
97    
98            svgexport: Improved code quality, mainly by better naming.
99    
100            * Extensions/svgexport/svgmapwriter.py:
101            DrawPath() renamed to DrawPolygonPath(),
102            added documentation, improved comments and variable names.
103            
104            * Extensions/svgexport/svgmapwriter.py,
105              Extensions/svgexport/test/test_svgmapwriter.py:
106            All using DrawPolygonPath() now, the default parameter closed=True
107            omitted.
108    
109            * Extensions/svgexport/test/test_svgmapwriter.py:
110            renamed test_polygon_opened() to test_polyline()
111            renamed test_transparent_polygon() to test_transparent_polyline()
112    
113    2004-12-18  Jan-Oliver Wagner <[email protected]>
114    
115            Some fixes of gns2shp extension.
116    
117            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
118            package.
119    
120            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
121            dynamically.
122    
123            * Extensions/gns2shp/test/README: Simplified description how to test.
124    
125            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
126            fixed some dimensions of fields according to the GNS documentation
127            which seems to change undocumented.
128            Now killing trailing \n and/or \r from MODIFY_DATE.
129            This fixes RT#2453.
130    
131    2004-12-18  Bernhard Reiter <[email protected]>
132    
133            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
134    
135            * Extensions/svgexport/test/test_svgmapwriter.py:
136            Added new tests: test_export_polygon_with_hole()
137            and test_polygon_with_hole().
138    
139            * Extensions/svgexport/svgmapwriter.py
140            (draw_polygon_shape()): Uses DrawPath correctly now.
141    
142            * Doc/manual/thuban-manual.xml: Added documentation for stable
143            extention svgexport.    
144            * Doc/manual/thuban-manual-de.xml: Copied English section about
145            svexport over.
146    
147            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
148    
149            * Extensions/svgexport/svgsaver.py,maplegend.py:
150            Moved from experimental to stable extension menu.
151    
152            * Extensions/svgexport/TODO: updated.
153    
154    
155    2004-12-18  Bernhard Reiter <[email protected]>
156    
157            Added Extensions/svgexport/TODO
158    
159    2004-12-18  Bernhard Reiter <[email protected]>
160    
161            Refactored in svgexport:
162            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
163    
164            * Extensions/svgexport/svgmapwriter.py
165            Added verbosity level 3 to print out polygon points.
166            (class Point): added __repr__
167            (class Brush, __str__()): Added space after ,.
168            (DrawPolygon): Renamed to DrawPath()
169            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
170            (DrawLines): Using DrawPath now.
171    
172            * Extensions/svgexport/test/test_svgmapwriter.py:
173            Replaced DrawPolygon() calls with DrawPath() and put the first argument
174            inside another list. Adapted test data with a newline before "M".
175    
176    2004-12-18  Bernhard Reiter <[email protected]>
177            
178            Refactored svgexport tests: 9 double tests runs eliminated;
179            code size reduced by 8 lines.
180    
181            * Extensions/svgexport/test/test_svgmapwriter.py:
182            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
183            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
184            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
185            this fixed the double running of the nine tests of TestVirtualDC.
186            (class TestVirtualDC): Using self.dc and self.file from setUp().
187    
188    2004-12-17  Bernhard Herzog  <[email protected]>
189    
190            Two windows specific fixes ported from thuban-1�0-branch:
191    
192            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
193            instead of getlocale because getlocale doesn't return a usable
194            encoding name on a german windows 2000
195    
196            * setup.py: windows build: Removed the absolute path names and
197            made all prfixes relative to the directory containing setup.py.
198            Makes it a little easier to adapt to a different system.
199    
200    2004-12-16  Bernhard Herzog  <[email protected]>
201    
202            Add support for PostGIS tables with LINESTRING geometries.
203            Fixes RT#2299
204    
205            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
206    
207            * test/postgissupport.py
208            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
209            table to "roads-multi" because it now uses MULTILINESTRING
210            geometries and introduce a new "roads" table that uses LINESTRING
211            (coords_to_multilinestring): Make the doc string more precise
212            (coords_to_linestring): New.  Create a LINESTRING WKT
213            representatin
214            (wkt_converter): Add coords_to_linestring
215            (upload_shapefile): Rephrase the doc-string a bit.
216    
217            * test/test_postgis_db.py (TestPostGISShapestoreArc)
218            (LineStringTests)
219            (TestPostGISShapestoreLineString)
220            (TestPostGISShapestoreMultiLineString): Split
221            TestPostGISShapestoreArc into a base class LineStringTests and two
222            derived classes TestPostGISShapestoreLineString for LINESTRING
223            geometries and TestPostGISShapestoreMultiLineString for
224            MULTILINESTRING geometries.  Most test methods are in the base
225            class with the exception of tests that explicitly check the raw
226            format.
227    
228    2004-12-16  Bernhard Herzog  <[email protected]>
229    
230            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
231    
232            * test/postgissupport.py (find_postgis_sql): Different postgis
233            versions put the postgis.sql file into slightly different places
234            so we have to look in both.  The updated doc string describes this
235            is more detail.
236    
237            * test/test_postgis_db.py
238            (TestPostGISSpecialCases.test_column_name_quoting): The return
239            value of UniqueValues is unsorted, so it has to be sorted for
240            comparison.
241    
242    2004-12-16  Bernhard Herzog  <[email protected]>
243    
244            Fix for RT#2237
245    
246            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
247            panel to be shown is the UnknownProjPanel disable the OK and Try
248            buttons.  Otherwise enable them.
249            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
250            the parameters.  In that case __GetProjection also returns None
251            now.
252    
253    2004-12-15  Bernhard Herzog  <[email protected]>
254    
255            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
256            minimum number of classes to 2.  The calculate_quantiles needs at
257            least two and raises an exception otherwise.  
258            Fixes RT#2549
259    
260    2004-12-15  Bernhard Herzog  <[email protected]>
261    
262            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
263            so that it returns a result for select statements.
264            (PostgreSQLServer.server_version): New.  Return the version of the
265            server software.
266            (PostgreSQLServer.require_authentication): The format of
267            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
268            server version and generate the file in the correct format
269    
270    2004-12-15  Bernhard Herzog  <[email protected]>
271    
272            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
273            in the doc string and rephrase it a little.
274    
275    2004-12-15  Frank Koormann <[email protected]>
276    
277            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
278            session has been loaded successfully. The check is called by the relevant
279            tests after executing load_session().
280    
281    2004-12-13  Bernhard Herzog  <[email protected]>
282    
283            Make sure the region used to determine which shapes are visible
284            actually matches the region on the printed page.  If this isn't
285            done properly some shapes might not be printed.  
286            Fixes RT #2692
287    
288            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
289            renderer has to be at the same position as the mapregion
290    
291            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
292            has to be moved by (self.shiftx, self.shifty) too.
293    
294    2004-12-13  Bernhard Herzog  <[email protected]>
295    
296            * libraries/pyprojection/Projection.i: Work around a bug in the
297            generated python code which leads to exception in the __del__
298            method when the constructor fails.  See the comments in the code
299            for more details.
300    
301            * libraries/pyprojection/Projection.py: Updated from Projection.i
302            with SWIG.
303    
304    2004-12-13  Bernhard Herzog  <[email protected]>
305    
306            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
307            (TestAltPath.test_02_path_error_fix_from_list)
308            (TestAltPath.test_05_path_error_fix_from_list_changed)
309            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
310            is destroyed in tearDown, so there's no need to do it in a test
311            case.
312    
313            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
314            debug print
315    
316    2004-12-13  Bernhard Herzog  <[email protected]>
317    
318            * Extensions/svgexport/test/test_svgmapwriter.py
319            (TestDrawSplines.setUp): Do not use super with the unittest
320            classes because in Python 2.2 they're still old-style classes.
321    
322    2004-12-13  Frank Koormann <[email protected]>
323    
324        Alternative Path feature: When loading a (moved) session where
325            shapefiles cannot be found, ask the user. Use the specified path
326            if further shapefiles are missing. However, ask the usr for confirmation
327            in such cases.
328    
329            * test/test_load.py (TestAltPath): New, tests for alternative path feature
330            in load_session()
331            (Shapefile_CallBack): Helper, implements controllable callback.
332    
333            * Thuban/UI/application.py (ThubanApplication.OnInit):
334            Added "alt_path" to self.path
335            (ThubanApplication.OpenSession): Added shapefile_callback as second
336            callback similar to db_connection_callback.
337            (ThubanApplication.run_alt_path_dialog): New, implementaion of
338            shapefile_callback. In addition to raising the dialog the control of
339            self.path('alt_path') is implemented here.
340    
341            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
342            (SessionLoader.open_shapefile): Open shapefile, eventually with
343            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
344            formerly used in start_fileshapesource()/start_layer().
345            (SessionLoader.start_fileshapesource): Call open_shapefile().
346            (SessionLoader.start_layer): Call open_shapefile().
347            (load_session): Added shapefile_callback.
348    
349            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
350            feature (search / check).
351            
352            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
353    
354    2004-12-11  Bernhard Reiter <[email protected]>
355    
356             svgexport 0.9.2: Point size supports for maps.
357    
358            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
359            (def draw_point_shape): new parameter size defaults to 2 as before.
360            (draw_shape_layer_incrementally): Moved draw_func log line higher.
361            Added draw_func call with size when dealing with a point layer.
362    
363            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
364            
365    2004-12-11  Bernhard Reiter <[email protected]>
366    
367            Made sure that newlines are inserted in the svg path d attributes
368            to raise the chance that the line length will be below 255 characters,
369            as recommended by REC SVG 1.1 in section 8.3.1.
370    
371            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
372            Adding \n before L's and changed whitespace handling.
373    
374            * Extensions/svgexport/test/test_svgmapwriter.py:
375            Adapted tests to new whitespace handling of DrawPolygon.
376    
377    2004-12-11  Bernhard Reiter <[email protected]>
378    
379            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
380    
381            * Extensions/svgexport/test/test_svgmapwriter.py:
382            Removed test_drawbezier in favour of new test_drawspline3 and
383            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
384            All only to test DrawSpline.
385    
386            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
387            New implementation now really using the strange algorithm of
388            xfig 3.1's approximated splines and its conversion to postscript
389            with one twist: SVG can do quadratic beziers, so skipped translation
390            to cubic beziers.
391            (TestWithDC): Typo in comment fixed.
392    
393    2004-12-09  Martin Schulze  <[email protected]>
394    
395            * Thuban/Model/classgen.py: Added missing character encoding
396    
397            * Extensions/wms/properties.py (OpenWMSProperties): removed
398    
399            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
400            support for get_srs_discrepancies() since there are no
401            discrepancies anymore (was a thinko)
402    
403            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
404            format priority now that more formats are supported globally by
405            the render engine.
406    
407    2004-12-08  Silke Reimer <[email protected]>
408            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
409            because it is not available in all versions of ogr
410    
411    2004-12-08  Bernhard Reiter <[email protected]>
412            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
413            global tests until a real one is commited.
414    
415    2004-12-07 Nina H�ffmeyer <[email protected]>
416    
417            * /Extensions/ogr/: Adding a new extension to read shapefiles with
418            ogr. It is planned to add other vector formats.
419    
420            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
421    
422    2004-12-07  Jan-Oliver Wagner <[email protected]>
423    
424            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
425            part of a (non-)fix to renable that the tests are always
426            executed.
427    
428    2004-12-07  Bernhard Reiter <[email protected]>
429    
430            * Extensions/svgexport/test/test_svgmapwriter.py:
431            Added test_drawbezier() to test DrawSpline().
432    
433            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
434            Really implemented bezier drawing.
435    
436            * Extensions/svgexport/__init__.py: Bumped version of svgexport
437            to 0.9.1 because now the legend examples lines styles
438            will be drawing with beziers.
439    
440    2004-12-05  Martin Schulze  <[email protected]>
441    
442            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
443            GIF as supported bitmap image formats (helpful for the WMS extension)
444    
445    2004-11-30  Martin Schulze  <[email protected]>
446    
447            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
448            Improved the test for the internal compare method
449    
450    2004-11-27  Jan-Oliver Wagner <[email protected]>
451    
452            * Thuban/UI/about.py (About.__init__): Added
453            Norbert Solymosi for hungarian translation and Ole Rahn
454            as contrbutor. Moved Bernhard Reiter from Contributor
455            to Developer.
456    
457    2004-11-27  Bernhard Reiter <[email protected]>
458    
459            * Extensions/svgexport/test/test_svgmapwriter.py:
460            Removed Jan from author list as he did not change enough significant
461            lines yet.
462    
463            * Extensions/svgexport/__init__.py: Added Bernhard as author
464            of the Extension.
465    
466    2004-11-27  Jan-Oliver Wagner <[email protected]>
467    
468            * po/hu.po: New. Hungarian translation. Contributed
469            by Norbert Solymosi.
470    
471    2004-11-26  Bernhard Herzog  <[email protected]>
472    
473            * Extensions/svgexport/test/test_svgmapwriter.py
474            (Testobjectexport.test_transparent_polygon): Commented out some
475            debug prints
476    
477    2004-11-24  Jan-Oliver Wagner <[email protected]>
478    
479            Fix broken tests for svg extension and added svg legend
480            to Experimental menu.
481    
482            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
483            the test run correctly even if the extension is a package.
484            Also removed the "import Thuban" which makes no sense.
485    
486            * Extensions/svgexport/__init__.py: Fix to have the extensions'
487            test module also be executed from the global test routine.
488            This is done by looking for the absense of the DISPLAY variable.
489    
490            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
491            to Experimental menu since this module has yet not reached a stable
492            status (ie. 1.0).
493    
494    2004-11-22  Bernhard Reiter <[email protected]>
495    
496            * Extensions/svgexport/svgmapwriter.py:
497            Added verbose variable and some logging depending on it.
498            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
499            because counting i is not necessary.
500            (class Pen, class Brush): Added simple __str__ methods.
501            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
502            not exported to svg file) Note: holes still unhandled.
503    
504            * Extensions/svgexport/test/test_svgmapwriter.py:
505                    Made a baseclass TestWithDC for test needed a DC.
506                    Added tests for bug #2698 (transparent polygons are not
507                    exported to svg file):
508                    Testobjectexport.test_transparent_polygon()
509    
510            * Thuban/Model/base.py (UnsetModified):
511            Fixed some typos in docstring.
512    
513            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
514            Added hints on the used algorithm for handling holes.
515    
516    2004-11-20  Jan-Oliver Wagner <[email protected]>
517    
518            Some face lifting for the examples.
519    
520            * Examples/__init__.py: Make this directory a package.
521    
522            * Examples/simple_extensions/__init__.py: Make this directory a package.
523    
524            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
525            menu to Examples menu.
526    
527            * Examples/simple_extensions/simple_command.py: Some more comments,
528            minor changes.
529    
530            * Examples/simple_extensions/simple_tool.py: Minor changes.
531    
532    2004-11-20  Jan-Oliver Wagner <[email protected]>
533    
534            Changed way of extension registry for wms and added extension
535            registry for umn_mapserver extension.
536    
537            * Extensions/wms/__init__.py: Added registry entry and the importing
538            of the actual wms module. Included a test for the required PyOGCLib.
539    
540            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
541    
542            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
543            importing of the actual umn mapserver management modules.
544            Included a test for the required Python MapScript.
545    
546    2004-11-20  Jan-Oliver Wagner <[email protected]>
547    
548            Changed way of extension registry for importAPR, bboxdump
549            and added extension registry for svgexport.extension registry for
550            svgexport.
551    
552            * Extensions/importAPR/__init__.py: Added registry entry and the importing
553            of the actual importAPR module.
554    
555            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
556            __init__.py).
557    
558            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
559            ����of the actual bboxdump module.
560    
561            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
562            ����__init__.py).
563    
564            * Extensions/svgexport/__init__.py: Added registry entry and the importing
565            of the svgsaver module.
566    
567            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
568            to Experimental menu since this module has yet not reached a stable
569            status (ie. 1.0).
570    
571    2004-11-18  Jan-Oliver Wagner <[email protected]>
572    
573            Now the hit test considers the size of point symbols.
574    
575            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
576            'size' defaulting to the previously fixed value 5.
577            Extended doc-string.
578            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
579            for symbols.
580            Now the size of the largest point symbol is determined to find out
581            about whether the point has been hit.
582            This fixes the problem that only clicks inside a fixed distance of
583            5 where found.
584    
585    2004-11-17  Jan-Oliver Wagner <[email protected]>
586    
587            Another open issue fixed regarding sizeable symbols: correct rendering of
588            selected symbols.
589    
590            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
591            Added consideration of the specific size of point symbols.
592            The property for each point symbol is retrieved and the size applied
593            for the rendering method.
594            Added doc-string.
595    
596    2004-11-16  Jan-Oliver Wagner <[email protected]>
597    
598            Changed way of Extension Registry for gns2shp and profiling.
599    
600            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
601            __init__.py).
602    
603            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
604            of the actual gns2shp module.
605    
606            * Extensions/profiling/profiling.py: Removed registry entry (moved to
607            __init__.py).
608    
609            * Extensions/profiling/__init__.py: Added registry entry and the importing
610            of the actual profiling module.
611    
612    2004-10-28  Bernhard Reiter <[email protected]>
613    
614            * Extensions/svgexport/: Minor improvements to doc strings.
615    
616    2004-10-07  Jan-Oliver Wagner <[email protected]>
617    
618            Further elements for sizable point objects now
619            making this feature usable though not yet complete.
620    
621            * Thuban/Model/save.py (SessionSaver.write_classification): Write
622            attribute 'size' for cldata when the shape layer is of point type.
623            This also now make the test_load.py tests happy.
624    
625            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
626            gradient.
627    
628            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
629            ID_SELPROP_SPINCTRL_LINEWIDTH.
630            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
631            (ID_SELPROP_SPINCTRL_SIZE): New Id.
632            (SelectPropertiesDialog.__init__): Added a second spin control
633            for the size in case the corresponding layer is of point type.
634            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
635            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
636            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
637            and refresh preview.
638    
639    
640    
641    2004-10-04  Martin Schulze  <[email protected]>
642    
643            * Extensions/wms/test/test_parser.py
644            (TestWMSCapabilitiesParser.test_compareLists): Added missing
645            self-test for compareLists()
646            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
647            self-test for compareDicts()
648            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
649            to verify the test routine fails with non-equal arguments
650            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
651            to verify the test routine fails with non-equal arguments
652    
653    2004-10-03  Jan-Oliver Wagner <[email protected]>
654    
655            First elements for sizeable point objects.
656    
657            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
658    
659            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
660    
661            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
662            of a corresponding argument is given.
663            (TestSymbolSize): New. Test the size attribute of cldata.
664    
665            * Thuban/Model/classification.py: Removed some trailing whitespaces.
666            (ClassGroupProperties.__init__): Set default size.
667            (ClassGroupProperties.SetProperties): Set the size.
668            (ClassGroupProperties.GetSize): New. Return the size.
669            (ClassGroupProperties.SetSize): New. Set the size.
670            (ClassGroupProperties__eq__): Compare also size.
671            (ClassGroupProperties__repr__): Print also size.
672    
673            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
674            the size attribute.
675    
676            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
677            Also, now there is a return value that indicates whether the drawing
678            size exceeded the given rect extent and if so the new extent.
679            Finally, point objects are drawn depending on the size. If either
680            the width or height is exceeded, the new extent is returned.
681            (ClassRenderer.Draw): Now when calling the previewer drawing function,
682            evaluate the return value and, if not None, adapt the grid widget size
683            accordingly and redraw again.
684    
685            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
686            If the draw function is for points, call it with the size as additional
687            parameter.
688            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
689            the size. Compute the radius using the size.
690    
691            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
692            that Thuban supports size, apply this correctly.
693    
694            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
695    
696    2004-10-03  Jan-Oliver Wagner <[email protected]>
697    
698            * Doc/manual/thuban-manual-de.xml: Started translation of
699            Map chapter.
700    
701    2004-10-01  Martin Schulze  <[email protected]>
702    
703            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
704            argument for general use through properties-dialog selector
705            
706            * Thuban/UI/classifier.py: Register properties dialog classes for
707            both provided layer classes/types.
708    
709            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
710            map can be retrieved through the parent which is passed to the
711            constructor anyway and doesn't require an argument of its own,
712            required for the unification of arguments for general use through
713            properties-dialog selector.
714            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
715            whether a dialog is already opened (and raising it to the users
716            attention) and creating a new dialog into a function of its own
717            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
718            method
719            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
720            global registration of properties dialog classes (which are indeed
721            layer-specific).
722    
723            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
724            for general use through properties-dialog selector, the map can be
725            retrieved through the parent and doesn't require an argument of
726            its own.
727    
728            * Extensions/wms/wms.py: Register the properties dialog class for
729            the provided WMS layer
730    
731    2004-09-28  Jan-Oliver Wagner <[email protected]>
732    
733            New feature: Registry for Extensions.
734    
735            * Thuban/UI/extensionregistry.py: This module defines a registry for
736            Extensions.
737    
738            * Thuban/UI/about.py (About.__init__): Added description
739            of the registered extensions with all of the information.
740    
741            * Thuban/Model/extension.py (Extension): Improved doc-string.
742    
743            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
744            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
745            Extensions/wms/wms.py: Added registration of the extension.
746    
747    2004-09-27  Bernhard Reiter <[email protected]>
748    
749            More fixes to svgexport to make used ids unique and
750            conforming to XML's Name production.
751    
752            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
753            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
754            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
755            Added Bernhard R. as author.
756            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
757            concatenation char now (makes test_make_ide_nosetbaseid() valid).
758            Also transform second id part with "%d" and catch the TypeError
759            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
760            Corrected typo inBernhard's author line.
761            (SetBaseID): Return the transformed base id. Transform characters
762            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
763            import binascii. If to be set string starts with "xml" or so, add "t".
764            (draw_shape_layer_incrementally): use the returned value of SetBaseID
765            for used_baseids checks.
766    
767    2004-09-25  Bernhard Herzog  <[email protected]>
768    
769            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
770            Remove a debug print and some tab characters.
771    
772    2004-09-25  Bernhard Reiter <[email protected]>
773    
774            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
775            (SetBaseID, SetID, make_id): Improved docstring comments to explain
776            the interaction of the three functions and the XML id contrains.
777    
778    
779    2004-09-23  Jan-Oliver Wagner <[email protected]>
780    
781            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
782            Module.
783    
784            * Doc/README: Added info on ThubanModel.xmi.
785    
786    2004-09-23  Jan-Oliver Wagner <[email protected]>
787    
788            * Doc/README: New. Some info about how to generate technical
789            documentation from the source code.
790            This text was send to the Thuban developer mailing list on
791            September 21st 2004 by Bernhard Reiter.
792    
793    2004-09-21  Bernhard Reiter <[email protected]>
794    
795            Improved the svgexport to only use unique ids. Will issues
796            an error message dialoge when two layer names are the same.
797            ShapeIDs are now added with a dash within the svg ids.
798    
799            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
800            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
801            (TestSVGRenderer): New test class with test_make_in() and
802            test_check_for_layer_name_clash()
803            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
804            and draw_shape_layer_incrementally() to not use a baseid twice,
805            satisfying test_check_for_layer_name_clash()
806            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
807            test_make_in().
808            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
809            and wxICON_HAND.
810            (write_to_svg): Put dc and rendering in a try statement and on
811            catching SVGmapWriterError notify the user and delete the target file.
812    
813    2004-09-20  Bernhard Reiter <[email protected]>
814    
815            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
816    
817    2004-09-03  Jan Sch�ngel  <[email protected]>
818    
819            * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a
820            small bug with the line color. Now the line color will now only set
821            if it is set in Thuban an not Transparent.
822            
823            * Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with
824            deleting the layers from mapfile. Now all layers will delete backwards
825            from the last.
826    
827    2004-08-20  Silke Reimer <[email protected]>
828    
829            * Thuban/Model/layer.py:
830            Fixes bug in projection handling: Otherwise very large region might not
831            have valid values in the layer's projection.
832    
833    2004-08-20  Silke Reimer <[email protected]>
834    
835            * Thuban/UI/about.py:
836            small changes to be consistent with coding style.
837              
838    2004-08-13  Martin Schulze  <[email protected]>
839    
840            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
841            Adjusted a comment
842    
843    2004-08-11  Silke Reimer <[email protected]>
844    
845            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
846                    too many and too enhanced imports of locale
847    
848    2004-08-10  Silke Reimer <[email protected]>
849    
850            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
851                    function unicodeToLocale() to convert special characters to users
852                    locale encoding
853    
854    2004-08-10  Jan-Oliver Wagner <[email protected]>
855    
856            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
857            lower case letter'
858    
859    2004-08-09  Jan Sch�ngel  <[email protected]>
860    
861            * ChangeLog: Rewrite the last ChangeLog entry to follow
862            the standard way.
863    
864            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
865            the function where it is needed, because it don't works if it stands
866            at the beginning.
867            (MF_Layer.__init__): Removed the extra numclassed variable. Now
868            numclasses from the mapscript will be used.
869            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
870            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
871            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
872            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
873            (MF_Map.create_new_layer): New. A new Layer is created and associated
874            with the mapscript object.
875            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
876            the mapscript.
877            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
878            linked to the layer in thuban, else the layerobject linked to the
879            thubanlayer will be used.
880            AnnotationLayer will now store the filename of the shapefile.
881            (MF_Map.remove_layer): If a layer is removed the associated object
882            must be set new.
883            
884            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
885            layers which are exists in thuban to the mapobj. All removed Layers
886            will be removed from the mapobj.
887            Added comments to all functions.
888            (thuban_to_map): No layer will be removed here.
889            
890            * Extensions/umn_mapserver/mf_handle.py
891            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
892            Layersettings for the mapserver kann be edited.
893    
894            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
895            imported, will be linked with the associated MF_Layer.
896            (import_mapfile): All layers, which are not selected, will be removed.
897            Disable the "import layer from mapfile" menu option.
898    
899            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
900            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
901            layer on permanently.
902    
903    2004-08-03  Jan Sch�ngel  <[email protected]>
904    
905            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
906            New. This function removes all metadata
907            (MF_Layer.set_group): New. Set the group setting.
908            (MF_Layer.get_group): New. Get the group setting.
909            (MF_Map): Removed the extra numlayers variable, used the mapscript
910            parameter instead.
911            (MF_Map.get_numlayers): New. This get numlayers.
912            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
913            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
914            if the object is an instance. Also added the annotation layer here to
915            export, but only the layer is created in the mapfile.
916    
917            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
918            the check if a mapobj exist, because its not needed anymore. The
919            export function is only available if a mapobj exist.
920            Use the new function to remove all layers.
921            
922            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
923            option and the metadata button. The layer dialog is temporary disabled.
924            (Metadata_CustomDataTable): Added some functions to show the grid
925            correct.
926    
927            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
928            the number of layer from import_mapfile to this function.
929            (AnnotationLayer): New. This Class shows the Annotation layer in
930            thuban. The layer don't do anything. It's only to show the layer
931            and to save the layer order.
932            (add_annotationlayer): New. Import an annotation layer to thuban.
933            (select_layer2import): New. Import only layers to thuban and not
934            the other settings like projection or scalebar.
935            (create_new_mapfile): Moved the _has_umn_mapobj function and the
936            create_new_mapfile functions from mf_handle.py to mf_import.py.
937            
938            * Extensions/umn_mapserver/sample/iceland.map: Added the group
939            parameter to the roads and cultural layers. Also added a new
940            Annotation Layer for the cultural points.
941    
942            * Extensions/umn_mapserver/sample/iceland.html: Added the select
943            option for the annotation layer.
944    
945            * Extensions/umn_mapserver/sample/index.html: Added the start
946            parameter for the annotation layer.
947    
948    2004-08-01  Jan-Oliver Wagner <[email protected]>
949    
950            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
951            translation completed.
952    
953            * Doc/manual/thuban-manual.xml (Chapter Session Management):
954            Fixed unprecise description for Save Session.
955    
956    2004-07-31  Jan-Oliver Wagner <[email protected]>
957    
958            Started translation of Users Manual into german.
959    
960            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
961    
962            * Doc/manual/Makefile: Added build instructions for german
963            users manual.
964    
965            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
966    
967    2004-07-28  Jan Sch�ngel  <[email protected]>
968    
969            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
970            functions. Now all metadata will handle by the function and its not
971            needed to initialize it from outside. Therefor the associated mapobj
972            will be stored in the Metadata Object. So we can use the special
973            functions from the associated mapobj to get the Metadata.
974            Therefor all initialization code for the metadata is removed from the
975            other classes.
976            (MF_Layer): Added a function to get the metadata object.
977            (MF_Map): Added a function to set the mappath, the path where
978            the mapfile ist stored.
979    
980            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
981            to set the extent in the mapfile. Now the code is set by the displayed
982            data in the Thuban-view.
983            (export_mapfile): The shapepath is now set empty, until relative
984            pathnames are supported.
985    
986            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
987            metadata. Yet only mapfile metadata are supported. Layer and class
988            supported are not implemented.
989            Added a dialog to handle layer informations. The dialog only shows the
990            selected layer at the moment.
991    
992            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
993            code for setting the extent in thuban. Now the extent is set to the
994            given extent from the mapfile.
995            Fixed a logical mistake. Now the extent is set when realy a layer is
996            loaded, and not if one is selected to load.
997    
998            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
999            move the shown map in the browser.
1000    
1001            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
1002            line to the mapobj and added metadata to the political layer.
1003    
1004            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
1005            for Metadata.
1006    
1007    2004-07-26  Martin Schulze  <[email protected]>
1008    
1009            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
1010            ClassMapper
1011    
1012            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
1013            case for the new ClassMapper
1014    
1015    
1016    2004-07-22  Bernhard Herzog  <[email protected]>
1017    
1018            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
1019            visible extent of the map in projected coordinates
1020    
1021            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
1022            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
1023            tests.
1024            (SimpleViewPortTest.test_visible_extent): New. The real test for
1025            VisibleExtent()
1026    
1027    2004-07-22  Bernhard Herzog  <[email protected]>
1028    
1029            * test/test_viewport.py: Use support.run_tests as the main
1030            function when running asa script.
1031    
1032    2004-07-22  Jan Sch�ngel <[email protected]>
1033    
1034            * Extensions/umn_mapserver/mf_export.py: Added "import os"
1035            Removed the old "import Thuban.UI.mainwindow" code.
1036            (tbextent_to_map): Removed the extra function and at the code direct
1037            to "thuban_to_map" function.
1038            (write_creatorcomment): Added. Now a short comment is added to the
1039            beginning of an generated mapfile.
1040            (export_mapfile): Now the Path and filename are saved in to variables,
1041            and not together in one variable. This is needed for the new
1042            write_creatorcomment function.
1043                    
1044            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
1045            import module "re". Also added Range and the ClassGroupRange import
1046            from Thuban. Both are needed for the new range expression import.
1047            (create_rangeexpression): Added. Creates a Range Expression in Thuban
1048            style from a given mapfile expression.
1049            (added_rasterlayer): Make some small code changes. The shapepath is
1050            now stored in an extra variable and the clazz_name is set empty if no
1051            class name set in the mapfile.
1052            Changed the Error message for Range Expressions, becaus the new
1053            function create a error string which will be shown in the dialog.
1054    
1055            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
1056            range expression import.
1057    
1058    2004-07-21  Jan-Oliver Wagner <[email protected]>
1059    
1060            * Extensions/umn_mapserver/README: Added hint that
1061            installation as root can be avoided. Removed all tabs.
1062    
1063    2004-07-16  Bernhard Herzog  <[email protected]>
1064    
1065            * test/test_viewport.py
1066            (ViewPortTest.test_changing_map_projection): Check that changing
1067            the projection of an empty map shown in a viewport doesn't lead to
1068            exceptions in the viewport's handler for the
1069            MAP_PROJECTION_CHANGED messages
1070    
1071            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
1072            try to keep the same region visible when the map actually contains
1073            something
1074    
1075    2004-07-15  Jan Sch�ngel <[email protected]>
1076    
1077            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
1078            mappath directly from the mapobj. Is needed because of the changes
1079            in mf_import.py.
1080            (MF_Layer.add_thubanclass): Added a new comment.
1081            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
1082            mapobj is empty there is no extent get from thuban an so no one can
1083            set to th mapobj.
1084            
1085            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
1086            the discription.
1087            Split the funktion in to three smaller ones. The new functions are
1088            add_rasterlayer, add_polygonlayer and select_layer2import.
1089            Removed the mapfilepath and filepath initialisation, because its know
1090            include in the new functions.
1091            Now nothing will be imported if cancel is pressed in the
1092            layer choice dialog.
1093    
1094    2004-07-14  Jan Sch�ngel <[email protected]>
1095    
1096            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
1097            import.
1098            (MF_Symbolset): Removed the extra variable for numsymbols.
1099            (MF_Class.__init__): Added a comment to the exception clause.
1100            Removed the extent init, because it was not needed anymore.
1101            (MF_Layer.add_thubanclass): Added the code to set the class name to
1102            the expression value from thuban if no label is defined.
1103            Added the code to export Range expressions from thuban to the mapfile.
1104            (MF_Map.set_extent): Removed the exception and replace it by some if
1105            code. If the size of a map is not defined the size will be set to 1,1.
1106            This is necessary because if the extent is set, mapscript checks if
1107            the size is greater than zero.
1108            (MF_Web): Added the get and set function for the template.
1109    
1110            * Extensions/umn_mapserver/mf_export.py: Added the function to check
1111            if a mapobject exists and used it to set the status of the menu items.
1112            If no mapfile exists the settings could not be edditied.
1113            Define after which menuitem the exportitem will include.
1114            
1115            * Extensions/umn_mapserver/mf_handle.py: Removed the import
1116            Thuban.UI.mainwindow clause, because it is not needed.
1117            Added the command Refresh() to all "OnChangeColor()" functions,
1118            because the color preview window was not updated on a color change.
1119            Added the function to check if a mapobject exists and used it to set the
1120            status of the menu items. If no mapobject exists the settings could not
1121            be edditied.
1122            (Map_Dialog): Moved the imagetype selector from the
1123            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
1124            (Web_Dialog): Removed the name label and added the template textbox.
1125    
1126            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
1127            the exception handling on loading the layers by an if statement. It
1128            is not necessary to us the exception there.
1129            The Filepath creation now use os.path.join to build the path.
1130    
1131            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
1132            definition from global to the setUp function. Now the testMap will
1133            initialize new on each test.
1134    
1135            * Extensions/umn_mapserver/sample/iceland.map: Include three new
1136            classes in the Line Layer, to test logical Expressions.
1137            Set the status of the class "Point9" in the Point Layer to off
1138            
1139    2004-07-13  Bernhard Herzog  <[email protected]>
1140    
1141            * Thuban/UI/baserenderer.py
1142            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
1143            optimization that tries not to draw layers under a raster layer.
1144            The bug was harmless.  All it effectively did was to produce The a
1145            strange messages about not being able to draw Layer instances for
1146            all vector layers below a raster layer which would be invisible
1147            anyway because the raster layer currently always covers the entire
1148            window
1149    
1150    2004-07-08  Jan Sch�ngel <[email protected]>
1151    
1152            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
1153            a list of supported outputformats. This formats are not alle supported
1154            because there is no possibility to get the outputformat without the
1155            name known. Make some formal changes to the code.
1156            (MF_Map.set_name()): Fixed a bug if the name is None.
1157    
1158            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
1159            statement, because its not needed anymore. The Outputformat is now
1160            given as string from the object. Make some formal changes to the code.
1161    
1162            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
1163            most of the new setting which were added during the last changes.
1164            Removed the MF_Size Test.
1165            
1166            * Extensions/umn_mapserver/test/test.map: Added a new class to the
1167            cultural Layer to test expressions and the the status of that layer
1168            from on to default.
1169            Changed the data path the the correct Thuban Data
1170            Added the Outputformat Object and Symbol Object
1171            
1172    2004-07-07  Jan Sch�ngel <[email protected]>
1173    
1174            * Extensions/umn_mapserver/mapfile.py: Added some new
1175            settings to edit (outputformat, label, imagetype)
1176    
1177            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
1178            the Label Dialog and add the OutputDialog.
1179            Make some changes to the code order.
1180    
1181    2004-07-06  Jan Sch�ngel <[email protected]>
1182    
1183            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
1184            and line Obj and add the scalebar_status_type, scalebar_style_type and
1185            scalebar_position_type.
1186            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
1187            are only used to create a Symbol like the circle in Thuban.
1188            Added the scalebarObject (MF_Scalebar)
1189            (MF_Class): Added set_status and get_status.
1190            (MF_Layer.add_thubanclass): Added code to set the class status
1191            (MF_Map): Added code to handle the symbols and scalebar
1192            (MF_Label): Added the set_partials and get_partials functions
1193            
1194            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
1195            from mapfile. Added a function to create a circle object like the one
1196            from thuban if no one exists.
1197            
1198            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
1199            press ok in the assosiated dialog and not at the end of the
1200            colordialog.
1201            Added the Dialog for the Scalebar.
1202            (Label_Dialog): Added the offset option
1203    
1204            * Extensions/umn_mapserver/mf_import.py: Added code to import the
1205            status of the Classes.
1206            Fixed a bug with the projection. Now the to_meter parameter will be
1207            added to the Projection only if it doesn't exists.
1208    
1209    2004-07-01  Jan Sch�ngel <[email protected]>
1210    
1211            Added the functionality to handle the content thuban is not
1212            able to handle directly.
1213    
1214            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
1215            Thuban with the possibility to edit the mapfile content.        
1216            
1217            * Extensions/umn_mapserver/mf_import.py: Added the possibility
1218            to import mapfiles without any layer selected. So it is possible
1219            to edit the other settings in a mapfile.
1220            (import_mapfile): Added code to use the editing functions.
1221            Added the possibility to import the projection to a layer if one
1222            is defined.
1223            Status settings (On,Off) will now set in thuban (visible, invisible).
1224            fixed a bug with with classnames. If no classname is set in mapfile
1225            the value in Thuban will set to the expression.
1226            
1227            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
1228            possibility to save a new mapfile or use the old one which is
1229            imported or new created.
1230            Added code to use the editing functions.
1231            Remove some not needed import statements
1232    
1233            * Extensions/umn_mapserver/mapfile.py: Added new types which are
1234            need for the editing functions.
1235            Added needed set-functions for the editing functions.
1236            Added the possibility to export rasterimages.
1237            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
1238            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
1239            moment.
1240            (MF_Class.set_thubanstyle): Now point layers will set to a default
1241            symbol to show a circle in mapserver and not only a 1px dot.
1242            (MF_Style.__init__): Fixed a bug with the color. Color was not set
1243            correct before.
1244            (MF_Size): Removed, because it is not needed.
1245            
1246            * Extensions/umn_mapserver/README: Added the hints to use the
1247            export and editing functions, too.
1248    
1249            * Extensions/umn_mapserver/sample/iceland.map: Added the
1250            new parameter "UNITS METERS".
1251            Change the political layer to status OFF.
1252    
1253            * Extensions/umn_mapserver/sample/README: Added some
1254            more details to setup the sample in the MapServer.
1255            
1256    2004-06-26  Bernhard Reiter <[email protected]>
1257    
1258            * Extensions/svgexport/test/test_svgmapwriter.py:
1259            Removed class VFile and used standard StringIO instead.
1260    
1261    2004-06-23  Jan Sch�ngel  <[email protected]>
1262    
1263            Add the export function to the umn_mapserver extension.
1264    
1265            * Extension/umn_mapserver/mf_export.py: New. This module extents
1266            Thuban with the possibility to export the Thuban content.
1267    
1268            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
1269            with the export module. Especially added the possibility to
1270            add thuban objects directly to the map objects.
1271    
1272            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
1273            because of the hint from Bernhard Herzog.
1274            Corrected the handling of absolute pathnames.
1275            Changed the Text of the Menu-Item, now the beginning is upper case.
1276    
1277            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
1278    
1279  2004-06-16  Jan Sch�ngel  <[email protected]>  2004-06-16  Jan Sch�ngel  <[email protected]>
1280    
1281          Add a sample and make some changes.          Add a sample and make some changes.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26