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

Legend:
Removed from v.2312  
changed lines
  Added in v.2544

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26