/[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 2436 by bernhard, Wed Dec 8 15:43:10 2004 UTC revision 2721 by dpinte, Sat Jan 13 15:11:42 2007 UTC
# Line 1  Line 1 
1    2007-01-13 Didrik Pinte <[email protected]>
2    
3            bboxdump, gns2shp, importAPR, mouseposition, ogr, profiling, svgexport
4            extensions migrated to wxPython 2.6
5    
6            * Extensions/bboxdump/bboxdump.py:
7            updated wx statements
8    
9            * Extensions/gns2shp/gns2shp.py:
10            updated wx statements
11    
12            * Extensions/importAPR/importAPR.py:
13            updated wx statements
14    
15            * Extensions/mouseposition/mouseposition.py:
16            updated wx statements
17    
18            * Extensions/ogr/
19            ogrdialog.py, ogrstart.py:
20            updated wx statements
21    
22            * Extensions/profiling/profiling.py:
23            updated wx statements
24    
25            * Extensions/svgexport/
26            maplegend.py, svgsaver.py:
27            updated wx statements
28    
29    
30    2007-01-08 Didrik Pinte <[email protected]>
31            
32            export_shapefile extension migrated to wxPython 2.6
33    
34            * Extensions/export_shapefile/export_shapefile.py:
35            updated wx statements, changed the FileDialog to wx.SAVE (was wx.OPEN)
36    
37    2007-01-08 Didrik Pinte <[email protected]>
38            
39            umn_mapserver extension migrated to wxPython 2.6
40    
41            * Extensions/umn_maserver/
42            mf_handle.py, mf_import.py, mf_export.py:
43            update wx imports to 2.6 policy
44    
45    2007-01-06 Didrik Pinte <[email protected]>
46    
47            UTF-8 locales support reading non utf-8 files. This is a workaround and not
48            a real bugfix. See
49            http://wald.intevation.org/tracker/index.php?func=detail&aid=118 for more
50            details
51    
52            * Thuban/UI/
53            tableview.py, controls.py, baserenderer.py, view.py: decode text from
54            iso-8859-1 encoding.
55    
56    2007-01-01 Bernhard Reiter <[email protected]>
57            * test/postgissupport.py, test/test_postgis_db.py: adding an
58            explicit WITH OIDS to the create table commands. This fixes tests
59            that rely on an oid column to be present for postgresql >=8.0.
60            Thanks for Frank Koormann for the hint.
61    
62    2006-11-06 Didrik Pinte <[email protected]>
63    
64            * libraries/thuban/wxproj.cpp: bugfix - allow compilation with
65            msvc++ toolkit 2003
66    
67    2006-11-06 Bernhard Reiter <[email protected]>
68    
69            Made it easier to run PostGIS test on Debian Etch. Improving
70            https://wald.intevation.org/tracker/index.php?func=detail&aid=173 .
71    
72            * test/postgissupport.py: Taking pg_ctl and initdb commands
73            from internal variables now. Adding deactivated example values
74            for Debian Etch.  
75            find_postgis_sql(): Added special line for Debian Etch postgresql-8.1.
76            Added copyright year 2006.
77    
78    2006-10-25 Bernhard Reiter <[email protected]>
79            
80            Moved ogr Extension to Extension menu.
81    
82            * Extensions/ogr/
83            __init__.py, ogrstart.py, ogrshapes.py, ogrdialog.py
84            test/test_OGRShapestore.py, test/__init__.py:
85            adding encoding information and made sure Autor's names
86            with an umlaut are actually written with an umlaut.
87    
88            * Extensions/ogr/ogrstrat.py: now registering in menu "Extensions",
89            having a "(testing)" string before the submenu to prepare for 1.2.0
90            release.  Bumped copyright year to 2006.
91    
92    2006-10-15 Bernhard Reiter <[email protected]>
93    
94            * Thuban/UI/renderer.py: Added module variable verbose and
95            added verbose output before doing a raster projection.
96            Minor: Added (c) year 2006.
97    
98            * test/test_baserenderer.py: Added new function
99            test_projected_raster_decimalcommalocale()
100            Added new author Bernhard Reiter and new copyright year 2006.
101    
102            * libraries/thuban/gdalwarp.cpp(ProjectRasterFile): Adding
103            switching to LC_NUMERIC "C" and back before calling GDAL functions -
104            only #if python >=2.4 .
105    
106    2006-10-10 Didrik Pinte <[email protected]>
107    
108            Win32 build updates
109    
110            * setup.py :
111                - update to the latest libs for win32 setup tasks
112                    - added gdal and Lib content to the inno setup build task
113                    - added stable and experimental extensions to setup packages
114    
115            * thuban.py :
116                    - gdal support for win32 inno installation
117    
118    2006-10-10 Didrik Pinte <[email protected]>
119    
120            * Thuban/Model/layer.py (Layer.GetLabelPosFromShape): new method
121            extracted from Thuban/UI/viewport.py
122            * Thuban/UI/viewport.py (Viewport.LabelShapeAt): uses new method
123    
124    2006-09-28 Didrik Pinte <[email protected]>
125    
126            * Thuban/UI/classgen.py: bugfix due to wx2.6 update
127    
128            * Thuban/UI/view.py: removed non needed declaration
129    
130            * Thuban/UI/selection.py : typo correction
131    
132    2006-09-24 Bernhard Reiter <[email protected]>
133    
134            * Thuban/Model/proj.py(_do_we_have_to_work_around_broken_proj):
135            Making the test more robust for observed python 2.3 problems
136            with setlocale().
137    
138            * test/runtests.py: Added new option ---setdecimalcommalocale
139            to run all tests with an LC_NUMERIC that uses comma as decimal_point.
140            Minor: Added (c) year 2006. Fixed typo in a docstring.
141    
142            * test/test_transientdb.py: Minor: Added (c) year 2006. Fixed typo in
143            a docstring.
144    
145    2006-09-23 Bernhard Reiter <[email protected]>
146    
147            * Extensions/ogr/test/test_OGRShapestore.py: fixed skip_if_no_ogr()
148            and added it to TestOGRTable.setUp() so that all tests get skipped
149            if ogr cannot be imported. Added (c) year 2006.
150    
151    2006-09-18 Didrik Pinte <[email protected]>
152            
153            * wxPython 2.6 update : wx 2.4 syntax has been updated to 2.6
154            
155    2006-09-18 Bernhard Reiter <[email protected]>
156    
157            Fixed proj behaviour with python >=2.4 when decimal_point != '.'.
158    
159            * Thuban/UI/application.py: Fixed warning dialog when gdal is missing.
160    
161            * test/test_proj.py: new test_lc_numeric_robustness(). Added author
162            Bernhard Reiter and new copyright year 2006.
163    
164            * Thuban/Model/proj.py: New _do_we_have_to_work_around_broken_proj()
165            and Projection.assuregoodlocale(), Projection.assureinitlocale().
166            Added author Bernhard Reiter and (c) 2006.
167    
168    2006-09-15 Bernhard Reiter <[email protected]>
169    
170            * README: added RXP and pyRXP as optional for tests.
171    
172            * test/localessupport.py: New. Contains a helper function
173            to find a locale with comma used as decimal_point.
174    
175    2006-08-31 Bernhard Reiter <[email protected]>
176    
177            * README: fixed URLs to sqlite and pysqlite.
178    
179            * Thuban/UI/about.py: Added Didrik Pinte as contributor. Extended
180              copyright range to include 2006.
181    
182    2006-06-29 Didrik Pinte <[email protected]>
183    
184            * Thuban/UI/main.py: circular import fix.
185    
186    2006-06-27 Frank Koormann <[email protected]>
187    
188            New Classification "Pattern": Classify text attributes by regexp.
189    
190            * Thuban/Model/classification.py (class ClassGroupPattern):
191            New, group is associated with a regular expression.
192            (Classification._compile_classification): Store compiled regexp and
193            original group for pattern.
194            (Classification.FindGroup): Added pattern.
195    
196            * Thuban/UI/classifier.py
197            (ClassGrid._OnLabelRightClicked, ClassGrid.labelPopup):
198            New, add popup to select singleton/pattern.
199            (ClassTable.GetRowLabelValue, ClassTable.GetValueAsCustom,
200            ClassTable.SetValueAsCustom): Added pattern.
201            (ClassTable.__ParseInput): Autodetect singleton/pattern.
202    
203            * Thuban/Model/save.py (SessionSaver.write_classification):
204            Added pattern.
205    
206            * Thuban/Model/load.py (SessionLoader.start_clpattern,
207            SessionLoader.end_clpattern): New, process pattern elements.
208    
209            * test/test_classification.py (class TestClassGroupPattern): New.
210            (TestClassification.test_add_pattern,
211            TestClassification.test_multiple_groups_textual,
212            TestClassification.test_deepcopy_textual): New.
213            (TestClassification.test_multiple_groups_numerical):
214            Renamed test_multiple_groups.
215            (TestClassification.test_deepcopy_numerical): Renamed test_deepcopy.
216    
217            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
218            Added pattern.
219    
220            * test/test_load.py (ClassificationTest.TestLayers, TestClassification):
221            Added pattern.
222    
223            * test/test_layer.py
224            (TestLayerModification.test_set_classification_textual): New
225            (TestLayerModification.test_set_classification_numerical):
226            Renamed test_set_classification.
227    
228            * Doc/manual/thuban-manual.xml: Added pattern to layer classification
229            description.
230    
231            * Resources/XML/thuban-1.1.dtd: Added clpattern element and attribs.
232    
233    2006-06-29 Didrik Pinte <[email protected]>
234    
235            * Thuban/version.py: Bugfix determination of SQLite, the wright one !
236              
237    2006-06-28 Didrik Pinte <[email protected]>
238    
239            * packaging/windows/thubanstart.py: sample file loading all the stable
240            extensions
241            
242    2006-06-28 Didrik Pinte <[email protected]>
243    
244            * Thuban/version.py: Bugfix determination of SQLite on old and recent
245            systems (support pysqlite1 and pysqlite2)
246    
247    2006-06-27 Frank Koormann <[email protected]>
248    
249            * Thuban/version.py: Bugfix determination of SQLite on old systems.
250    
251    2006-05-17 Didrik Pinte <[email protected]>
252            * Extensions/ogr/__init__.py : updated test for win32 and correct
253            imports
254    
255    2006-05-15 Didrik Pinte <[email protected]>
256            Ashamed ... still some tabs in the files
257    
258      * Thuban/version.py : tabs removed    
259      * Thuban/Model/transientdb.py : tabs removed
260    
261    2006-05-15 Didrik Pinte <[email protected]>
262    
263      * Thuban/version.py : coding style correction
264      * Thuban/Model/transientdb.py : coding style correction
265    
266    2006-05-15 Didrik Pinte <[email protected]>
267    
268      * Thuban/version.py : Updated imports to support pysqlite2
269    
270      * Thuban/Model/transientdb.py : Updated imports to support pysqlite2
271            Patched the querying system to support the param style of pysqlite2
272    
273    2006-04-24 Didrik Pinte <[email protected]>
274            * Extensions/svgexport/__init__.py: The extension now works on win32
275            architecture. Bug #87 corrected.
276    
277    2006-04-20 Bernhard Reiter <[email protected]>
278            * Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN.
279            Removed emacs specific hint and replaced it with a general hint
280            that editors might support writing changelogs.
281    
282    2006-04-12 Bernhard Reiter <[email protected]>
283    
284            * Thuban/version.py: Changed thuban_release mechanism to use "svn"
285            instead of "cvs".
286    
287    2006-03-31  Bernhard Reiter <[email protected]>
288    
289            * libraries/thuban/wxproj.cpp: including proj_api.h instead of
290            projects.h now. According the Frank Warmerdam and man pj_init
291            this is the public interface to proj. Thus I have changed PJ to projPJ.
292            And I could remove the hack to avoid clashes with typedef PVALUE
293            and #define LP in projects.h clashing with symbols when trying to
294            build on windows. The file is cleaner and nicer now.
295    
296    2006-03-29  Bernhard Reiter <[email protected]>
297    
298            * libraries/thuban/wxproj.cpp: undef LP to avoid clash when
299            trying to build with mingw.
300    
301    2005-10-18  Bernhard Reiter <[email protected]>
302    
303            * Thuban/UI/about.py: remove unused import of getdefaultlocale.
304            Added display of internal encoding to the about dialog text.
305    
306            * Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs".
307    
308    2005-10-18  Bernhard Reiter <[email protected]>
309    
310            Startup improved: We fail right away if the internal encoding could
311            not be determined.
312    
313            * Thuban/__init__.py (get_internal_encoding): new.
314    
315            * test/test_stringrepresentation.py (class TestInternalEncoding):
316            Preserve the internal encoding for the tests in this class.
317    
318    2005-10-17  Bernhard Reiter <[email protected]>
319    
320            * test/test_stringrepresentation.py: New file, for now testing
321            that set_internal_coding() is throwing an exception for bad exceptions.
322    
323            * Thuban/__init__.py (set_internal_encoding): added a forwards
324            and backward translation, so that we fail early if the
325            internal_encoding is bad.
326    
327    2005-10-17  Bernhard Reiter <[email protected]>
328    
329            svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done.
330            You could actually get polylines with filling in between,
331            when the classification for the lines had a fill color.
332            E.g. this happens when you generate a classification from a ramp.
333    
334            * Extensions/svgexport/test/test_svgmapwriter.py:
335            New test_export_arc_no_fill(). Extend copyright notice to 2005.
336    
337            * Extensions/svgexport/svgmapwriter.py
338            (SVGRenderer.draw_shape_layer_incrementally()):
339            Setting TRANSPARENT_BRUSH for shaptype ARC.
340            Extend copyright notice to 2005.
341    
342            * Extensions/svgexport/__init__.py: Extend copyright notice to 2005.
343    
344    2005-09-08  Frank Koormann <[email protected]>
345    
346            * Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported
347            by Erik (sigra.at.home.se)
348    
349    2005-08-18  Jan-Oliver Wagner <[email protected]>
350    
351            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
352            Call the right method for the default size.
353    
354    2005-08-11  Jan-Oliver Wagner <[email protected]>
355    
356            * Extensions/export_shapefile: New.
357    
358            * Extensions/export_shapefile/__init__.py: New. Initialize
359            the export_shapefile extension.
360    
361            * Extensions/export_shapefile/export_shapefile.py: New.
362            Exports a layer as a Shapefile.
363    
364    2005-08-08  Jan-Oliver Wagner <[email protected]>
365    
366            * po/de.po: String fixes. This fixes Debian bug #313843.
367    
368    2005-07-27  Jan-Oliver Wagner <[email protected]>
369    
370            Remove the attributes from the layer element in
371            .thuban files for the save routine.
372            This also solves RT bug #3149,
373            https://intevation.de/rt/webrt?serial_num=3149
374    
375            * test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName,
376            TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels,
377            TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed
378            attributes from layer element to classification clnull element.
379    
380            * test/test_save.py (SaveSessionTest.testSingleLayer,
381            SaveSessionTest.testLayerProjection,
382            SaveSessionTest.testClassifiedLayer,
383            SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis):
384            Removed attributes from layer element to classification clnull element.
385            (test_save_postgis.NonConnectionStore._fetch_table_information):
386            added pretending to have a shape_type.
387    
388            * Resources/XML/thuban-1.1.dtd: Make the attributes field
389            and field_type of classification optional.
390    
391            * Thuban/Model/classification.py (Classification.TreeItem.build_info):
392            Added output of size.
393    
394            * Thuban/Model/load.py (SessionLoader.start_classification):
395            Change attribute 'field' and 'field_type' from obligatory to
396            optional to allow empty classes (ie.  only with a default=clnull).
397    
398            * Thuban/Model/save.py (SessionSaver.write_layer): Don't write
399            any attributes anymore for the layer element.
400            (SessionSaver.write_classification): Even if there is no
401            classification field, still write the classification because
402            the clnull (default) symbol will not be defined anymore as
403            part of the layer element.
404    
405    2005-07-05  Bernhard Herzog  <[email protected]>
406    
407            * setup.py (setup call): Version 1.1.0
408    
409            * NEWS: Update for 1.1.0
410    
411            * MANIFEST.in: Add *.txt to files taken from Doc.  Otherwise the
412            technores won't be included
413    
414            * Thuban/UI/about.py (About.__init__): Extend copyright notice to
415            2005
416    
417            * po/de.po: Updated.
418    
419    2005-07-05  Bernhard Herzog  <[email protected]>
420    
421            * README: gdal 1.1.8 is too old.  1.2.5 works.
422    
423    2005-07-05  Bernhard Herzog  <[email protected]>
424    
425            * Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and
426            masktype attributes.
427    
428    2005-07-05  Bernhard Herzog  <[email protected]>
429    
430            * Thuban/Model/layer.py (Layer.__mangle_bounding_box)
431            (Layer.ClipBoundingBox): Rename ClipBoundingBox to
432            __mangle_bounding_box.  See the comments in the code and RT #2845
433    
434            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
435            Remove the explicit test of ClipBoundingBox.  The method isn't
436            public anymore and the direct call in the test wasn't necessary in
437            the first place.  If ClipBoundingBox (now __mangle_bounding_box)
438            isn't called, the return value of ShapesInRegion will be
439            different.
440    
441    2005-07-05  Bernhard Herzog  <[email protected]>
442    
443            * Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle
444            ZeroDivisionError exceptions.  I don't know when they happen
445            exactly.  It probably happens when the projections aren't set
446            properly.
447    
448    2005-07-01  Bernhard Herzog  <[email protected]>
449    
450            First step towards unicode.  With this roughly we're at step 1
451            string_representation.txt
452    
453            * Doc/technotes/string_representation.txt: New.  Document how
454            strings are represented in Thuban and how to get to a Unicode
455            Thuban.
456    
457            * Thuban/__init__.py (set_internal_encoding)
458            (unicode_from_internal, internal_from_unicode): New. The first few
459            functions for the internal string representation
460    
461            * Thuban/UI/about.py (unicodeToLocale): Removed.  Use
462            internal_from_unicode instead.
463    
464            * Thuban/UI/__init__.py (install_wx_translation): Determine the
465            encoding to use for the internal string representation.  Also,
466            change the translation function to return strings in internal
467            representation even on unicode builds of wxPython
468    
469            * Thuban/Model/load.py (SessionLoader.check_attrs): Decode
470            filenames too.
471            (SessionLoader.start_clrange): Use check_attrs to decode and check
472            the attributes.
473    
474            * Thuban/Model/xmlreader.py (XMLReader.encode): Use
475            internal_from_unicode to convert unicode strings.
476    
477            * Thuban/Model/xmlwriter.py (XMLWriter.encode): Use
478            unicode_from_internal when applicable
479    
480            * test/runtests.py (main): New command line option:
481            internal-encoding to specify the internal string encoding to use
482            in the tests.
483    
484            * test/support.py (initthuban): Set the internal encoding to
485            latin-1
486    
487            * test/test_load.py (TestSingleLayer.test, TestClassification.test)
488            (TestLabelLayer.test): Use the internal string representation when
489            dealing with non-ascii characters
490    
491            * test/test_load_1_0.py (TestSingleLayer.test)
492            (TestClassification.test, TestLabelLayer.test): Use the internal
493            string representation when dealing with non-ascii characters
494    
495            * test/test_load_0_9.py (TestSingleLayer.test)
496            (TestClassification.test): Use the internal string representation
497            when dealing with non-ascii characters
498    
499            * test/test_load_0_8.py (TestUnicodeStrings.test): Use the
500            internal string representation when dealing with non-ascii
501            characters
502    
503            * test/test_save.py (XMLWriterTest.testEncode)
504            (SaveSessionTest.testClassifiedLayer): Use the internal string
505            representation when dealing with non-ascii characters where
506            applicable
507    
508    2005-06-30  Bernhard Herzog  <[email protected]>
509    
510            * test/runtests.py: Untabify.
511    
512    2005-06-30  Bernhard Herzog  <[email protected]>
513    
514            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
515            untabify.
516    
517    2005-06-30  Bernhard Herzog  <[email protected]>
518    
519            * Extensions/ogr/test/__init__.py: Add missing coding directive
520    
521    2005-06-28  Jan-Oliver Wagner <[email protected]>
522    
523            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
524            Use the default size for rendering selected items of default type.
525            Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149
526    
527    2005-06-28  Jan-Oliver Wagner <[email protected]>
528    
529            * Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'.
530            (APR_TClr.GetThubanColor): Fix bug in color interpretation.
531            Thanks to Frank Koormann who identified this problem.
532    
533            * Extensions/importAPR/importAPR.py (APR_VShSym): New. Just
534            another symbol identified.
535    
536    2005-06-27  Jan-Oliver Wagner <[email protected]>
537    
538            * Doc/manual/thuban-manual-de.xml: More translations.
539    
540    2005-05-12  Jonathan Coles <[email protected]>
541            
542            * Thuban/UI/projdialog.py: Add missing import, which led to an
543            exception when opening a layer's projection.
544    
545    2005-05-09  Bernhard Herzog  <[email protected]>
546    
547            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
548    
549    2005-05-09  Bernhard Herzog  <[email protected]>
550    
551            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
552            connection to autoconnect.  Fixes RT#3148.
553    
554            * test/test_postgis_db.py
555            (TestPostGISSpecialCases.test_simple_error_handling): New test
556            that attempts to reproduce RT#3148.
557    
558    2005-05-06  Jonathan Coles <[email protected]>
559    
560            Add support for saving and loading the opacity and mask type
561            properties of RasterLayers. Also add support for proper use
562            of alpha information while drawing images not in 'RAW' format.
563            If transparency in an image format (e.g, PNG) is supported by
564            wxWidgets then the image would previously have been draw with
565            transparent regions, but the opaque regions would have been
566            unaffected by a change in the layer's opacity. This patch
567            corrects the problem.
568    
569            * Thuban/Model/layer.py (RasterLayer): Added opacity and
570            masktype parameters to the constructor, and set the
571            appropriate variables to those values.
572    
573            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
574            code to read the opacity and mask type of the layer and construct
575            a new layer with the additional parameters.
576    
577            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
578            to save the opacity and mask type of a layer.
579    
580            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
581            the opacity of the layer to draw_raster_data rather than the layer.
582            (BaseRenderer.draw_raster_data): Remove the layer parameter because
583            the function doesn't need to know about the layer. Add the optional
584            opacity parameter whose default is 1.0. Add 'PNG' as a supported
585            graphics format.
586    
587            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
588            signature to match that in BaseRenderer. Use the new opacity argument
589            in place of calling layer.Opacity(). In the case where the
590            format is not 'RAW', alpha_data is None and the loaded image has
591            alpha information, use the file's alpha information. This is
592            still subject to the layer's opacity setting.
593    
594            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
595            Fixed signature to match that in BaseRenderer.
596    
597            * test/test_load.py (TestRasterLayer): Change file_contents to
598            include opacity and masktype variables.
599            (TestRasterLayer.test): Include tests for opacity and masktype
600            changes.
601    
602            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
603            test to cover a variety of combinations of masktype and opacity
604            settings.
605    
606    2005-05-02  Jan-Oliver Wagner <[email protected]>
607    
608            * debian/rules: add --use-wx-python-swig-hack
609            to the build command.
610            Thanks to Moritz Lennert for pointing this out.
611    
612    2005-04-28  Jan-Oliver Wagner <[email protected]>
613    
614            Introduce OGRFileShapeStore in ogr extension.
615            This allows at least that loaded shapefile shape stores
616            can be saved correctly in the thuban session file
617            and reloaded again (reload is via core shapefile
618            routine, not OGR). For other types, .thuban files
619            can not be reloaded for the time being.
620    
621            * Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This
622            class ist to be used for any file-based shape stores
623            accessed through OGR.
624    
625            * Extensions/ogr/ogrstart.py (open_with_ogr): Added
626            forgotten _ for i18n. Adapted call OpenFileShapestore
627            regarding new parameter.
628            (OpenFileShapestore): Use OGRFileShapeStore instead of
629            OGRShapeStore. Fix return value (None instead of null).
630            Add new parameter "mainwindow" to avoid accessing global
631            context.
632    
633    2005-04-27  Jan-Oliver Wagner <[email protected]>
634    
635            Introduce FileShapeStore as generalization for
636            file-based shape stores. In a first instance
637            this allows additional modules to handle shapefile
638            format as well, namely the OGR extension.
639    
640            * Thuban/Model/data.py: Various small fixes in doc-strings.
641            (FileShapeStore): New class.
642            (ShapefileStore): Derive from FileShapeStore.
643            (ShapefileStore.__init__): Call __init__ of FileShapeStore,
644            rename self.table to self._table, initialize self._bbox
645            (ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox
646            and self.FileName() instead of self.filename.
647            (ShapefileStore.Table): Use self._table instead of self.table.
648            (ShapefileStore.FileName): Removed (moved to FileShapeStore).
649            (ShapefileStore.BoundingBox):  Use self._bbox instead of self.bbox.
650    
651            * Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore.
652            (SessionSaver.write_data_containers): Only use methods of the
653            base class FileShapeStore.
654    
655    2005-04-26  Martin Schulze  <[email protected]>
656    
657            * Extensions/wms/wms.py (render_wms_layer): Adjusted the render
658            function to the modified render engine
659    
660    2005-04-25  Martin Schulze  <[email protected]>
661    
662            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
663            Added a description according to the CVS log message
664    
665    2005-04-23  Martin Schulze  <[email protected]>
666    
667            * Thuban/UI/renderer.py: Added a missing import
668    
669    2005-04-23  Russell Nelson  <[email protected]>
670    
671            * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
672            way the previous tool is remembered, so that middle-button
673            panning works even if you haven't selected a tool.
674    
675    2005-04-11  Bernhard Herzog  <[email protected]>
676    
677            * libraries/thuban/wxproj.cpp: Move the compatibility code that
678            deals with the wxPython 2.4 version of wxPython.h into the #ifdef
679            branch that includes wxPython.h because it's only needed when
680            wxPython.h is used.  Also, it won't compile when
681            USE_WX_PYTHON_SWIG_HACK is set otherwise.
682    
683    2005-04-07  Bernhard Herzog  <[email protected]>
684    
685            * Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID.
686            (ID_CLASS_TABLE): Removed. It wasn't used anywhere except in
687            ClassGrid.__init__ and it's value is outside of the valid
688            range (must be < 32768).  wxPython 2.5 complains about it with an
689            exception.
690    
691    2005-04-05  Jan-Oliver Wagner <[email protected]>
692    
693            * Doc/manual/thuban-manual-de.xml: More translations.
694    
695    2005-04-05  Bernhard Herzog  <[email protected]>
696    
697            * libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from
698            wxPython 2.4 as well.  Also, remove a now obsolete comment.
699    
700    2005-04-05  Bernhard Herzog  <[email protected]>
701    
702            Use wxPython.h by default but provide a workaround when it isn't
703            available.
704    
705            * setup.py (wxproj_extension): New variable.  Assign the Extension
706            instance for Lib.wxproj to this variable instead of putting it
707            directly into the listso that it can be accessed by other code
708            later.
709            (thuban_build_ext.user_options): Added boolean option
710            --use-wx-python-swig-hack.
711            (thuban_build_ext.initialize_options): Initialize the new option
712            to False.
713            (thuban_build_ext.finalize_options): If the new option was given,
714            define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
715            (thuban_build_ext): Update the doc-string
716    
717            * libraries/thuban/wxproj.cpp: Normally we use
718            wx/wxPython/wxPython.h now.  Only if USE_WX_PYTHON_SWIG_HACK is
719            defined, use swigPtrConvertHack.h instead.
720    
721            * libraries/thuban/swigPtrConvertHack.h: Remove the code that was
722            copied over from wxPython.h.
723            (decode_pointer_new): New.  Equivalent of decode_pointer for
724            wxPython 2.5.
725            (wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.
726    
727            * README: Add section on potential build problems which explains
728            how the work-around for a missing wxPython.h is activated.
729    
730    2005-03-29  Bernhard Herzog  <[email protected]>
731    
732            * test/postgissupport.py (find_postgis_sql): Added yet another
733            potential location for (lw)postgis.sql because the file has moved
734            again in postgis 1.0.0 rc4.
735    
736    2005-03-29  Bernhard Herzog  <[email protected]>
737    
738            * Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to
739            match the site of the legend_icon_layer icon.  Otherwise wxpython
740            2.5 complains when the legend is created with the error:
741    
742            PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width &&
743            bitmap.GetHeight() == m_height) || (m_width == 0 && m_height ==
744            0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size
745            in wxImageList: this might work on this platform but definitely
746            won't under Windows.
747    
748    2005-03-23  Jonathan Coles <[email protected]>
749    
750            These changes add support for adjusting the opacity of a raster layer.
751    
752            * Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity.
753            (RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers
754            a LAYER_CHANGED event if the opacity actually changes.
755    
756            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added
757            layer parameter needed in the implementation of this method in
758            renderer.py.
759    
760            * Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed
761            typo 00 -> 0.
762    
763            * Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added
764            control to adjust opacity.
765    
766            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the
767            alpha data based on the opacity level of the layer.
768    
769            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now
770            accepts a layer parameter.
771    
772            * test/test_layer.py (TestLayerModification.test_raster_layer):
773            Rename opacity method calls and add test for LAYER_CHANGED.
774    
775    2005-03-16  Bernhard Herzog  <[email protected]>
776    
777            * test/test_connector.py (DeletionTestMixin.check_deletions)
778            (DeletionTestMixin.check_deletetions): renamed to check_deletions.
779            update the callers.
780    
781    2005-03-14  Jan-Oliver Wagner <[email protected]>
782    
783            * Doc/manual/thuban-manual-de.xml: More translations.
784    
785    2005-03-10  Jan-Oliver Wagner <[email protected]>
786    
787            Introducing initialization callbacks for extensions.
788    
789            * Thuban/UI/extensionregistry.py (ExtensionDesc.__init__): Added
790            optional parameter init_callback.
791            (ExtensionDesc.init_ext): New. Executes the callback and sets
792            a status.
793    
794            * Thuban/UI/application.py (ThubanApplication.OnInit): Add the
795            initialization of the extensions.
796            (ThubanApplication.init_extensions): Init all extensions.
797    
798            * Thuban/UI/about.py (About.__init__): Added status of the extensions
799            to the about text.
800    
801            * Extensions/gns2shp/__init__.py: Added init method for Extension
802            description.
803            (init): New. Contains the initialization of the module.
804    
805    2005-03-04  Nina H�ffmeyer <[email protected]>
806    
807            * Extensions/ogr/ogrdialog.py: Added a dialog, which asks for
808            OGRConnection to open a datasource. Removed dialog to display all
809            available drivers. Added some doc strings.
810    
811            * Extensions/ogr/ogrstart.py: Added menu entry for opening an
812            OGRDatasource with a string. Added two opening methods which return an
813            OGRDatasource (either data from file or from DB).
814    
815            * Extensions/ogr/ogrshapes.py: Added class OGRGeometry, which
816            represents a geometry reference of an OGRFeature. OGRShape now has a
817            list of referenced geometry objects (important for geometry
818            collections).
819            For OGRShapeStores loaded from a DB an ID column can be specified now.
820    
821    2005-02-22  Jan-Oliver Wagner <[email protected]>
822    
823            * test/test_map.py (TestMapWithContents.test_tree_info):
824            Added label layer for comparison.
825    
826    2005-02-18  Jonathan Coles <[email protected]>
827    
828            * libraries/thuban/gdalwarp.cpp (GetImageData): Optimize the loop
829            which builds a mask. Handle the majority of an image in a loop,
830            creating 8 bits at a time. Later, handle the edge case where less
831            than 8 bits are packed.
832    
833    2005-02-18  Bernhard Herzog  <[email protected]>
834    
835            * test/test_baserenderer.py (TestBaseRenderer.setUp): Fix
836            doc-string
837    
838    2005-02-18  Jonathan Coles <[email protected]>
839    
840            * setup.py: Remove wx_cs_params from gdal compile options.
841    
842    2005-02-18  Jonathan Coles <[email protected]>
843    
844            Refactored baserenderer.py and renderer.py to remove baserenderer.py's
845            dependencies on wxPython. Added a new method projected_raster_layer()
846            that returns a raster layer image in projected space. This must be
847            implemented in classes derived from BaseRenderer. This also eliminates
848            the dependency on gdal in baserenderer.py.
849    
850            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Call
851            new projected_raster_layer() to get projected raster image instead
852            of directly calling ProjectRasterFile().
853            (BaseRenderer.projected_raster_layer): New. This must be implemented
854            by derived classes. It takes almost the same arguments as ProjectRasterFile
855            did and returns a projected image with mask and alpha data (if requested).
856            (BaseRenderer.render_map_incrementally): Remove the check for gdal since
857            that check will be done in MapRenderer.projected_raster_layer(). This
858            also allows other implementations to use different projection code.
859    
860            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
861            Implementation of BaseRenderer.projected_raster_layer. Checks for
862            gdal support and wxPython version. Also handles exceptions from
863            ProjectRasterFile.
864    
865            * libraries/thuban/gdalwarp.cpp: Removed checks for wxPython versions
866            and added a variable which can be set through the options argument
867            of ProjectRasterFile.
868    
869            * test/test_baserenderer.py (SimpleRenderer.projected_raster_layer): New.
870            Calls ProjectRasterFile and returns the result.
871            (TestBaseRenderer.test_projected_raster_layer): New. Tests the results
872            of calling projected_raster_layer() with different options.
873            (TestBaseRenderer.test_raster_no_projection): Removed tests based on
874            wxPython version and all tests of masks and alpha channels. These are
875            now in test_projected_raster_layer().
876    
877    2005-02-17  Jan-Oliver Wagner <[email protected]>
878    
879            * Thuban/Model/map.py, Thuban/Model/label.py: Fixed
880            doc-strings to comply with coding_guidelines.
881    
882    2005-02-17  Jan-Oliver Wagner <[email protected]>
883    
884            Docstring improvements and minor fixes for labellayer.
885    
886            * Thuban/Model/map.py:
887            (Map, Map.Destroy, Map.RemoveLayer, Map.ClearLayers,
888            Map.Layers, Map.HasLayers, Map.MoveLayerToTop,
889            Map.RaiseLayer, Map.LowerLayer, Map.MoveLayerToBottom,
890            Map.ProjectedBoundingBox, Map.GetProjection): Improved/added
891            doc string.
892            (Map.BoundingBox): Removed superfluous test for label_layer
893            and improved doc string.
894            (Map.TreeInfo): Added label_layer and improved sdo string.
895    
896            * Thuban/Model/label.py: Added import of _.
897            (Label, Label.__init__): Improved/added doc string.
898            (LabelLayer, LabelLayer.__init__, LabelLayer.Labels,
899            LabelLayer.RemoveLabel, LabelLayer.ClearLabels):
900            Improved/added doc string.
901            (LabelLayer.AddLabel): Use already defined names for
902            align strings and improved doc string.
903            (LabelLayer.TreeInfo): New. Return the object data for
904            the tree view.
905    
906    2005-02-16  Jonathan Coles <[email protected]>
907    
908            Further wxPython 2.5 changes using patches from Daniel Calvelo Aros
909            so that that wxproj doesn't crash. Added GUI support for selecting
910            alpha channel (opacity can't be selected yet).
911    
912            NOTE: If wxPython.h is including in future distribution packages
913            then it will not be necessary to have the files swigPtrConvertHack.h
914            and wxPython_int.h included with Thuban. This is hopefully
915            a temporary workaround.
916    
917            * setup.py (thuban_build_ext.finalize_options): gdalwarp needs
918            access to the macro wxCHECK_VERSION so that it will properly
919            generate a bit mask. There was a problem between wx2.4 and wx2.5
920            that this works around.
921    
922            * Thuban/Model/layer.py (RasterLayer.UseMask): Removed in favor
923            of RasterLayer.MaskType.
924            (RasterLayer.SetUseMask): Removed in favor of RasterLayer.SetMaskType
925            (RasterLayer.MaskType): New. Returns the type of mask to use. Can
926            specify none, a bitmap, or an alpha channel.
927            (RasterLayer.SetMaskType): New. Set what kind of mask to use.
928    
929            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer):
930            Set the raster warping options for the mask based on the value
931            of RasterLayer.MaskType.
932    
933            * Thuban/UI/legend.py (LegendTree.__FillTreeLayer): Remove
934            deprecated calls to SetItemSelectedImage in favor of SetItemImage
935            with wxTreeItemIcon_Selected.
936    
937            * Thuban/UI/rasterlayerproperties.py: Support selecting to use
938            an alpha channel for the mask.
939    
940            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Use alpha
941            data if it is available and an alpha channel is supported under
942            the current version of wxPython.
943    
944            * libraries/thuban/gdalwarp.cpp (GetImageData): Added compiler define
945            to select whether 1's or 0's select the desired portion of an image
946            in the bit mask. wx2.4 has a bug where the documentation is the opposite
947            from behavior.
948            (ProjectRasterFile): Only generate an alpha channel if the version
949            of wxPython is >= 2.5.3.
950    
951            * libraries/thuban/wxproj.cpp: Applied patches from Daniel Calvelo Aros.
952            When wxPython >= 2.5.3 use the special swig functions to decode an
953            object's address.
954    
955            * libraries/thuban/swigPtrConvertHack.h: Includes conditional code
956            based on the version of wxPython. If >= 2.5.3 use the special swig
957            functions from wxPython to decode wxPython objects, otherwise use
958            the old method of retrieving the address from the object __repr__ string.
959    
960            * libraries/thuban/wxPython_int.h: Copied from wxPython source.
961            Unnecessary code was removed to make it smaller.
962    
963            * test/test_baserenderer.py (TestBaseRenderer.test_raster_no_projection):
964            Add tests for returning an alpha channel.
965    
966            * test/test_layer.py (TestLayerModification.test_raster_layer): Fix
967            tests that used removed functions UseMask and SetUseMask
968    
969    
970    2005-02-08  Bernhard Herzog  <[email protected]>
971    
972            More wxPython 2.5 changes.  This time taken from a patch from
973            Daniel Calvelo Aros.
974    
975            * Thuban/UI/tableview.py (QueryTableFrame.__init__)
976            (QueryTableFrame.__init__): Pass the size of a spacer as a single
977            item.
978    
979            * Thuban/UI/projdialog.py (ProjFrame.build_dialog)
980            (ProjFrame.build_dialog): Pass the size of a spacer as a single
981            item.
982    
983            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Pass the
984            size of a spacer as a single item.
985    
986            * Thuban/UI/classifier.py (Classifier.dialog_layout): Pass the
987            size of a spacer as a single item.
988    
989    2005-02-08  Bernhard Herzog  <[email protected]>
990    
991            Compatibility with wxPython 2.5.  The changes should make it work
992            better with 2.5 while still keeping compatibility with 2.4.  There
993            are still problems with 2.5, though.
994    
995            * Thuban/UI/dock.py (DockableWindow.__CreateBorder): Pass the size
996            of a spacer as a single item.
997    
998            * Thuban/UI/classifier.py (ClassGroupPropertiesCtrl): Derive only
999            from wxControl
1000    
1001            * Thuban/UI/legend.py (LegendTree): When running with wxPython <
1002            2.5, add an implementation of the GetFirstChild method that does
1003            not require the second parameter.
1004            (LegendTree.find_layer, LegendTree._OnMsgMapLayersAdded)
1005            (LegendTree._OnMsgMapLayersRemoved, LegendTree.DeleteAllItems)
1006            (LegendTree.DeleteChildren, LegendTree.__ShowHideLayer): Do not
1007            pass the second parameter to GetFirstChild
1008    
1009    2005-02-08  Nina H�ffmeyer <[email protected]>
1010    
1011            * Extensions/ogr/ogrshapes.py: Removed some print commands.
1012    
1013            * Extensions/ogr/ogrstart.py: Changed the GUI. OGR is no longer an
1014            additional menu but appears as a possibility in the menu Map.
1015    
1016    2005-02-07  Jonathan Coles <[email protected]>
1017            * libraries/thuban/gdalwarp.cpp: Removed the macros PYTHON_ERR
1018            and PYTHON_ERRF since they were no longer necessary.
1019    
1020    2005-02-07  Bernhard Reiter <[email protected]>
1021            * Thuban/UI/classifier.py (ClassGrid.DeleteSelectedRows):
1022            Enable translation for message string.
1023    
1024    2005-02-06  Martin Schulze  <[email protected]>
1025    
1026            * Extensions/wms/infodialog.py (wmsInfoDialog.__init__): Adjusted
1027            the arguments of the contstructor to fit the global scheme
1028    
1029    2005-01-31  Nina H�ffmeyer <[email protected]>
1030    
1031            * Extensions/ogr/ogrdialog.py: Added class ogrdialog.py, which provides
1032            some dialogs needed to start ogr.
1033            
1034            * Extensions/ogr/__init__.py: Changed comments to avoid encoding
1035            warnings.
1036    
1037            * Extensions/ogr/test/test_OGRShapestore.py: Changed comments to avoid
1038            encoding warnings.
1039    
1040    2005-01-28  Jonathan Coles <[email protected]>
1041    
1042            * libraries/thuban/gdalwarp.cpp (GetImageData): Recode how the
1043            mask is packed into a bit array. It's now slightly faster.
1044    
1045    2005-01-28  Jonathan Coles <[email protected]>
1046    
1047            * Thuban/Model/layer.py (RasterLayer.__init__): Make use_mask
1048            default to true.
1049    
1050            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Remove
1051            code that loads the state of the layer's use_mask flag. Its
1052            usefulness is still being debated.
1053    
1054            * Thuban/Model/save.py (SessionSaver.write_layer): Remove
1055            code that saves the state of the layer's use_mask flag. Its
1056            usefulness is still being debated.
1057    
1058            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
1059            options to ProjectRasterFile based on the state of layer.UseMask().
1060            Catch more exceptions from ProjectRasterFile so that Thuban doesn't
1061            quit is there is a problem projecting.
1062            (BaseRenderer.draw_raster_data): Change the documentation to
1063            describe the new format (XBM) that the mask data will be in.
1064    
1065            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): The mask
1066            data is in XBM format when format='RAW' which means it doesn't
1067            need to be converted to a wxImage before being used as a mask
1068            for a wxBitmap. Assume that if format != 'RAW' that the image
1069            data and mask data are in the same format.
1070    
1071            * libraries/thuban/gdalwarp.cpp (GetImageData): If alpha is enabled
1072            and a mask is requested, convert the alpha band to a bit array in
1073            XBM format. if an alpha channel is requested, simply return the
1074            data in the alpha band. Provide better error handling by returning
1075            python error messages (also fixes RT #2947).
1076            (ProjectRasterFile): Support multiple mask options, rather than simply
1077            a flag indicating that a mask should or should not be used. Provide
1078            better error handling by returning python error messages.
1079    
1080            * test/test_baserenderer.py (TestBaseRenderer.test_raster_no_projection):
1081            Add mask data to test.
1082    
1083            * test/test_layer.py (TestLayer.test_raster_layer): Test that a layer
1084            should use the mask by default.
1085            (TestLayerModificaton.test_raster_layer): Test that a layer should use
1086            the mask by default.
1087    
1088            * test/test_load.py (TestRasterLayer.test): Remove testing for
1089            use_mask flag in file.
1090    
1091            * test/test_save.py (SaveSessionTest.testRasterLayer): Remove testing
1092            for use_mask in file.
1093    
1094            * test/test_load_1_0_1.py: Removed. Shouldn't have been checked in.
1095            
1096    2005-01-26  Jonathan Coles <[email protected]>
1097    
1098            Add a new dialog box for raster layers. The dialog box allows
1099            the user to toggle a mask that is generated by ProjectRasterFile
1100            and is used to only draw the real parts of the projected image.
1101    
1102            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer):
1103            Instruct the warping code to generate a mask if the raster layer
1104            requests one.
1105            (BaseRenderer.draw_raster_data): Removed obsolete optional mask argument.
1106    
1107            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Removed
1108            obsolete optional mask argument.
1109    
1110            * Thuban/UI/classifier.py (Classifier): Change the parent class
1111            to LayerProperties and rework the code to support layout calls
1112            from the parent.
1113            (Classifier.dialog_layout): New. Layout the dialog box.
1114            (Classifier.map_layers_removed): Removed. Moved to parent class.
1115            (Classifier.map_replaced): Removed. Moved to parent class.
1116            (Classifier._OnTry): Renamed to OnTry to support parent class.
1117            (Classifier.OnClose): Removed. Supplied in parent class.
1118            (Classifier._OnCloseBtn): Removed. Supplied in parent class as OnCloseBtn.
1119            (Classifier._OnOK): Renamed to OnOK to support parent class.
1120            (Classifier._OnRevert): Renamed to OnRevert to support parent class.
1121    
1122            * Thuban/UI/layerproperties.py: New. Base class for layer properties
1123            dialog boxes.
1124    
1125            * Thuban/UI/rasterlayerproperties.py: New. Class for displaying
1126            raster layer properties.
1127    
1128            * libraries/thuban/gdalwarp.cpp: Replace the old gdalwarp.cpp code
1129            with the non-simple version supplied with gdal. This allows added
1130            features such as creating an alpha band.
1131            (GetImageData): Generate a mask array from the alpha band that is
1132            generated by gdal if the user has selected it. Try to support images
1133            that have more than three bands, such as images with RGB plus an
1134            alpha band.
1135            (ProjectRasterFile): Convert python argument for mask and tell
1136            gdal to enable or disable an alpha band.
1137    
1138            * Thuban/Model/layer.py (BaseLayer.Type): New. Returns a string
1139            describing what kind of layer the class is. Defaults to "Unknown",
1140            but should be overridden by subclasses.
1141            (Layer.Type): New. Override base class method.
1142            (RasterLayer.__init__): Create a flag for using a mask. Record extra
1143            data from gdal for display in the properties dialog.
1144            (RasterLayer.Type): New. Override base class method.
1145            (RasterLayer.UseMask): New. Returns True if the mask should be used.
1146            (RasterLayer.SetUseMask): New. Set if the mask should be used.
1147            (RasterLayer.ImageInfo): New. Return extra information about the image.
1148    
1149            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Load
1150            the mask information.
1151    
1152            * Thuban/Model/save.py (SessionSaver.write_layer): Save mask information.
1153    
1154            * Thuban/UI/mainwindow.py: Register the RasterLayerProperties and
1155            Classifier classes as dialogs to use with the proper layer types.
1156    
1157            * test/test_baserenderer.py (TestBaseRenderer.test_raster_no_projection):
1158            Fix test.
1159    
1160            * test/test_layer.py (TestLayer.test_raster_layer): Test new methods.
1161            (TestLayerModification.build_path): New. Support function.
1162            (TestLayerModification.test_raster_layer): New. Test new methods.
1163    
1164            * test/test_save.py (SaveSessionTest.testRasterLayer): Add tests for mask.
1165    
1166            * test/test_load.py (TestRasterLayer): Add tests for mask.
1167    
1168            * test/test_load_1_0_1.py: New. Copied from test_load.py.
1169    
1170            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Removed
1171            obsolete optional mask argument.
1172    
1173    2005-01-26  Nina H�ffmeyer <[email protected]>
1174    
1175            * Extensions/ogr/ogrshapes.py: Added two dictionaries to ShapeStore
1176            which maps the ids and the ordinals. Fixed RowIdToOrdinal(),
1177            RowOrdinalToId() and ReadRowAsDict().
1178    
1179            * Extensions/ogr/ogrstart.py: Added menu item which opens database
1180            layers for existing database connections.
1181    
1182            * Extensions/ogr/test/test_OGRShapestore.py: Fixed a message string.
1183    
1184    
1185    2005-01-26  Jan-Oliver Wagner <[email protected]>
1186    
1187            * Doc/manual/thuban-manual-de.xml: More translations.
1188    
1189    2005-01-24  Bernhard Herzog  <[email protected]>
1190    
1191            Rework the status bar updates a bit to make sure the message about
1192            the projections is produced at the right times.
1193    
1194            * Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages):
1195            New class variable with messages that may require a status bar
1196            update.
1197            (MainWindow.view_position_changed)
1198            (MainWindow.update_status_bar): Rename from view_position_changed
1199            to update_status_bar.  It's meaning has changed now that it may
1200            also generate messages about problems with projection settings.
1201            (MainWindow.__init__): Use the new update_status_bar_messages
1202            class variable to subscribe update_status_bar
1203            (MainWindow.set_position_text): Update doc-string.  This method
1204            has to be renamed at some point.  See doc-string and comments.
1205            (MainWindow.OnClose): Unsubscribe update_status_bar from all
1206            messages in update_status_bar_messages
1207    
1208            * Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New
1209            class attribute.  map messages to be forwarded by the viewport.
1210            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe
1211            the messages in forwarded_map_messages
1212    
1213    2005-01-21  Bernhard Herzog  <[email protected]>
1214    
1215            * test/postgissupport.py (PostGISDatabase.__init__): Tweak
1216            doc-string
1217            (find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a
1218            different name for the initialization SQL file.
1219    
1220    2005-01-21  Jonathan Coles <[email protected]>
1221    
1222            * Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes
1223            a projection and returns a formatted string representing the
1224            parameters to feed to gdalwarp. This function eliminates
1225            redundancy in draw_raster_layer().
1226            (BaseRenderer.render_map_incrementally): Removed the optimization which
1227            drew the top most raster layer first and then only those vector-
1228            based layers that are above it. With the support for transparency
1229            this optimization breaks correct behaviour.
1230            (BaseRenderer.draw_raster_layer): Reorganize code to support possible
1231            future enhancements to raster layer bounding box. The old behaviour has
1232            not changed. Also, change calling parameters to draw_raster_data()
1233            to specify new RAW data format and mask.
1234            (BaseRenderer.draw_raster_data): Change signature to include an optional
1235            parameter for mask information. Change documentation to mention
1236            support for new parameter and added option for RAW data format.
1237            The data argument is now a list of [width, height, data].
1238    
1239            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional
1240            mask parameter. Add new condition for RAW format, which
1241            significantly reduces rendering time. Add condition for
1242            mask parameter.
1243    
1244            * libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a
1245            data array of RGB values from the projected image returned from
1246            the gdal warping functions. In the case of palette based images, it
1247            converts the NO_DATA index to the mask color.
1248            (ProjectRasterFile): Removed all custom memory driver references
1249            and replaced it with the standard in-memory dataset provided
1250            by gdal. The return data is no longer a BMP file, but an array
1251            of RGB values, one set triple per pixel.
1252    
1253            * libraries/thuban/bmpdataset.cpp: Removed. Unnecessary.
1254            * libraries/thuban/cpl_mfile.h: Removed. Unnecessary.
1255            * libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary.
1256    
1257            * setup.py (thuban_build_ext.finalize_options): Removed mention
1258            of cpl_mfile.cpp and bmpdataset.cpp files in the list of source
1259            files. These are obsolete with the new version of gdalwarp.cpp
1260    
1261            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
1262            Updated signature.
1263            (TestBaseRenderer.test_raster_no_projection): Changed the test
1264            data to be data in the uncompressed RAW format returned from
1265            ProjectRasterFile.
1266    
1267    2005-01-21  Jan-Oliver Wagner <[email protected]>
1268    
1269            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made
1270            string available for i18n.
1271    
1272    2005-01-20  Russell Nelson  <[email protected]>
1273    
1274            * Resources/Projections/defaults.proj: Ruin the speling of the
1275            Lambert-93 projection so it doesn't run into the wx UTF-8 bug.
1276            It's the wrong thing to do in the long run, but it's necessary for
1277            those users until that bug is fixed.  Otherwise the projection
1278            dialog segfaults.  Better to annoy some Lambert-93 users with a
1279            spelling mistake than every Fedora Core 3 user of Thuban-CVS.
1280    
1281    2005-01-20  Bernhard Reiter <[email protected]>
1282    
1283            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added
1284            docstring and comment that the warning code here is a hack.
1285    
1286    2005-01-20  Russell Nelson  <[email protected]>
1287    
1288            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn
1289            user about misprojected layers when their lat/lon bounding
1290            box exceeds rational lat/lon values.
1291    
1292    2005-01-20  Bernhard Reiter <[email protected]>
1293    
1294            * Thuban/UI/about.py (unicodeToLocale): Improved:
1295            Use 'ascii' and then 'replace' for other characters
1296            when getdefaultlocale returns None. Thanks to Bernhard H. .
1297    
1298    2005-01-20  Bernhard Reiter <[email protected]>
1299    
1300            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment
1301            that OnRangeText might be called twice and using None as argument.
1302    
1303    2005-01-20  Bernhard Reiter <[email protected]>
1304    
1305            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a
1306            OnRangeText(0) to work around a different in wx Behaviour noticed
1307            on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
1308    
1309    2005-01-20  Bernhard Reiter <[email protected]>
1310    
1311            * Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns
1312            None. (Fixes rt#2910.)
1313            
1314    2005-01-18  Frank Koormann <[email protected]>
1315    
1316            New Extension: mouseposition
1317            Tool to collect mouse click positions (map coordinates) in a dialog.
1318    
1319            * Extensions/mouseposition/__init__.py: New, extension registration
1320    
1321            * Extensions/mouseposition/mouseposition.py: New, implements the
1322            dialog and adds a tool to Thuban mainwindow.
1323    
1324            * Extensions/mouseposition/position.xpm: New, icon for tool.
1325    
1326    2005-01-14  Jan-Oliver Wagner <[email protected]>
1327    
1328            * Doc/manual/thuban-manual-de.xml: More translations.
1329    
1330    2005-01-11  Frank Koormann <[email protected]>
1331    
1332            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
1333            Fix indention bug.
1334    
1335    2005-01-09  Frank Koormann <[email protected]>
1336    
1337            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
1338            BugFix 2901: Explicitly copy layers ClassificationColumn since it
1339            is not part of the layers Classification.
1340    
1341    2005-01-03  Frank Koormann <[email protected]>
1342    
1343            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
1344            BugFix 2883: Former implementation only worked on classified point
1345            layers: KeyError was raised, now use the default size if field is None.
1346    
1347    2004-12-27  Bernhard Reiter <[email protected]>
1348    
1349            svgexport 1.0.0cvs: Fixed label export.
1350    
1351            * Extensions/svgexport/test/test_svgmapwriter.py:
1352            class TestSVGRenderer(): New class; new test test_label_font().
1353    
1354            * Extensions/svgexport/svgmapwriter.py
1355            (SVGRenderer.label_font()): initialised Font size with self.factor now,
1356            makes test_label_font happy.
1357    
1358            * Extensions/svgexport/TODO: crossed out fixed label export item.
1359            Added item for options.
1360    
1361            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
1362    
1363    2004-12-27  Russell Nelson  <[email protected]>
1364    
1365            Middle mouse button pans.
1366    
1367            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
1368            OnMiddleDown and OnMiddleUp events.
1369            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
1370            previously used tool.
1371            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
1372            pressing the middle mouse button.
1373    
1374    2004-12-27  Jan-Oliver Wagner <[email protected]>
1375    
1376            * Doc/manual/thuban-manual-de.xml: More translations.
1377    
1378    2004-12-23  Jan-Oliver Wagner <[email protected]>
1379    
1380            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
1381            \n to stderr after the warnings. Thanks to Russell Nelson.
1382    
1383    2004-12-20  Nina Hueffmeyer <[email protected]>
1384    
1385            * Extensions/ogr/ogrshapes.py: Fixed some issues from
1386            Bernhard (coding guidelines etc.). Additionally it is now possible to
1387            display shapefiles containing feature collections (e.g.polygons
1388            with holes). Works with gdal 1.2.1 now.
1389    
1390            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
1391            from Bernhard (coding guidelines etc.). If ogr can't be imported,
1392            tests are skipped now.
1393    
1394            * Extensions/ogr/ogrstart.py: Fixed some typings.
1395    
1396    2004-12-20  Bernhard Reiter <[email protected]>
1397    
1398            * Extensions/svgexport/TODO: updated to add support for
1399            raster layers and labels for 1.0.1.
1400    
1401            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
1402            Issue a warning now.
1403    
1404    2004-12-19  Bernhard Reiter <[email protected]>
1405    
1406            * Extensions/svgexport/TODO: Added idea to support triggering
1407            the application down the pipe.
1408    
1409    2004-12-19  Bernhard Reiter <[email protected]>
1410    
1411            svgexport: Improved code quality, mainly by better naming.
1412    
1413            * Extensions/svgexport/svgmapwriter.py:
1414            DrawPath() renamed to DrawPolygonPath(),
1415            added documentation, improved comments and variable names.
1416            
1417            * Extensions/svgexport/svgmapwriter.py,
1418              Extensions/svgexport/test/test_svgmapwriter.py:
1419            All using DrawPolygonPath() now, the default parameter closed=True
1420            omitted.
1421    
1422            * Extensions/svgexport/test/test_svgmapwriter.py:
1423            renamed test_polygon_opened() to test_polyline()
1424            renamed test_transparent_polygon() to test_transparent_polyline()
1425    
1426    2004-12-18  Jan-Oliver Wagner <[email protected]>
1427    
1428            Some fixes of gns2shp extension.
1429    
1430            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
1431            package.
1432    
1433            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
1434            dynamically.
1435    
1436            * Extensions/gns2shp/test/README: Simplified description how to test.
1437    
1438            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
1439            fixed some dimensions of fields according to the GNS documentation
1440            which seems to change undocumented.
1441            Now killing trailing \n and/or \r from MODIFY_DATE.
1442            This fixes RT#2453.
1443    
1444    2004-12-18  Bernhard Reiter <[email protected]>
1445    
1446            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
1447    
1448            * Extensions/svgexport/test/test_svgmapwriter.py:
1449            Added new tests: test_export_polygon_with_hole()
1450            and test_polygon_with_hole().
1451    
1452            * Extensions/svgexport/svgmapwriter.py
1453            (draw_polygon_shape()): Uses DrawPath correctly now.
1454    
1455            * Doc/manual/thuban-manual.xml: Added documentation for stable
1456            extention svgexport.    
1457            * Doc/manual/thuban-manual-de.xml: Copied English section about
1458            svexport over.
1459    
1460            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
1461    
1462            * Extensions/svgexport/svgsaver.py,maplegend.py:
1463            Moved from experimental to stable extension menu.
1464    
1465            * Extensions/svgexport/TODO: updated.
1466    
1467    
1468    2004-12-18  Bernhard Reiter <[email protected]>
1469    
1470            Added Extensions/svgexport/TODO
1471    
1472    2004-12-18  Bernhard Reiter <[email protected]>
1473    
1474            Refactored in svgexport:
1475            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
1476    
1477            * Extensions/svgexport/svgmapwriter.py
1478            Added verbosity level 3 to print out polygon points.
1479            (class Point): added __repr__
1480            (class Brush, __str__()): Added space after ,.
1481            (DrawPolygon): Renamed to DrawPath()
1482            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
1483            (DrawLines): Using DrawPath now.
1484    
1485            * Extensions/svgexport/test/test_svgmapwriter.py:
1486            Replaced DrawPolygon() calls with DrawPath() and put the first argument
1487            inside another list. Adapted test data with a newline before "M".
1488    
1489    2004-12-18  Bernhard Reiter <[email protected]>
1490            
1491            Refactored svgexport tests: 9 double tests runs eliminated;
1492            code size reduced by 8 lines.
1493    
1494            * Extensions/svgexport/test/test_svgmapwriter.py:
1495            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
1496            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
1497            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
1498            this fixed the double running of the nine tests of TestVirtualDC.
1499            (class TestVirtualDC): Using self.dc and self.file from setUp().
1500    
1501    2004-12-17  Bernhard Herzog  <[email protected]>
1502    
1503            Two windows specific fixes ported from thuban-1�0-branch:
1504    
1505            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
1506            instead of getlocale because getlocale doesn't return a usable
1507            encoding name on a german windows 2000
1508    
1509            * setup.py: windows build: Removed the absolute path names and
1510            made all prfixes relative to the directory containing setup.py.
1511            Makes it a little easier to adapt to a different system.
1512    
1513    2004-12-16  Bernhard Herzog  <[email protected]>
1514    
1515            Add support for PostGIS tables with LINESTRING geometries.
1516            Fixes RT#2299
1517    
1518            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
1519    
1520            * test/postgissupport.py
1521            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
1522            table to "roads-multi" because it now uses MULTILINESTRING
1523            geometries and introduce a new "roads" table that uses LINESTRING
1524            (coords_to_multilinestring): Make the doc string more precise
1525            (coords_to_linestring): New.  Create a LINESTRING WKT
1526            representatin
1527            (wkt_converter): Add coords_to_linestring
1528            (upload_shapefile): Rephrase the doc-string a bit.
1529    
1530            * test/test_postgis_db.py (TestPostGISShapestoreArc)
1531            (LineStringTests)
1532            (TestPostGISShapestoreLineString)
1533            (TestPostGISShapestoreMultiLineString): Split
1534            TestPostGISShapestoreArc into a base class LineStringTests and two
1535            derived classes TestPostGISShapestoreLineString for LINESTRING
1536            geometries and TestPostGISShapestoreMultiLineString for
1537            MULTILINESTRING geometries.  Most test methods are in the base
1538            class with the exception of tests that explicitly check the raw
1539            format.
1540    
1541    2004-12-16  Bernhard Herzog  <[email protected]>
1542    
1543            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
1544    
1545            * test/postgissupport.py (find_postgis_sql): Different postgis
1546            versions put the postgis.sql file into slightly different places
1547            so we have to look in both.  The updated doc string describes this
1548            is more detail.
1549    
1550            * test/test_postgis_db.py
1551            (TestPostGISSpecialCases.test_column_name_quoting): The return
1552            value of UniqueValues is unsorted, so it has to be sorted for
1553            comparison.
1554    
1555    2004-12-16  Bernhard Herzog  <[email protected]>
1556    
1557            Fix for RT#2237
1558    
1559            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
1560            panel to be shown is the UnknownProjPanel disable the OK and Try
1561            buttons.  Otherwise enable them.
1562            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
1563            the parameters.  In that case __GetProjection also returns None
1564            now.
1565    
1566    2004-12-15  Bernhard Herzog  <[email protected]>
1567    
1568            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
1569            minimum number of classes to 2.  The calculate_quantiles needs at
1570            least two and raises an exception otherwise.  
1571            Fixes RT#2549
1572    
1573    2004-12-15  Bernhard Herzog  <[email protected]>
1574    
1575            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
1576            so that it returns a result for select statements.
1577            (PostgreSQLServer.server_version): New.  Return the version of the
1578            server software.
1579            (PostgreSQLServer.require_authentication): The format of
1580            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
1581            server version and generate the file in the correct format
1582    
1583    2004-12-15  Bernhard Herzog  <[email protected]>
1584    
1585            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
1586            in the doc string and rephrase it a little.
1587    
1588    2004-12-15  Frank Koormann <[email protected]>
1589    
1590            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
1591            session has been loaded successfully. The check is called by the relevant
1592            tests after executing load_session().
1593    
1594    2004-12-13  Bernhard Herzog  <[email protected]>
1595    
1596            Make sure the region used to determine which shapes are visible
1597            actually matches the region on the printed page.  If this isn't
1598            done properly some shapes might not be printed.  
1599            Fixes RT #2692
1600    
1601            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
1602            renderer has to be at the same position as the mapregion
1603    
1604            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
1605            has to be moved by (self.shiftx, self.shifty) too.
1606    
1607    2004-12-13  Bernhard Herzog  <[email protected]>
1608    
1609            * libraries/pyprojection/Projection.i: Work around a bug in the
1610            generated python code which leads to exception in the __del__
1611            method when the constructor fails.  See the comments in the code
1612            for more details.
1613    
1614            * libraries/pyprojection/Projection.py: Updated from Projection.i
1615            with SWIG.
1616    
1617    2004-12-13  Bernhard Herzog  <[email protected]>
1618    
1619            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
1620            (TestAltPath.test_02_path_error_fix_from_list)
1621            (TestAltPath.test_05_path_error_fix_from_list_changed)
1622            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
1623            is destroyed in tearDown, so there's no need to do it in a test
1624            case.
1625    
1626            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
1627            debug print
1628    
1629    2004-12-13  Bernhard Herzog  <[email protected]>
1630    
1631            * Extensions/svgexport/test/test_svgmapwriter.py
1632            (TestDrawSplines.setUp): Do not use super with the unittest
1633            classes because in Python 2.2 they're still old-style classes.
1634    
1635    2004-12-13  Frank Koormann <[email protected]>
1636    
1637        Alternative Path feature: When loading a (moved) session where
1638            shapefiles cannot be found, ask the user. Use the specified path
1639            if further shapefiles are missing. However, ask the usr for confirmation
1640            in such cases.
1641    
1642            * test/test_load.py (TestAltPath): New, tests for alternative path feature
1643            in load_session()
1644            (Shapefile_CallBack): Helper, implements controllable callback.
1645    
1646            * Thuban/UI/application.py (ThubanApplication.OnInit):
1647            Added "alt_path" to self.path
1648            (ThubanApplication.OpenSession): Added shapefile_callback as second
1649            callback similar to db_connection_callback.
1650            (ThubanApplication.run_alt_path_dialog): New, implementaion of
1651            shapefile_callback. In addition to raising the dialog the control of
1652            self.path('alt_path') is implemented here.
1653    
1654            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
1655            (SessionLoader.open_shapefile): Open shapefile, eventually with
1656            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
1657            formerly used in start_fileshapesource()/start_layer().
1658            (SessionLoader.start_fileshapesource): Call open_shapefile().
1659            (SessionLoader.start_layer): Call open_shapefile().
1660            (load_session): Added shapefile_callback.
1661    
1662            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
1663            feature (search / check).
1664            
1665            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
1666    
1667    2004-12-11  Bernhard Reiter <[email protected]>
1668    
1669             svgexport 0.9.2: Point size supports for maps.
1670    
1671            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
1672            (def draw_point_shape): new parameter size defaults to 2 as before.
1673            (draw_shape_layer_incrementally): Moved draw_func log line higher.
1674            Added draw_func call with size when dealing with a point layer.
1675    
1676            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
1677            
1678    2004-12-11  Bernhard Reiter <[email protected]>
1679    
1680            Made sure that newlines are inserted in the svg path d attributes
1681            to raise the chance that the line length will be below 255 characters,
1682            as recommended by REC SVG 1.1 in section 8.3.1.
1683    
1684            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
1685            Adding \n before L's and changed whitespace handling.
1686    
1687            * Extensions/svgexport/test/test_svgmapwriter.py:
1688            Adapted tests to new whitespace handling of DrawPolygon.
1689    
1690    2004-12-11  Bernhard Reiter <[email protected]>
1691    
1692            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
1693    
1694            * Extensions/svgexport/test/test_svgmapwriter.py:
1695            Removed test_drawbezier in favour of new test_drawspline3 and
1696            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
1697            All only to test DrawSpline.
1698    
1699            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
1700            New implementation now really using the strange algorithm of
1701            xfig 3.1's approximated splines and its conversion to postscript
1702            with one twist: SVG can do quadratic beziers, so skipped translation
1703            to cubic beziers.
1704            (TestWithDC): Typo in comment fixed.
1705    
1706    2004-12-09  Martin Schulze  <[email protected]>
1707    
1708            * Thuban/Model/classgen.py: Added missing character encoding
1709    
1710            * Extensions/wms/properties.py (OpenWMSProperties): removed
1711    
1712            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
1713            support for get_srs_discrepancies() since there are no
1714            discrepancies anymore (was a thinko)
1715    
1716            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
1717            format priority now that more formats are supported globally by
1718            the render engine.
1719    
1720    2004-12-08  Silke Reimer <[email protected]>
1721            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
1722            because it is not available in all versions of ogr
1723    
1724  2004-12-08  Bernhard Reiter <[email protected]>  2004-12-08  Bernhard Reiter <[email protected]>
1725          * Extensions/ogr/__init__.py: Added empty __init__.py to heal          * Extensions/ogr/__init__.py: Added empty __init__.py to heal
1726          global tests until a real one is commited.          global tests until a real one is commited.

Legend:
Removed from v.2436  
changed lines
  Added in v.2721

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26