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

Legend:
Removed from v.2343  
changed lines
  Added in v.2490

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26