/[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 2342 by jschuengel, Fri Sep 3 17:02:28 2004 UTC revision 2548 by jan, Wed Jan 26 08:16:26 2005 UTC
# Line 1  Line 1 
1    2005-01-26  Jan-Oliver Wagner <[email protected]>
2    
3            * Doc/manual/thuban-manual-de.xml: More translations.
4    
5    2005-01-24  Bernhard Herzog  <[email protected]>
6    
7            Rework the status bar updates a bit to make sure the message about
8            the projections is produced at the right times.
9    
10            * Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages):
11            New class variable with messages that may require a status bar
12            update.
13            (MainWindow.view_position_changed)
14            (MainWindow.update_status_bar): Rename from view_position_changed
15            to update_status_bar.  It's meaning has changed now that it may
16            also generate messages about problems with projection settings.
17            (MainWindow.__init__): Use the new update_status_bar_messages
18            class variable to subscribe update_status_bar
19            (MainWindow.set_position_text): Update doc-string.  This method
20            has to be renamed at some point.  See doc-string and comments.
21            (MainWindow.OnClose): Unsubscribe update_status_bar from all
22            messages in update_status_bar_messages
23    
24            * Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New
25            class attribute.  map messages to be forwarded by the viewport.
26            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe
27            the messages in forwarded_map_messages
28    
29    2005-01-21  Bernhard Herzog  <[email protected]>
30    
31            * test/postgissupport.py (PostGISDatabase.__init__): Tweak
32            doc-string
33            (find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a
34            different name for the initialization SQL file.
35    
36    2005-01-21  Jonathan Coles <[email protected]>
37    
38            * Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes
39            a projection and returns a formatted string representing the
40            parameters to feed to gdalwarp. This function eliminates
41            redundancy in draw_raster_layer().
42            (BaseRenderer.render_map_incrementally): Removed the optimization which
43            drew the top most raster layer first and then only those vector-
44            based layers that are above it. With the support for transparency
45            this optimization breaks correct behaviour.
46            (BaseRenderer.draw_raster_layer): Reorganize code to support possible
47            future enhancements to raster layer bounding box. The old behaviour has
48            not changed. Also, change calling parameters to draw_raster_data()
49            to specify new RAW data format and mask.
50            (BaseRenderer.draw_raster_data): Change signature to include an optional
51            parameter for mask information. Change documentation to mention
52            support for new parameter and added option for RAW data format.
53            The data argument is now a list of [width, height, data].
54    
55            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional
56            mask parameter. Add new condition for RAW format, which
57            significantly reduces rendering time. Add condition for
58            mask parameter.
59    
60            * libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a
61            data array of RGB values from the projected image returned from
62            the gdal warping functions. In the case of palette based images, it
63            converts the NO_DATA index to the mask color.
64            (ProjectRasterFile): Removed all custom memory driver references
65            and replaced it with the standard in-memory dataset provided
66            by gdal. The return data is no longer a BMP file, but an array
67            of RGB values, one set triple per pixel.
68    
69            * libraries/thuban/bmpdataset.cpp: Removed. Unnecessary.
70            * libraries/thuban/cpl_mfile.h: Removed. Unnecessary.
71            * libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary.
72    
73            * setup.py (thuban_build_ext.finalize_options): Removed mention
74            of cpl_mfile.cpp and bmpdataset.cpp files in the list of source
75            files. These are obsolete with the new version of gdalwarp.cpp
76    
77            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
78            Updated signature.
79            (TestBaseRenderer.test_raster_no_projection): Changed the test
80            data to be data in the uncompressed RAW format returned from
81            ProjectRasterFile.
82    
83    2005-01-21  Jan-Oliver Wagner <[email protected]>
84    
85            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made
86            string available for i18n.
87    
88    2005-01-20  Russell Nelson  <[email protected]>
89    
90            * Resources/Projections/defaults.proj: Ruin the speling of the
91            Lambert-93 projection so it doesn't run into the wx UTF-8 bug.
92            It's the wrong thing to do in the long run, but it's necessary for
93            those users until that bug is fixed.  Otherwise the projection
94            dialog segfaults.  Better to annoy some Lambert-93 users with a
95            spelling mistake than every Fedora Core 3 user of Thuban-CVS.
96    
97    2005-01-20  Bernhard Reiter <[email protected]>
98    
99            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added
100            docstring and comment that the warning code here is a hack.
101    
102    2005-01-20  Russell Nelson  <[email protected]>
103    
104            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn
105            user about misprojected layers when their lat/lon bounding
106            box exceeds rational lat/lon values.
107    
108    2005-01-20  Bernhard Reiter <[email protected]>
109    
110            * Thuban/UI/about.py (unicodeToLocale): Improved:
111            Use 'ascii' and then 'replace' for other characters
112            when getdefaultlocale returns None. Thanks to Bernhard H. .
113    
114    2005-01-20  Bernhard Reiter <[email protected]>
115    
116            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment
117            that OnRangeText might be called twice and using None as argument.
118    
119    2005-01-20  Bernhard Reiter <[email protected]>
120    
121            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a
122            OnRangeText(0) to work around a different in wx Behaviour noticed
123            on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
124    
125    2005-01-20  Bernhard Reiter <[email protected]>
126    
127            * Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns
128            None. (Fixes rt#2910.)
129            
130    2005-01-18  Frank Koormann <[email protected]>
131    
132            New Extension: mouseposition
133            Tool to collect mouse click positions (map coordinates) in a dialog.
134    
135            * Extensions/mouseposition/__init__.py: New, extension registration
136    
137            * Extensions/mouseposition/mouseposition.py: New, implements the
138            dialog and adds a tool to Thuban mainwindow.
139    
140            * Extensions/mouseposition/position.xpm: New, icon for tool.
141    
142    2005-01-14  Jan-Oliver Wagner <[email protected]>
143    
144            * Doc/manual/thuban-manual-de.xml: More translations.
145    
146    2005-01-11  Frank Koormann <[email protected]>
147    
148            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
149            Fix indention bug.
150    
151    2005-01-09  Frank Koormann <[email protected]>
152    
153            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
154            BugFix 2901: Explicitly copy layers ClassificationColumn since it
155            is not part of the layers Classification.
156    
157    2005-01-03  Frank Koormann <[email protected]>
158    
159            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
160            BugFix 2883: Former implementation only worked on classified point
161            layers: KeyError was raised, now use the default size if field is None.
162    
163    2004-12-27  Bernhard Reiter <[email protected]>
164    
165            svgexport 1.0.0cvs: Fixed label export.
166    
167            * Extensions/svgexport/test/test_svgmapwriter.py:
168            class TestSVGRenderer(): New class; new test test_label_font().
169    
170            * Extensions/svgexport/svgmapwriter.py
171            (SVGRenderer.label_font()): initialised Font size with self.factor now,
172            makes test_label_font happy.
173    
174            * Extensions/svgexport/TODO: crossed out fixed label export item.
175            Added item for options.
176    
177            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
178    
179    2004-12-27  Russell Nelson  <[email protected]>
180    
181            Middle mouse button pans.
182    
183            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
184            OnMiddleDown and OnMiddleUp events.
185            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
186            previously used tool.
187            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
188            pressing the middle mouse button.
189    
190    2004-12-27  Jan-Oliver Wagner <[email protected]>
191    
192            * Doc/manual/thuban-manual-de.xml: More translations.
193    
194    2004-12-23  Jan-Oliver Wagner <[email protected]>
195    
196            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
197            \n to stderr after the warnings. Thanks to Russell Nelson.
198    
199    2004-12-20  Nina Hueffmeyer <[email protected]>
200    
201            * Extensions/ogr/ogrshapes.py: Fixed some issues from
202            Bernhard (coding guidelines etc.). Additionally it is now possible to
203            display shapefiles containing feature collections (e.g.polygons
204            with holes). Works with gdal 1.2.1 now.
205    
206            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
207            from Bernhard (coding guidelines etc.). If ogr can't be imported,
208            tests are skipped now.
209    
210            * Extensions/ogr/ogrstart.py: Fixed some typings.
211    
212    2004-12-20  Bernhard Reiter <[email protected]>
213    
214            * Extensions/svgexport/TODO: updated to add support for
215            raster layers and labels for 1.0.1.
216    
217            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
218            Issue a warning now.
219    
220    2004-12-19  Bernhard Reiter <[email protected]>
221    
222            * Extensions/svgexport/TODO: Added idea to support triggering
223            the application down the pipe.
224    
225    2004-12-19  Bernhard Reiter <[email protected]>
226    
227            svgexport: Improved code quality, mainly by better naming.
228    
229            * Extensions/svgexport/svgmapwriter.py:
230            DrawPath() renamed to DrawPolygonPath(),
231            added documentation, improved comments and variable names.
232            
233            * Extensions/svgexport/svgmapwriter.py,
234              Extensions/svgexport/test/test_svgmapwriter.py:
235            All using DrawPolygonPath() now, the default parameter closed=True
236            omitted.
237    
238            * Extensions/svgexport/test/test_svgmapwriter.py:
239            renamed test_polygon_opened() to test_polyline()
240            renamed test_transparent_polygon() to test_transparent_polyline()
241    
242    2004-12-18  Jan-Oliver Wagner <[email protected]>
243    
244            Some fixes of gns2shp extension.
245    
246            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
247            package.
248    
249            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
250            dynamically.
251    
252            * Extensions/gns2shp/test/README: Simplified description how to test.
253    
254            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
255            fixed some dimensions of fields according to the GNS documentation
256            which seems to change undocumented.
257            Now killing trailing \n and/or \r from MODIFY_DATE.
258            This fixes RT#2453.
259    
260    2004-12-18  Bernhard Reiter <[email protected]>
261    
262            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
263    
264            * Extensions/svgexport/test/test_svgmapwriter.py:
265            Added new tests: test_export_polygon_with_hole()
266            and test_polygon_with_hole().
267    
268            * Extensions/svgexport/svgmapwriter.py
269            (draw_polygon_shape()): Uses DrawPath correctly now.
270    
271            * Doc/manual/thuban-manual.xml: Added documentation for stable
272            extention svgexport.    
273            * Doc/manual/thuban-manual-de.xml: Copied English section about
274            svexport over.
275    
276            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
277    
278            * Extensions/svgexport/svgsaver.py,maplegend.py:
279            Moved from experimental to stable extension menu.
280    
281            * Extensions/svgexport/TODO: updated.
282    
283    
284    2004-12-18  Bernhard Reiter <[email protected]>
285    
286            Added Extensions/svgexport/TODO
287    
288    2004-12-18  Bernhard Reiter <[email protected]>
289    
290            Refactored in svgexport:
291            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
292    
293            * Extensions/svgexport/svgmapwriter.py
294            Added verbosity level 3 to print out polygon points.
295            (class Point): added __repr__
296            (class Brush, __str__()): Added space after ,.
297            (DrawPolygon): Renamed to DrawPath()
298            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
299            (DrawLines): Using DrawPath now.
300    
301            * Extensions/svgexport/test/test_svgmapwriter.py:
302            Replaced DrawPolygon() calls with DrawPath() and put the first argument
303            inside another list. Adapted test data with a newline before "M".
304    
305    2004-12-18  Bernhard Reiter <[email protected]>
306            
307            Refactored svgexport tests: 9 double tests runs eliminated;
308            code size reduced by 8 lines.
309    
310            * Extensions/svgexport/test/test_svgmapwriter.py:
311            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
312            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
313            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
314            this fixed the double running of the nine tests of TestVirtualDC.
315            (class TestVirtualDC): Using self.dc and self.file from setUp().
316    
317    2004-12-17  Bernhard Herzog  <[email protected]>
318    
319            Two windows specific fixes ported from thuban-1�0-branch:
320    
321            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
322            instead of getlocale because getlocale doesn't return a usable
323            encoding name on a german windows 2000
324    
325            * setup.py: windows build: Removed the absolute path names and
326            made all prfixes relative to the directory containing setup.py.
327            Makes it a little easier to adapt to a different system.
328    
329    2004-12-16  Bernhard Herzog  <[email protected]>
330    
331            Add support for PostGIS tables with LINESTRING geometries.
332            Fixes RT#2299
333    
334            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
335    
336            * test/postgissupport.py
337            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
338            table to "roads-multi" because it now uses MULTILINESTRING
339            geometries and introduce a new "roads" table that uses LINESTRING
340            (coords_to_multilinestring): Make the doc string more precise
341            (coords_to_linestring): New.  Create a LINESTRING WKT
342            representatin
343            (wkt_converter): Add coords_to_linestring
344            (upload_shapefile): Rephrase the doc-string a bit.
345    
346            * test/test_postgis_db.py (TestPostGISShapestoreArc)
347            (LineStringTests)
348            (TestPostGISShapestoreLineString)
349            (TestPostGISShapestoreMultiLineString): Split
350            TestPostGISShapestoreArc into a base class LineStringTests and two
351            derived classes TestPostGISShapestoreLineString for LINESTRING
352            geometries and TestPostGISShapestoreMultiLineString for
353            MULTILINESTRING geometries.  Most test methods are in the base
354            class with the exception of tests that explicitly check the raw
355            format.
356    
357    2004-12-16  Bernhard Herzog  <[email protected]>
358    
359            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
360    
361            * test/postgissupport.py (find_postgis_sql): Different postgis
362            versions put the postgis.sql file into slightly different places
363            so we have to look in both.  The updated doc string describes this
364            is more detail.
365    
366            * test/test_postgis_db.py
367            (TestPostGISSpecialCases.test_column_name_quoting): The return
368            value of UniqueValues is unsorted, so it has to be sorted for
369            comparison.
370    
371    2004-12-16  Bernhard Herzog  <[email protected]>
372    
373            Fix for RT#2237
374    
375            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
376            panel to be shown is the UnknownProjPanel disable the OK and Try
377            buttons.  Otherwise enable them.
378            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
379            the parameters.  In that case __GetProjection also returns None
380            now.
381    
382    2004-12-15  Bernhard Herzog  <[email protected]>
383    
384            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
385            minimum number of classes to 2.  The calculate_quantiles needs at
386            least two and raises an exception otherwise.  
387            Fixes RT#2549
388    
389    2004-12-15  Bernhard Herzog  <[email protected]>
390    
391            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
392            so that it returns a result for select statements.
393            (PostgreSQLServer.server_version): New.  Return the version of the
394            server software.
395            (PostgreSQLServer.require_authentication): The format of
396            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
397            server version and generate the file in the correct format
398    
399    2004-12-15  Bernhard Herzog  <[email protected]>
400    
401            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
402            in the doc string and rephrase it a little.
403    
404    2004-12-15  Frank Koormann <[email protected]>
405    
406            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
407            session has been loaded successfully. The check is called by the relevant
408            tests after executing load_session().
409    
410    2004-12-13  Bernhard Herzog  <[email protected]>
411    
412            Make sure the region used to determine which shapes are visible
413            actually matches the region on the printed page.  If this isn't
414            done properly some shapes might not be printed.  
415            Fixes RT #2692
416    
417            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
418            renderer has to be at the same position as the mapregion
419    
420            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
421            has to be moved by (self.shiftx, self.shifty) too.
422    
423    2004-12-13  Bernhard Herzog  <[email protected]>
424    
425            * libraries/pyprojection/Projection.i: Work around a bug in the
426            generated python code which leads to exception in the __del__
427            method when the constructor fails.  See the comments in the code
428            for more details.
429    
430            * libraries/pyprojection/Projection.py: Updated from Projection.i
431            with SWIG.
432    
433    2004-12-13  Bernhard Herzog  <[email protected]>
434    
435            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
436            (TestAltPath.test_02_path_error_fix_from_list)
437            (TestAltPath.test_05_path_error_fix_from_list_changed)
438            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
439            is destroyed in tearDown, so there's no need to do it in a test
440            case.
441    
442            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
443            debug print
444    
445    2004-12-13  Bernhard Herzog  <[email protected]>
446    
447            * Extensions/svgexport/test/test_svgmapwriter.py
448            (TestDrawSplines.setUp): Do not use super with the unittest
449            classes because in Python 2.2 they're still old-style classes.
450    
451    2004-12-13  Frank Koormann <[email protected]>
452    
453        Alternative Path feature: When loading a (moved) session where
454            shapefiles cannot be found, ask the user. Use the specified path
455            if further shapefiles are missing. However, ask the usr for confirmation
456            in such cases.
457    
458            * test/test_load.py (TestAltPath): New, tests for alternative path feature
459            in load_session()
460            (Shapefile_CallBack): Helper, implements controllable callback.
461    
462            * Thuban/UI/application.py (ThubanApplication.OnInit):
463            Added "alt_path" to self.path
464            (ThubanApplication.OpenSession): Added shapefile_callback as second
465            callback similar to db_connection_callback.
466            (ThubanApplication.run_alt_path_dialog): New, implementaion of
467            shapefile_callback. In addition to raising the dialog the control of
468            self.path('alt_path') is implemented here.
469    
470            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
471            (SessionLoader.open_shapefile): Open shapefile, eventually with
472            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
473            formerly used in start_fileshapesource()/start_layer().
474            (SessionLoader.start_fileshapesource): Call open_shapefile().
475            (SessionLoader.start_layer): Call open_shapefile().
476            (load_session): Added shapefile_callback.
477    
478            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
479            feature (search / check).
480            
481            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
482    
483    2004-12-11  Bernhard Reiter <[email protected]>
484    
485             svgexport 0.9.2: Point size supports for maps.
486    
487            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
488            (def draw_point_shape): new parameter size defaults to 2 as before.
489            (draw_shape_layer_incrementally): Moved draw_func log line higher.
490            Added draw_func call with size when dealing with a point layer.
491    
492            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
493            
494    2004-12-11  Bernhard Reiter <[email protected]>
495    
496            Made sure that newlines are inserted in the svg path d attributes
497            to raise the chance that the line length will be below 255 characters,
498            as recommended by REC SVG 1.1 in section 8.3.1.
499    
500            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
501            Adding \n before L's and changed whitespace handling.
502    
503            * Extensions/svgexport/test/test_svgmapwriter.py:
504            Adapted tests to new whitespace handling of DrawPolygon.
505    
506    2004-12-11  Bernhard Reiter <[email protected]>
507    
508            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
509    
510            * Extensions/svgexport/test/test_svgmapwriter.py:
511            Removed test_drawbezier in favour of new test_drawspline3 and
512            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
513            All only to test DrawSpline.
514    
515            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
516            New implementation now really using the strange algorithm of
517            xfig 3.1's approximated splines and its conversion to postscript
518            with one twist: SVG can do quadratic beziers, so skipped translation
519            to cubic beziers.
520            (TestWithDC): Typo in comment fixed.
521    
522    2004-12-09  Martin Schulze  <[email protected]>
523    
524            * Thuban/Model/classgen.py: Added missing character encoding
525    
526            * Extensions/wms/properties.py (OpenWMSProperties): removed
527    
528            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
529            support for get_srs_discrepancies() since there are no
530            discrepancies anymore (was a thinko)
531    
532            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
533            format priority now that more formats are supported globally by
534            the render engine.
535    
536    2004-12-08  Silke Reimer <[email protected]>
537            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
538            because it is not available in all versions of ogr
539    
540    2004-12-08  Bernhard Reiter <[email protected]>
541            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
542            global tests until a real one is commited.
543    
544    2004-12-07 Nina H�ffmeyer <[email protected]>
545    
546            * /Extensions/ogr/: Adding a new extension to read shapefiles with
547            ogr. It is planned to add other vector formats.
548    
549            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
550    
551    2004-12-07  Jan-Oliver Wagner <[email protected]>
552    
553            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
554            part of a (non-)fix to renable that the tests are always
555            executed.
556    
557    2004-12-07  Bernhard Reiter <[email protected]>
558    
559            * Extensions/svgexport/test/test_svgmapwriter.py:
560            Added test_drawbezier() to test DrawSpline().
561    
562            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
563            Really implemented bezier drawing.
564    
565            * Extensions/svgexport/__init__.py: Bumped version of svgexport
566            to 0.9.1 because now the legend examples lines styles
567            will be drawing with beziers.
568    
569    2004-12-05  Martin Schulze  <[email protected]>
570    
571            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
572            GIF as supported bitmap image formats (helpful for the WMS extension)
573    
574    2004-11-30  Martin Schulze  <[email protected]>
575    
576            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
577            Improved the test for the internal compare method
578    
579    2004-11-27  Jan-Oliver Wagner <[email protected]>
580    
581            * Thuban/UI/about.py (About.__init__): Added
582            Norbert Solymosi for hungarian translation and Ole Rahn
583            as contrbutor. Moved Bernhard Reiter from Contributor
584            to Developer.
585    
586    2004-11-27  Bernhard Reiter <[email protected]>
587    
588            * Extensions/svgexport/test/test_svgmapwriter.py:
589            Removed Jan from author list as he did not change enough significant
590            lines yet.
591    
592            * Extensions/svgexport/__init__.py: Added Bernhard as author
593            of the Extension.
594    
595    2004-11-27  Jan-Oliver Wagner <[email protected]>
596    
597            * po/hu.po: New. Hungarian translation. Contributed
598            by Norbert Solymosi.
599    
600    2004-11-26  Bernhard Herzog  <[email protected]>
601    
602            * Extensions/svgexport/test/test_svgmapwriter.py
603            (Testobjectexport.test_transparent_polygon): Commented out some
604            debug prints
605    
606    2004-11-24  Jan-Oliver Wagner <[email protected]>
607    
608            Fix broken tests for svg extension and added svg legend
609            to Experimental menu.
610    
611            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
612            the test run correctly even if the extension is a package.
613            Also removed the "import Thuban" which makes no sense.
614    
615            * Extensions/svgexport/__init__.py: Fix to have the extensions'
616            test module also be executed from the global test routine.
617            This is done by looking for the absense of the DISPLAY variable.
618    
619            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
620            to Experimental menu since this module has yet not reached a stable
621            status (ie. 1.0).
622    
623    2004-11-22  Bernhard Reiter <[email protected]>
624    
625            * Extensions/svgexport/svgmapwriter.py:
626            Added verbose variable and some logging depending on it.
627            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
628            because counting i is not necessary.
629            (class Pen, class Brush): Added simple __str__ methods.
630            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
631            not exported to svg file) Note: holes still unhandled.
632    
633            * Extensions/svgexport/test/test_svgmapwriter.py:
634                    Made a baseclass TestWithDC for test needed a DC.
635                    Added tests for bug #2698 (transparent polygons are not
636                    exported to svg file):
637                    Testobjectexport.test_transparent_polygon()
638    
639            * Thuban/Model/base.py (UnsetModified):
640            Fixed some typos in docstring.
641    
642            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
643            Added hints on the used algorithm for handling holes.
644    
645    2004-11-20  Jan-Oliver Wagner <[email protected]>
646    
647            Some face lifting for the examples.
648    
649            * Examples/__init__.py: Make this directory a package.
650    
651            * Examples/simple_extensions/__init__.py: Make this directory a package.
652    
653            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
654            menu to Examples menu.
655    
656            * Examples/simple_extensions/simple_command.py: Some more comments,
657            minor changes.
658    
659            * Examples/simple_extensions/simple_tool.py: Minor changes.
660    
661    2004-11-20  Jan-Oliver Wagner <[email protected]>
662    
663            Changed way of extension registry for wms and added extension
664            registry for umn_mapserver extension.
665    
666            * Extensions/wms/__init__.py: Added registry entry and the importing
667            of the actual wms module. Included a test for the required PyOGCLib.
668    
669            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
670    
671            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
672            importing of the actual umn mapserver management modules.
673            Included a test for the required Python MapScript.
674    
675    2004-11-20  Jan-Oliver Wagner <[email protected]>
676    
677            Changed way of extension registry for importAPR, bboxdump
678            and added extension registry for svgexport.extension registry for
679            svgexport.
680    
681            * Extensions/importAPR/__init__.py: Added registry entry and the importing
682            of the actual importAPR module.
683    
684            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
685            __init__.py).
686    
687            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
688            ����of the actual bboxdump module.
689    
690            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
691            ����__init__.py).
692    
693            * Extensions/svgexport/__init__.py: Added registry entry and the importing
694            of the svgsaver module.
695    
696            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
697            to Experimental menu since this module has yet not reached a stable
698            status (ie. 1.0).
699    
700    2004-11-18  Jan-Oliver Wagner <[email protected]>
701    
702            Now the hit test considers the size of point symbols.
703    
704            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
705            'size' defaulting to the previously fixed value 5.
706            Extended doc-string.
707            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
708            for symbols.
709            Now the size of the largest point symbol is determined to find out
710            about whether the point has been hit.
711            This fixes the problem that only clicks inside a fixed distance of
712            5 where found.
713    
714    2004-11-17  Jan-Oliver Wagner <[email protected]>
715    
716            Another open issue fixed regarding sizeable symbols: correct rendering of
717            selected symbols.
718    
719            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
720            Added consideration of the specific size of point symbols.
721            The property for each point symbol is retrieved and the size applied
722            for the rendering method.
723            Added doc-string.
724    
725    2004-11-16  Jan-Oliver Wagner <[email protected]>
726    
727            Changed way of Extension Registry for gns2shp and profiling.
728    
729            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
730            __init__.py).
731    
732            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
733            of the actual gns2shp module.
734    
735            * Extensions/profiling/profiling.py: Removed registry entry (moved to
736            __init__.py).
737    
738            * Extensions/profiling/__init__.py: Added registry entry and the importing
739            of the actual profiling module.
740    
741    2004-10-28  Bernhard Reiter <[email protected]>
742    
743            * Extensions/svgexport/: Minor improvements to doc strings.
744    
745    2004-10-07  Jan-Oliver Wagner <[email protected]>
746    
747            Further elements for sizable point objects now
748            making this feature usable though not yet complete.
749    
750            * Thuban/Model/save.py (SessionSaver.write_classification): Write
751            attribute 'size' for cldata when the shape layer is of point type.
752            This also now make the test_load.py tests happy.
753    
754            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
755            gradient.
756    
757            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
758            ID_SELPROP_SPINCTRL_LINEWIDTH.
759            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
760            (ID_SELPROP_SPINCTRL_SIZE): New Id.
761            (SelectPropertiesDialog.__init__): Added a second spin control
762            for the size in case the corresponding layer is of point type.
763            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
764            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
765            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
766            and refresh preview.
767    
768    
769    
770    2004-10-04  Martin Schulze  <[email protected]>
771    
772            * Extensions/wms/test/test_parser.py
773            (TestWMSCapabilitiesParser.test_compareLists): Added missing
774            self-test for compareLists()
775            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
776            self-test for compareDicts()
777            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
778            to verify the test routine fails with non-equal arguments
779            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
780            to verify the test routine fails with non-equal arguments
781    
782    2004-10-03  Jan-Oliver Wagner <[email protected]>
783    
784            First elements for sizeable point objects.
785    
786            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
787    
788            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
789    
790            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
791            of a corresponding argument is given.
792            (TestSymbolSize): New. Test the size attribute of cldata.
793    
794            * Thuban/Model/classification.py: Removed some trailing whitespaces.
795            (ClassGroupProperties.__init__): Set default size.
796            (ClassGroupProperties.SetProperties): Set the size.
797            (ClassGroupProperties.GetSize): New. Return the size.
798            (ClassGroupProperties.SetSize): New. Set the size.
799            (ClassGroupProperties__eq__): Compare also size.
800            (ClassGroupProperties__repr__): Print also size.
801    
802            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
803            the size attribute.
804    
805            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
806            Also, now there is a return value that indicates whether the drawing
807            size exceeded the given rect extent and if so the new extent.
808            Finally, point objects are drawn depending on the size. If either
809            the width or height is exceeded, the new extent is returned.
810            (ClassRenderer.Draw): Now when calling the previewer drawing function,
811            evaluate the return value and, if not None, adapt the grid widget size
812            accordingly and redraw again.
813    
814            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
815            If the draw function is for points, call it with the size as additional
816            parameter.
817            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
818            the size. Compute the radius using the size.
819    
820            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
821            that Thuban supports size, apply this correctly.
822    
823            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
824    
825    2004-10-03  Jan-Oliver Wagner <[email protected]>
826    
827            * Doc/manual/thuban-manual-de.xml: Started translation of
828            Map chapter.
829    
830    2004-10-01  Martin Schulze  <[email protected]>
831    
832            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
833            argument for general use through properties-dialog selector
834            
835            * Thuban/UI/classifier.py: Register properties dialog classes for
836            both provided layer classes/types.
837    
838            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
839            map can be retrieved through the parent which is passed to the
840            constructor anyway and doesn't require an argument of its own,
841            required for the unification of arguments for general use through
842            properties-dialog selector.
843            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
844            whether a dialog is already opened (and raising it to the users
845            attention) and creating a new dialog into a function of its own
846            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
847            method
848            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
849            global registration of properties dialog classes (which are indeed
850            layer-specific).
851    
852            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
853            for general use through properties-dialog selector, the map can be
854            retrieved through the parent and doesn't require an argument of
855            its own.
856    
857            * Extensions/wms/wms.py: Register the properties dialog class for
858            the provided WMS layer
859    
860    2004-09-28  Jan-Oliver Wagner <[email protected]>
861    
862            New feature: Registry for Extensions.
863    
864            * Thuban/UI/extensionregistry.py: This module defines a registry for
865            Extensions.
866    
867            * Thuban/UI/about.py (About.__init__): Added description
868            of the registered extensions with all of the information.
869    
870            * Thuban/Model/extension.py (Extension): Improved doc-string.
871    
872            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
873            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
874            Extensions/wms/wms.py: Added registration of the extension.
875    
876    2004-09-27  Bernhard Reiter <[email protected]>
877    
878            More fixes to svgexport to make used ids unique and
879            conforming to XML's Name production.
880    
881            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
882            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
883            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
884            Added Bernhard R. as author.
885            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
886            concatenation char now (makes test_make_ide_nosetbaseid() valid).
887            Also transform second id part with "%d" and catch the TypeError
888            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
889            Corrected typo inBernhard's author line.
890            (SetBaseID): Return the transformed base id. Transform characters
891            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
892            import binascii. If to be set string starts with "xml" or so, add "t".
893            (draw_shape_layer_incrementally): use the returned value of SetBaseID
894            for used_baseids checks.
895    
896    2004-09-25  Bernhard Herzog  <[email protected]>
897    
898            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
899            Remove a debug print and some tab characters.
900    
901    2004-09-25  Bernhard Reiter <[email protected]>
902    
903            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
904            (SetBaseID, SetID, make_id): Improved docstring comments to explain
905            the interaction of the three functions and the XML id contrains.
906    
907    
908    2004-09-23  Jan-Oliver Wagner <[email protected]>
909    
910            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
911            Module.
912    
913            * Doc/README: Added info on ThubanModel.xmi.
914    
915    2004-09-23  Jan-Oliver Wagner <[email protected]>
916    
917            * Doc/README: New. Some info about how to generate technical
918            documentation from the source code.
919            This text was send to the Thuban developer mailing list on
920            September 21st 2004 by Bernhard Reiter.
921    
922    2004-09-21  Bernhard Reiter <[email protected]>
923    
924            Improved the svgexport to only use unique ids. Will issues
925            an error message dialoge when two layer names are the same.
926            ShapeIDs are now added with a dash within the svg ids.
927    
928            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
929            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
930            (TestSVGRenderer): New test class with test_make_in() and
931            test_check_for_layer_name_clash()
932            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
933            and draw_shape_layer_incrementally() to not use a baseid twice,
934            satisfying test_check_for_layer_name_clash()
935            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
936            test_make_in().
937            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
938            and wxICON_HAND.
939            (write_to_svg): Put dc and rendering in a try statement and on
940            catching SVGmapWriterError notify the user and delete the target file.
941    
942    2004-09-20  Bernhard Reiter <[email protected]>
943    
944            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
945    
946  2004-09-03  Jan Sch�ngel  <[email protected]>  2004-09-03  Jan Sch�ngel  <[email protected]>
947    
948          * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a          * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a

Legend:
Removed from v.2342  
changed lines
  Added in v.2548

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26