/[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 2358 by jan, Tue Sep 28 19:58:51 2004 UTC revision 2509 by jan, Mon Dec 27 09:09:01 2004 UTC
# Line 1  Line 1 
1    2004-12-27  Jan-Oliver Wagner <[email protected]>
2    
3            * Doc/manual/thuban-manual-de.xml: More translations.
4    
5    2004-12-23  Jan-Oliver Wagner <[email protected]>
6    
7            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
8            \n to stderr after the warnings. Thanks to Russell Nelson.
9    
10    2004-12-20  Nina Hueffmeyer <[email protected]>
11    
12            * Extensions/ogr/ogrshapes.py: Fixed some issues from
13            Bernhard (coding guidelines etc.). Additionally it is now possible to
14            display shapefiles containing feature collections (e.g.polygons
15            with holes). Works with gdal 1.2.1 now.
16    
17            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
18            from Bernhard (coding guidelines etc.). If ogr can't be imported,
19            tests are skipped now.
20    
21            * Extensions/ogr/ogrstart.py: Fixed some typings.
22    
23    2004-12-20  Bernhard Reiter <[email protected]>
24    
25            * Extensions/svgexport/TODO: updated to add support for
26            raster layers and labels for 1.0.1.
27    
28            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
29            Issue a warning now.
30    
31    2004-12-19  Bernhard Reiter <[email protected]>
32    
33            * Extensions/svgexport/TODO: Added idea to support triggering
34            the application down the pipe.
35    
36    2004-12-19  Bernhard Reiter <[email protected]>
37    
38            svgexport: Improved code quality, mainly by better naming.
39    
40            * Extensions/svgexport/svgmapwriter.py:
41            DrawPath() renamed to DrawPolygonPath(),
42            added documentation, improved comments and variable names.
43            
44            * Extensions/svgexport/svgmapwriter.py,
45              Extensions/svgexport/test/test_svgmapwriter.py:
46            All using DrawPolygonPath() now, the default parameter closed=True
47            omitted.
48    
49            * Extensions/svgexport/test/test_svgmapwriter.py:
50            renamed test_polygon_opened() to test_polyline()
51            renamed test_transparent_polygon() to test_transparent_polyline()
52    
53    2004-12-18  Jan-Oliver Wagner <[email protected]>
54    
55            Some fixes of gns2shp extension.
56    
57            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
58            package.
59    
60            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
61            dynamically.
62    
63            * Extensions/gns2shp/test/README: Simplified description how to test.
64    
65            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
66            fixed some dimensions of fields according to the GNS documentation
67            which seems to change undocumented.
68            Now killing trailing \n and/or \r from MODIFY_DATE.
69            This fixes RT#2453.
70    
71    2004-12-18  Bernhard Reiter <[email protected]>
72    
73            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
74    
75            * Extensions/svgexport/test/test_svgmapwriter.py:
76            Added new tests: test_export_polygon_with_hole()
77            and test_polygon_with_hole().
78    
79            * Extensions/svgexport/svgmapwriter.py
80            (draw_polygon_shape()): Uses DrawPath correctly now.
81    
82            * Doc/manual/thuban-manual.xml: Added documentation for stable
83            extention svgexport.    
84            * Doc/manual/thuban-manual-de.xml: Copied English section about
85            svexport over.
86    
87            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
88    
89            * Extensions/svgexport/svgsaver.py,maplegend.py:
90            Moved from experimental to stable extension menu.
91    
92            * Extensions/svgexport/TODO: updated.
93    
94    
95    2004-12-18  Bernhard Reiter <[email protected]>
96    
97            Added Extensions/svgexport/TODO
98    
99    2004-12-18  Bernhard Reiter <[email protected]>
100    
101            Refactored in svgexport:
102            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
103    
104            * Extensions/svgexport/svgmapwriter.py
105            Added verbosity level 3 to print out polygon points.
106            (class Point): added __repr__
107            (class Brush, __str__()): Added space after ,.
108            (DrawPolygon): Renamed to DrawPath()
109            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
110            (DrawLines): Using DrawPath now.
111    
112            * Extensions/svgexport/test/test_svgmapwriter.py:
113            Replaced DrawPolygon() calls with DrawPath() and put the first argument
114            inside another list. Adapted test data with a newline before "M".
115    
116    2004-12-18  Bernhard Reiter <[email protected]>
117            
118            Refactored svgexport tests: 9 double tests runs eliminated;
119            code size reduced by 8 lines.
120    
121            * Extensions/svgexport/test/test_svgmapwriter.py:
122            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
123            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
124            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
125            this fixed the double running of the nine tests of TestVirtualDC.
126            (class TestVirtualDC): Using self.dc and self.file from setUp().
127    
128    2004-12-17  Bernhard Herzog  <[email protected]>
129    
130            Two windows specific fixes ported from thuban-1�0-branch:
131    
132            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
133            instead of getlocale because getlocale doesn't return a usable
134            encoding name on a german windows 2000
135    
136            * setup.py: windows build: Removed the absolute path names and
137            made all prfixes relative to the directory containing setup.py.
138            Makes it a little easier to adapt to a different system.
139    
140    2004-12-16  Bernhard Herzog  <[email protected]>
141    
142            Add support for PostGIS tables with LINESTRING geometries.
143            Fixes RT#2299
144    
145            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
146    
147            * test/postgissupport.py
148            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
149            table to "roads-multi" because it now uses MULTILINESTRING
150            geometries and introduce a new "roads" table that uses LINESTRING
151            (coords_to_multilinestring): Make the doc string more precise
152            (coords_to_linestring): New.  Create a LINESTRING WKT
153            representatin
154            (wkt_converter): Add coords_to_linestring
155            (upload_shapefile): Rephrase the doc-string a bit.
156    
157            * test/test_postgis_db.py (TestPostGISShapestoreArc)
158            (LineStringTests)
159            (TestPostGISShapestoreLineString)
160            (TestPostGISShapestoreMultiLineString): Split
161            TestPostGISShapestoreArc into a base class LineStringTests and two
162            derived classes TestPostGISShapestoreLineString for LINESTRING
163            geometries and TestPostGISShapestoreMultiLineString for
164            MULTILINESTRING geometries.  Most test methods are in the base
165            class with the exception of tests that explicitly check the raw
166            format.
167    
168    2004-12-16  Bernhard Herzog  <[email protected]>
169    
170            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
171    
172            * test/postgissupport.py (find_postgis_sql): Different postgis
173            versions put the postgis.sql file into slightly different places
174            so we have to look in both.  The updated doc string describes this
175            is more detail.
176    
177            * test/test_postgis_db.py
178            (TestPostGISSpecialCases.test_column_name_quoting): The return
179            value of UniqueValues is unsorted, so it has to be sorted for
180            comparison.
181    
182    2004-12-16  Bernhard Herzog  <[email protected]>
183    
184            Fix for RT#2237
185    
186            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
187            panel to be shown is the UnknownProjPanel disable the OK and Try
188            buttons.  Otherwise enable them.
189            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
190            the parameters.  In that case __GetProjection also returns None
191            now.
192    
193    2004-12-15  Bernhard Herzog  <[email protected]>
194    
195            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
196            minimum number of classes to 2.  The calculate_quantiles needs at
197            least two and raises an exception otherwise.  
198            Fixes RT#2549
199    
200    2004-12-15  Bernhard Herzog  <[email protected]>
201    
202            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
203            so that it returns a result for select statements.
204            (PostgreSQLServer.server_version): New.  Return the version of the
205            server software.
206            (PostgreSQLServer.require_authentication): The format of
207            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
208            server version and generate the file in the correct format
209    
210    2004-12-15  Bernhard Herzog  <[email protected]>
211    
212            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
213            in the doc string and rephrase it a little.
214    
215    2004-12-15  Frank Koormann <[email protected]>
216    
217            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
218            session has been loaded successfully. The check is called by the relevant
219            tests after executing load_session().
220    
221    2004-12-13  Bernhard Herzog  <[email protected]>
222    
223            Make sure the region used to determine which shapes are visible
224            actually matches the region on the printed page.  If this isn't
225            done properly some shapes might not be printed.  
226            Fixes RT #2692
227    
228            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
229            renderer has to be at the same position as the mapregion
230    
231            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
232            has to be moved by (self.shiftx, self.shifty) too.
233    
234    2004-12-13  Bernhard Herzog  <[email protected]>
235    
236            * libraries/pyprojection/Projection.i: Work around a bug in the
237            generated python code which leads to exception in the __del__
238            method when the constructor fails.  See the comments in the code
239            for more details.
240    
241            * libraries/pyprojection/Projection.py: Updated from Projection.i
242            with SWIG.
243    
244    2004-12-13  Bernhard Herzog  <[email protected]>
245    
246            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
247            (TestAltPath.test_02_path_error_fix_from_list)
248            (TestAltPath.test_05_path_error_fix_from_list_changed)
249            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
250            is destroyed in tearDown, so there's no need to do it in a test
251            case.
252    
253            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
254            debug print
255    
256    2004-12-13  Bernhard Herzog  <[email protected]>
257    
258            * Extensions/svgexport/test/test_svgmapwriter.py
259            (TestDrawSplines.setUp): Do not use super with the unittest
260            classes because in Python 2.2 they're still old-style classes.
261    
262    2004-12-13  Frank Koormann <[email protected]>
263    
264        Alternative Path feature: When loading a (moved) session where
265            shapefiles cannot be found, ask the user. Use the specified path
266            if further shapefiles are missing. However, ask the usr for confirmation
267            in such cases.
268    
269            * test/test_load.py (TestAltPath): New, tests for alternative path feature
270            in load_session()
271            (Shapefile_CallBack): Helper, implements controllable callback.
272    
273            * Thuban/UI/application.py (ThubanApplication.OnInit):
274            Added "alt_path" to self.path
275            (ThubanApplication.OpenSession): Added shapefile_callback as second
276            callback similar to db_connection_callback.
277            (ThubanApplication.run_alt_path_dialog): New, implementaion of
278            shapefile_callback. In addition to raising the dialog the control of
279            self.path('alt_path') is implemented here.
280    
281            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
282            (SessionLoader.open_shapefile): Open shapefile, eventually with
283            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
284            formerly used in start_fileshapesource()/start_layer().
285            (SessionLoader.start_fileshapesource): Call open_shapefile().
286            (SessionLoader.start_layer): Call open_shapefile().
287            (load_session): Added shapefile_callback.
288    
289            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
290            feature (search / check).
291            
292            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
293    
294    2004-12-11  Bernhard Reiter <[email protected]>
295    
296             svgexport 0.9.2: Point size supports for maps.
297    
298            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
299            (def draw_point_shape): new parameter size defaults to 2 as before.
300            (draw_shape_layer_incrementally): Moved draw_func log line higher.
301            Added draw_func call with size when dealing with a point layer.
302    
303            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
304            
305    2004-12-11  Bernhard Reiter <[email protected]>
306    
307            Made sure that newlines are inserted in the svg path d attributes
308            to raise the chance that the line length will be below 255 characters,
309            as recommended by REC SVG 1.1 in section 8.3.1.
310    
311            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
312            Adding \n before L's and changed whitespace handling.
313    
314            * Extensions/svgexport/test/test_svgmapwriter.py:
315            Adapted tests to new whitespace handling of DrawPolygon.
316    
317    2004-12-11  Bernhard Reiter <[email protected]>
318    
319            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
320    
321            * Extensions/svgexport/test/test_svgmapwriter.py:
322            Removed test_drawbezier in favour of new test_drawspline3 and
323            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
324            All only to test DrawSpline.
325    
326            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
327            New implementation now really using the strange algorithm of
328            xfig 3.1's approximated splines and its conversion to postscript
329            with one twist: SVG can do quadratic beziers, so skipped translation
330            to cubic beziers.
331            (TestWithDC): Typo in comment fixed.
332    
333    2004-12-09  Martin Schulze  <[email protected]>
334    
335            * Thuban/Model/classgen.py: Added missing character encoding
336    
337            * Extensions/wms/properties.py (OpenWMSProperties): removed
338    
339            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
340            support for get_srs_discrepancies() since there are no
341            discrepancies anymore (was a thinko)
342    
343            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
344            format priority now that more formats are supported globally by
345            the render engine.
346    
347    2004-12-08  Silke Reimer <[email protected]>
348            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
349            because it is not available in all versions of ogr
350    
351    2004-12-08  Bernhard Reiter <[email protected]>
352            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
353            global tests until a real one is commited.
354    
355    2004-12-07 Nina H�ffmeyer <[email protected]>
356    
357            * /Extensions/ogr/: Adding a new extension to read shapefiles with
358            ogr. It is planned to add other vector formats.
359    
360            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
361    
362    2004-12-07  Jan-Oliver Wagner <[email protected]>
363    
364            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
365            part of a (non-)fix to renable that the tests are always
366            executed.
367    
368    2004-12-07  Bernhard Reiter <[email protected]>
369    
370            * Extensions/svgexport/test/test_svgmapwriter.py:
371            Added test_drawbezier() to test DrawSpline().
372    
373            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
374            Really implemented bezier drawing.
375    
376            * Extensions/svgexport/__init__.py: Bumped version of svgexport
377            to 0.9.1 because now the legend examples lines styles
378            will be drawing with beziers.
379    
380    2004-12-05  Martin Schulze  <[email protected]>
381    
382            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
383            GIF as supported bitmap image formats (helpful for the WMS extension)
384    
385    2004-11-30  Martin Schulze  <[email protected]>
386    
387            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
388            Improved the test for the internal compare method
389    
390    2004-11-27  Jan-Oliver Wagner <[email protected]>
391    
392            * Thuban/UI/about.py (About.__init__): Added
393            Norbert Solymosi for hungarian translation and Ole Rahn
394            as contrbutor. Moved Bernhard Reiter from Contributor
395            to Developer.
396    
397    2004-11-27  Bernhard Reiter <[email protected]>
398    
399            * Extensions/svgexport/test/test_svgmapwriter.py:
400            Removed Jan from author list as he did not change enough significant
401            lines yet.
402    
403            * Extensions/svgexport/__init__.py: Added Bernhard as author
404            of the Extension.
405    
406    2004-11-27  Jan-Oliver Wagner <[email protected]>
407    
408            * po/hu.po: New. Hungarian translation. Contributed
409            by Norbert Solymosi.
410    
411    2004-11-26  Bernhard Herzog  <[email protected]>
412    
413            * Extensions/svgexport/test/test_svgmapwriter.py
414            (Testobjectexport.test_transparent_polygon): Commented out some
415            debug prints
416    
417    2004-11-24  Jan-Oliver Wagner <[email protected]>
418    
419            Fix broken tests for svg extension and added svg legend
420            to Experimental menu.
421    
422            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
423            the test run correctly even if the extension is a package.
424            Also removed the "import Thuban" which makes no sense.
425    
426            * Extensions/svgexport/__init__.py: Fix to have the extensions'
427            test module also be executed from the global test routine.
428            This is done by looking for the absense of the DISPLAY variable.
429    
430            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
431            to Experimental menu since this module has yet not reached a stable
432            status (ie. 1.0).
433    
434    2004-11-22  Bernhard Reiter <[email protected]>
435    
436            * Extensions/svgexport/svgmapwriter.py:
437            Added verbose variable and some logging depending on it.
438            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
439            because counting i is not necessary.
440            (class Pen, class Brush): Added simple __str__ methods.
441            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
442            not exported to svg file) Note: holes still unhandled.
443    
444            * Extensions/svgexport/test/test_svgmapwriter.py:
445                    Made a baseclass TestWithDC for test needed a DC.
446                    Added tests for bug #2698 (transparent polygons are not
447                    exported to svg file):
448                    Testobjectexport.test_transparent_polygon()
449    
450            * Thuban/Model/base.py (UnsetModified):
451            Fixed some typos in docstring.
452    
453            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
454            Added hints on the used algorithm for handling holes.
455    
456    2004-11-20  Jan-Oliver Wagner <[email protected]>
457    
458            Some face lifting for the examples.
459    
460            * Examples/__init__.py: Make this directory a package.
461    
462            * Examples/simple_extensions/__init__.py: Make this directory a package.
463    
464            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
465            menu to Examples menu.
466    
467            * Examples/simple_extensions/simple_command.py: Some more comments,
468            minor changes.
469    
470            * Examples/simple_extensions/simple_tool.py: Minor changes.
471    
472    2004-11-20  Jan-Oliver Wagner <[email protected]>
473    
474            Changed way of extension registry for wms and added extension
475            registry for umn_mapserver extension.
476    
477            * Extensions/wms/__init__.py: Added registry entry and the importing
478            of the actual wms module. Included a test for the required PyOGCLib.
479    
480            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
481    
482            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
483            importing of the actual umn mapserver management modules.
484            Included a test for the required Python MapScript.
485    
486    2004-11-20  Jan-Oliver Wagner <[email protected]>
487    
488            Changed way of extension registry for importAPR, bboxdump
489            and added extension registry for svgexport.extension registry for
490            svgexport.
491    
492            * Extensions/importAPR/__init__.py: Added registry entry and the importing
493            of the actual importAPR module.
494    
495            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
496            __init__.py).
497    
498            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
499            ����of the actual bboxdump module.
500    
501            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
502            ����__init__.py).
503    
504            * Extensions/svgexport/__init__.py: Added registry entry and the importing
505            of the svgsaver module.
506    
507            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
508            to Experimental menu since this module has yet not reached a stable
509            status (ie. 1.0).
510    
511    2004-11-18  Jan-Oliver Wagner <[email protected]>
512    
513            Now the hit test considers the size of point symbols.
514    
515            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
516            'size' defaulting to the previously fixed value 5.
517            Extended doc-string.
518            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
519            for symbols.
520            Now the size of the largest point symbol is determined to find out
521            about whether the point has been hit.
522            This fixes the problem that only clicks inside a fixed distance of
523            5 where found.
524    
525    2004-11-17  Jan-Oliver Wagner <[email protected]>
526    
527            Another open issue fixed regarding sizeable symbols: correct rendering of
528            selected symbols.
529    
530            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
531            Added consideration of the specific size of point symbols.
532            The property for each point symbol is retrieved and the size applied
533            for the rendering method.
534            Added doc-string.
535    
536    2004-11-16  Jan-Oliver Wagner <[email protected]>
537    
538            Changed way of Extension Registry for gns2shp and profiling.
539    
540            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
541            __init__.py).
542    
543            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
544            of the actual gns2shp module.
545    
546            * Extensions/profiling/profiling.py: Removed registry entry (moved to
547            __init__.py).
548    
549            * Extensions/profiling/__init__.py: Added registry entry and the importing
550            of the actual profiling module.
551    
552    2004-10-28  Bernhard Reiter <[email protected]>
553    
554            * Extensions/svgexport/: Minor improvements to doc strings.
555    
556    2004-10-07  Jan-Oliver Wagner <[email protected]>
557    
558            Further elements for sizable point objects now
559            making this feature usable though not yet complete.
560    
561            * Thuban/Model/save.py (SessionSaver.write_classification): Write
562            attribute 'size' for cldata when the shape layer is of point type.
563            This also now make the test_load.py tests happy.
564    
565            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
566            gradient.
567    
568            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
569            ID_SELPROP_SPINCTRL_LINEWIDTH.
570            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
571            (ID_SELPROP_SPINCTRL_SIZE): New Id.
572            (SelectPropertiesDialog.__init__): Added a second spin control
573            for the size in case the corresponding layer is of point type.
574            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
575            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
576            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
577            and refresh preview.
578    
579    
580    
581    2004-10-04  Martin Schulze  <[email protected]>
582    
583            * Extensions/wms/test/test_parser.py
584            (TestWMSCapabilitiesParser.test_compareLists): Added missing
585            self-test for compareLists()
586            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
587            self-test for compareDicts()
588            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
589            to verify the test routine fails with non-equal arguments
590            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
591            to verify the test routine fails with non-equal arguments
592    
593    2004-10-03  Jan-Oliver Wagner <[email protected]>
594    
595            First elements for sizeable point objects.
596    
597            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
598    
599            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
600    
601            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
602            of a corresponding argument is given.
603            (TestSymbolSize): New. Test the size attribute of cldata.
604    
605            * Thuban/Model/classification.py: Removed some trailing whitespaces.
606            (ClassGroupProperties.__init__): Set default size.
607            (ClassGroupProperties.SetProperties): Set the size.
608            (ClassGroupProperties.GetSize): New. Return the size.
609            (ClassGroupProperties.SetSize): New. Set the size.
610            (ClassGroupProperties__eq__): Compare also size.
611            (ClassGroupProperties__repr__): Print also size.
612    
613            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
614            the size attribute.
615    
616            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
617            Also, now there is a return value that indicates whether the drawing
618            size exceeded the given rect extent and if so the new extent.
619            Finally, point objects are drawn depending on the size. If either
620            the width or height is exceeded, the new extent is returned.
621            (ClassRenderer.Draw): Now when calling the previewer drawing function,
622            evaluate the return value and, if not None, adapt the grid widget size
623            accordingly and redraw again.
624    
625            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
626            If the draw function is for points, call it with the size as additional
627            parameter.
628            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
629            the size. Compute the radius using the size.
630    
631            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
632            that Thuban supports size, apply this correctly.
633    
634            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
635    
636    2004-10-03  Jan-Oliver Wagner <[email protected]>
637    
638            * Doc/manual/thuban-manual-de.xml: Started translation of
639            Map chapter.
640    
641    2004-10-01  Martin Schulze  <[email protected]>
642    
643            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
644            argument for general use through properties-dialog selector
645            
646            * Thuban/UI/classifier.py: Register properties dialog classes for
647            both provided layer classes/types.
648    
649            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
650            map can be retrieved through the parent which is passed to the
651            constructor anyway and doesn't require an argument of its own,
652            required for the unification of arguments for general use through
653            properties-dialog selector.
654            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
655            whether a dialog is already opened (and raising it to the users
656            attention) and creating a new dialog into a function of its own
657            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
658            method
659            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
660            global registration of properties dialog classes (which are indeed
661            layer-specific).
662    
663            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
664            for general use through properties-dialog selector, the map can be
665            retrieved through the parent and doesn't require an argument of
666            its own.
667    
668            * Extensions/wms/wms.py: Register the properties dialog class for
669            the provided WMS layer
670    
671  2004-09-28  Jan-Oliver Wagner <[email protected]>  2004-09-28  Jan-Oliver Wagner <[email protected]>
672    
673          New feature: Registry for Extensions.          New feature: Registry for Extensions.

Legend:
Removed from v.2358  
changed lines
  Added in v.2509

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26