/[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 2174 by joey, Tue Apr 13 19:28:47 2004 UTC revision 2509 by jan, Mon Dec 27 09:09:01 2004 UTC
# Line 1  Line 1 
1    2004-12-27  Jan-Oliver Wagner <[email protected]>
2    
3            * Doc/manual/thuban-manual-de.xml: More translations.
4    
5    2004-12-23  Jan-Oliver Wagner <[email protected]>
6    
7            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
8            \n to stderr after the warnings. Thanks to Russell Nelson.
9    
10    2004-12-20  Nina Hueffmeyer <[email protected]>
11    
12            * Extensions/ogr/ogrshapes.py: Fixed some issues from
13            Bernhard (coding guidelines etc.). Additionally it is now possible to
14            display shapefiles containing feature collections (e.g.polygons
15            with holes). Works with gdal 1.2.1 now.
16    
17            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
18            from Bernhard (coding guidelines etc.). If ogr can't be imported,
19            tests are skipped now.
20    
21            * Extensions/ogr/ogrstart.py: Fixed some typings.
22    
23    2004-12-20  Bernhard Reiter <[email protected]>
24    
25            * Extensions/svgexport/TODO: updated to add support for
26            raster layers and labels for 1.0.1.
27    
28            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
29            Issue a warning now.
30    
31    2004-12-19  Bernhard Reiter <[email protected]>
32    
33            * Extensions/svgexport/TODO: Added idea to support triggering
34            the application down the pipe.
35    
36    2004-12-19  Bernhard Reiter <[email protected]>
37    
38            svgexport: Improved code quality, mainly by better naming.
39    
40            * Extensions/svgexport/svgmapwriter.py:
41            DrawPath() renamed to DrawPolygonPath(),
42            added documentation, improved comments and variable names.
43            
44            * Extensions/svgexport/svgmapwriter.py,
45              Extensions/svgexport/test/test_svgmapwriter.py:
46            All using DrawPolygonPath() now, the default parameter closed=True
47            omitted.
48    
49            * Extensions/svgexport/test/test_svgmapwriter.py:
50            renamed test_polygon_opened() to test_polyline()
51            renamed test_transparent_polygon() to test_transparent_polyline()
52    
53    2004-12-18  Jan-Oliver Wagner <[email protected]>
54    
55            Some fixes of gns2shp extension.
56    
57            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
58            package.
59    
60            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
61            dynamically.
62    
63            * Extensions/gns2shp/test/README: Simplified description how to test.
64    
65            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
66            fixed some dimensions of fields according to the GNS documentation
67            which seems to change undocumented.
68            Now killing trailing \n and/or \r from MODIFY_DATE.
69            This fixes RT#2453.
70    
71    2004-12-18  Bernhard Reiter <[email protected]>
72    
73            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
74    
75            * Extensions/svgexport/test/test_svgmapwriter.py:
76            Added new tests: test_export_polygon_with_hole()
77            and test_polygon_with_hole().
78    
79            * Extensions/svgexport/svgmapwriter.py
80            (draw_polygon_shape()): Uses DrawPath correctly now.
81    
82            * Doc/manual/thuban-manual.xml: Added documentation for stable
83            extention svgexport.    
84            * Doc/manual/thuban-manual-de.xml: Copied English section about
85            svexport over.
86    
87            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
88    
89            * Extensions/svgexport/svgsaver.py,maplegend.py:
90            Moved from experimental to stable extension menu.
91    
92            * Extensions/svgexport/TODO: updated.
93    
94    
95    2004-12-18  Bernhard Reiter <[email protected]>
96    
97            Added Extensions/svgexport/TODO
98    
99    2004-12-18  Bernhard Reiter <[email protected]>
100    
101            Refactored in svgexport:
102            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
103    
104            * Extensions/svgexport/svgmapwriter.py
105            Added verbosity level 3 to print out polygon points.
106            (class Point): added __repr__
107            (class Brush, __str__()): Added space after ,.
108            (DrawPolygon): Renamed to DrawPath()
109            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
110            (DrawLines): Using DrawPath now.
111    
112            * Extensions/svgexport/test/test_svgmapwriter.py:
113            Replaced DrawPolygon() calls with DrawPath() and put the first argument
114            inside another list. Adapted test data with a newline before "M".
115    
116    2004-12-18  Bernhard Reiter <[email protected]>
117            
118            Refactored svgexport tests: 9 double tests runs eliminated;
119            code size reduced by 8 lines.
120    
121            * Extensions/svgexport/test/test_svgmapwriter.py:
122            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
123            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
124            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
125            this fixed the double running of the nine tests of TestVirtualDC.
126            (class TestVirtualDC): Using self.dc and self.file from setUp().
127    
128    2004-12-17  Bernhard Herzog  <[email protected]>
129    
130            Two windows specific fixes ported from thuban-1�0-branch:
131    
132            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
133            instead of getlocale because getlocale doesn't return a usable
134            encoding name on a german windows 2000
135    
136            * setup.py: windows build: Removed the absolute path names and
137            made all prfixes relative to the directory containing setup.py.
138            Makes it a little easier to adapt to a different system.
139    
140    2004-12-16  Bernhard Herzog  <[email protected]>
141    
142            Add support for PostGIS tables with LINESTRING geometries.
143            Fixes RT#2299
144    
145            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
146    
147            * test/postgissupport.py
148            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
149            table to "roads-multi" because it now uses MULTILINESTRING
150            geometries and introduce a new "roads" table that uses LINESTRING
151            (coords_to_multilinestring): Make the doc string more precise
152            (coords_to_linestring): New.  Create a LINESTRING WKT
153            representatin
154            (wkt_converter): Add coords_to_linestring
155            (upload_shapefile): Rephrase the doc-string a bit.
156    
157            * test/test_postgis_db.py (TestPostGISShapestoreArc)
158            (LineStringTests)
159            (TestPostGISShapestoreLineString)
160            (TestPostGISShapestoreMultiLineString): Split
161            TestPostGISShapestoreArc into a base class LineStringTests and two
162            derived classes TestPostGISShapestoreLineString for LINESTRING
163            geometries and TestPostGISShapestoreMultiLineString for
164            MULTILINESTRING geometries.  Most test methods are in the base
165            class with the exception of tests that explicitly check the raw
166            format.
167    
168    2004-12-16  Bernhard Herzog  <[email protected]>
169    
170            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
171    
172            * test/postgissupport.py (find_postgis_sql): Different postgis
173            versions put the postgis.sql file into slightly different places
174            so we have to look in both.  The updated doc string describes this
175            is more detail.
176    
177            * test/test_postgis_db.py
178            (TestPostGISSpecialCases.test_column_name_quoting): The return
179            value of UniqueValues is unsorted, so it has to be sorted for
180            comparison.
181    
182    2004-12-16  Bernhard Herzog  <[email protected]>
183    
184            Fix for RT#2237
185    
186            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
187            panel to be shown is the UnknownProjPanel disable the OK and Try
188            buttons.  Otherwise enable them.
189            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
190            the parameters.  In that case __GetProjection also returns None
191            now.
192    
193    2004-12-15  Bernhard Herzog  <[email protected]>
194    
195            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
196            minimum number of classes to 2.  The calculate_quantiles needs at
197            least two and raises an exception otherwise.  
198            Fixes RT#2549
199    
200    2004-12-15  Bernhard Herzog  <[email protected]>
201    
202            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
203            so that it returns a result for select statements.
204            (PostgreSQLServer.server_version): New.  Return the version of the
205            server software.
206            (PostgreSQLServer.require_authentication): The format of
207            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
208            server version and generate the file in the correct format
209    
210    2004-12-15  Bernhard Herzog  <[email protected]>
211    
212            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
213            in the doc string and rephrase it a little.
214    
215    2004-12-15  Frank Koormann <[email protected]>
216    
217            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
218            session has been loaded successfully. The check is called by the relevant
219            tests after executing load_session().
220    
221    2004-12-13  Bernhard Herzog  <[email protected]>
222    
223            Make sure the region used to determine which shapes are visible
224            actually matches the region on the printed page.  If this isn't
225            done properly some shapes might not be printed.  
226            Fixes RT #2692
227    
228            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
229            renderer has to be at the same position as the mapregion
230    
231            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
232            has to be moved by (self.shiftx, self.shifty) too.
233    
234    2004-12-13  Bernhard Herzog  <[email protected]>
235    
236            * libraries/pyprojection/Projection.i: Work around a bug in the
237            generated python code which leads to exception in the __del__
238            method when the constructor fails.  See the comments in the code
239            for more details.
240    
241            * libraries/pyprojection/Projection.py: Updated from Projection.i
242            with SWIG.
243    
244    2004-12-13  Bernhard Herzog  <[email protected]>
245    
246            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
247            (TestAltPath.test_02_path_error_fix_from_list)
248            (TestAltPath.test_05_path_error_fix_from_list_changed)
249            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
250            is destroyed in tearDown, so there's no need to do it in a test
251            case.
252    
253            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
254            debug print
255    
256    2004-12-13  Bernhard Herzog  <[email protected]>
257    
258            * Extensions/svgexport/test/test_svgmapwriter.py
259            (TestDrawSplines.setUp): Do not use super with the unittest
260            classes because in Python 2.2 they're still old-style classes.
261    
262    2004-12-13  Frank Koormann <[email protected]>
263    
264        Alternative Path feature: When loading a (moved) session where
265            shapefiles cannot be found, ask the user. Use the specified path
266            if further shapefiles are missing. However, ask the usr for confirmation
267            in such cases.
268    
269            * test/test_load.py (TestAltPath): New, tests for alternative path feature
270            in load_session()
271            (Shapefile_CallBack): Helper, implements controllable callback.
272    
273            * Thuban/UI/application.py (ThubanApplication.OnInit):
274            Added "alt_path" to self.path
275            (ThubanApplication.OpenSession): Added shapefile_callback as second
276            callback similar to db_connection_callback.
277            (ThubanApplication.run_alt_path_dialog): New, implementaion of
278            shapefile_callback. In addition to raising the dialog the control of
279            self.path('alt_path') is implemented here.
280    
281            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
282            (SessionLoader.open_shapefile): Open shapefile, eventually with
283            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
284            formerly used in start_fileshapesource()/start_layer().
285            (SessionLoader.start_fileshapesource): Call open_shapefile().
286            (SessionLoader.start_layer): Call open_shapefile().
287            (load_session): Added shapefile_callback.
288    
289            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
290            feature (search / check).
291            
292            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
293    
294    2004-12-11  Bernhard Reiter <[email protected]>
295    
296             svgexport 0.9.2: Point size supports for maps.
297    
298            * Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT
299            (def draw_point_shape): new parameter size defaults to 2 as before.
300            (draw_shape_layer_incrementally): Moved draw_func log line higher.
301            Added draw_func call with size when dealing with a point layer.
302    
303            * Extensions/svgexport/__init__.py: bumped version to 0.9.2.
304            
305    2004-12-11  Bernhard Reiter <[email protected]>
306    
307            Made sure that newlines are inserted in the svg path d attributes
308            to raise the chance that the line length will be below 255 characters,
309            as recommended by REC SVG 1.1 in section 8.3.1.
310    
311            * Extensions/svgexport/svgmapwriter.py(DrawPolygon):
312            Adding \n before L's and changed whitespace handling.
313    
314            * Extensions/svgexport/test/test_svgmapwriter.py:
315            Adapted tests to new whitespace handling of DrawPolygon.
316    
317    2004-12-11  Bernhard Reiter <[email protected]>
318    
319            * Doc/technotes/coding_guidelines.txt: easy typo fixed.
320    
321            * Extensions/svgexport/test/test_svgmapwriter.py:
322            Removed test_drawbezier in favour of new test_drawspline3 and
323            test_drawspline4 within new class TestDrawSplines(TestVirtualDC).
324            All only to test DrawSpline.
325    
326            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
327            New implementation now really using the strange algorithm of
328            xfig 3.1's approximated splines and its conversion to postscript
329            with one twist: SVG can do quadratic beziers, so skipped translation
330            to cubic beziers.
331            (TestWithDC): Typo in comment fixed.
332    
333    2004-12-09  Martin Schulze  <[email protected]>
334    
335            * Thuban/Model/classgen.py: Added missing character encoding
336    
337            * Extensions/wms/properties.py (OpenWMSProperties): removed
338    
339            * Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped
340            support for get_srs_discrepancies() since there are no
341            discrepancies anymore (was a thinko)
342    
343            * Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic
344            format priority now that more formats are supported globally by
345            the render engine.
346    
347    2004-12-08  Silke Reimer <[email protected]>
348            * Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings
349            because it is not available in all versions of ogr
350    
351    2004-12-08  Bernhard Reiter <[email protected]>
352            * Extensions/ogr/__init__.py: Added empty __init__.py to heal
353            global tests until a real one is commited.
354    
355    2004-12-07 Nina H�ffmeyer <[email protected]>
356    
357            * /Extensions/ogr/: Adding a new extension to read shapefiles with
358            ogr. It is planned to add other vector formats.
359    
360            * /test/runtests.py: Adding tests from /Extensions/ogr/test/.
361    
362    2004-12-07  Jan-Oliver Wagner <[email protected]>
363    
364            * /Extensions/svgexport/test/test_svgmapwriter.py: Reverting
365            part of a (non-)fix to renable that the tests are always
366            executed.
367    
368    2004-12-07  Bernhard Reiter <[email protected]>
369    
370            * Extensions/svgexport/test/test_svgmapwriter.py:
371            Added test_drawbezier() to test DrawSpline().
372    
373            * Extensions/svgexport/svgmapwriter.py(DrawSpline):
374            Really implemented bezier drawing.
375    
376            * Extensions/svgexport/__init__.py: Bumped version of svgexport
377            to 0.9.1 because now the legend examples lines styles
378            will be drawing with beziers.
379    
380    2004-12-05  Martin Schulze  <[email protected]>
381    
382            * Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and
383            GIF as supported bitmap image formats (helpful for the WMS extension)
384    
385    2004-11-30  Martin Schulze  <[email protected]>
386    
387            * Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs):
388            Improved the test for the internal compare method
389    
390    2004-11-27  Jan-Oliver Wagner <[email protected]>
391    
392            * Thuban/UI/about.py (About.__init__): Added
393            Norbert Solymosi for hungarian translation and Ole Rahn
394            as contrbutor. Moved Bernhard Reiter from Contributor
395            to Developer.
396    
397    2004-11-27  Bernhard Reiter <[email protected]>
398    
399            * Extensions/svgexport/test/test_svgmapwriter.py:
400            Removed Jan from author list as he did not change enough significant
401            lines yet.
402    
403            * Extensions/svgexport/__init__.py: Added Bernhard as author
404            of the Extension.
405    
406    2004-11-27  Jan-Oliver Wagner <[email protected]>
407    
408            * po/hu.po: New. Hungarian translation. Contributed
409            by Norbert Solymosi.
410    
411    2004-11-26  Bernhard Herzog  <[email protected]>
412    
413            * Extensions/svgexport/test/test_svgmapwriter.py
414            (Testobjectexport.test_transparent_polygon): Commented out some
415            debug prints
416    
417    2004-11-24  Jan-Oliver Wagner <[email protected]>
418    
419            Fix broken tests for svg extension and added svg legend
420            to Experimental menu.
421    
422            * Extensions/svgexport/test/test_svgmapwriter.py: Fix to have
423            the test run correctly even if the extension is a package.
424            Also removed the "import Thuban" which makes no sense.
425    
426            * Extensions/svgexport/__init__.py: Fix to have the extensions'
427            test module also be executed from the global test routine.
428            This is done by looking for the absense of the DISPLAY variable.
429    
430            * Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions
431            to Experimental menu since this module has yet not reached a stable
432            status (ie. 1.0).
433    
434    2004-11-22  Bernhard Reiter <[email protected]>
435    
436            * Extensions/svgexport/svgmapwriter.py:
437            Added verbose variable and some logging depending on it.
438            (class VirtualDC(XMLWriter)): Minor improvement in the polygon loop,
439            because counting i is not necessary.
440            (class Pen, class Brush): Added simple __str__ methods.
441            (SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are
442            not exported to svg file) Note: holes still unhandled.
443    
444            * Extensions/svgexport/test/test_svgmapwriter.py:
445                    Made a baseclass TestWithDC for test needed a DC.
446                    Added tests for bug #2698 (transparent polygons are not
447                    exported to svg file):
448                    Testobjectexport.test_transparent_polygon()
449    
450            * Thuban/Model/base.py (UnsetModified):
451            Fixed some typos in docstring.
452    
453            * Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()):
454            Added hints on the used algorithm for handling holes.
455    
456    2004-11-20  Jan-Oliver Wagner <[email protected]>
457    
458            Some face lifting for the examples.
459    
460            * Examples/__init__.py: Make this directory a package.
461    
462            * Examples/simple_extensions/__init__.py: Make this directory a package.
463    
464            * Examples/simple_extensions/hello_world.py: Moved entry from Extensions
465            menu to Examples menu.
466    
467            * Examples/simple_extensions/simple_command.py: Some more comments,
468            minor changes.
469    
470            * Examples/simple_extensions/simple_tool.py: Minor changes.
471    
472    2004-11-20  Jan-Oliver Wagner <[email protected]>
473    
474            Changed way of extension registry for wms and added extension
475            registry for umn_mapserver extension.
476    
477            * Extensions/wms/__init__.py: Added registry entry and the importing
478            of the actual wms module. Included a test for the required PyOGCLib.
479    
480            * Extensions/wms/wms.py: Removed registry entry (moved to __init__.py).
481    
482            * Extensions/umn_mapserver/__init__.py: Added registry entry and the
483            importing of the actual umn mapserver management modules.
484            Included a test for the required Python MapScript.
485    
486    2004-11-20  Jan-Oliver Wagner <[email protected]>
487    
488            Changed way of extension registry for importAPR, bboxdump
489            and added extension registry for svgexport.extension registry for
490            svgexport.
491    
492            * Extensions/importAPR/__init__.py: Added registry entry and the importing
493            of the actual importAPR module.
494    
495            * Extensions/importAPR/importAPR.py: Removed registry entry (moved to
496            __init__.py).
497    
498            * Extensions/bboxdump/__init__.py: Added registry entry and the importing
499            ����of the actual bboxdump module.
500    
501            * Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to
502            ����__init__.py).
503    
504            * Extensions/svgexport/__init__.py: Added registry entry and the importing
505            of the svgsaver module.
506    
507            * Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions
508            to Experimental menu since this module has yet not reached a stable
509            status (ie. 1.0).
510    
511    2004-11-18  Jan-Oliver Wagner <[email protected]>
512    
513            Now the hit test considers the size of point symbols.
514    
515            * Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter
516            'size' defaulting to the previously fixed value 5.
517            Extended doc-string.
518            (Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility
519            for symbols.
520            Now the size of the largest point symbol is determined to find out
521            about whether the point has been hit.
522            This fixes the problem that only clicks inside a fixed distance of
523            5 where found.
524    
525    2004-11-17  Jan-Oliver Wagner <[email protected]>
526    
527            Another open issue fixed regarding sizeable symbols: correct rendering of
528            selected symbols.
529    
530            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
531            Added consideration of the specific size of point symbols.
532            The property for each point symbol is retrieved and the size applied
533            for the rendering method.
534            Added doc-string.
535    
536    2004-11-16  Jan-Oliver Wagner <[email protected]>
537    
538            Changed way of Extension Registry for gns2shp and profiling.
539    
540            * Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to
541            __init__.py).
542    
543            * Extensions/gns2shp/__init__.py: Added registry entry and the importing
544            of the actual gns2shp module.
545    
546            * Extensions/profiling/profiling.py: Removed registry entry (moved to
547            __init__.py).
548    
549            * Extensions/profiling/__init__.py: Added registry entry and the importing
550            of the actual profiling module.
551    
552    2004-10-28  Bernhard Reiter <[email protected]>
553    
554            * Extensions/svgexport/: Minor improvements to doc strings.
555    
556    2004-10-07  Jan-Oliver Wagner <[email protected]>
557    
558            Further elements for sizable point objects now
559            making this feature usable though not yet complete.
560    
561            * Thuban/Model/save.py (SessionSaver.write_classification): Write
562            attribute 'size' for cldata when the shape layer is of point type.
563            This also now make the test_load.py tests happy.
564    
565            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size
566            gradient.
567    
568            * Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to
569            ID_SELPROP_SPINCTRL_LINEWIDTH.
570            (ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL.
571            (ID_SELPROP_SPINCTRL_SIZE): New Id.
572            (SelectPropertiesDialog.__init__): Added a second spin control
573            for the size in case the corresponding layer is of point type.
574            (SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth.
575            (SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin.
576            (SelectPropertiesDialog._OnSpinSize): New. Set size of property
577            and refresh preview.
578    
579    
580    
581    2004-10-04  Martin Schulze  <[email protected]>
582    
583            * Extensions/wms/test/test_parser.py
584            (TestWMSCapabilitiesParser.test_compareLists): Added missing
585            self-test for compareLists()
586            (TestWMSCapabilitiesParser.test_compareDicts): Added missing
587            self-test for compareDicts()
588            (TestWMSCapabilitiesParser.test_compareLists): Adding more tests
589            to verify the test routine fails with non-equal arguments
590            (TestWMSCapabilitiesParser.test_compareDicts): Adding more tests
591            to verify the test routine fails with non-equal arguments
592    
593    2004-10-03  Jan-Oliver Wagner <[email protected]>
594    
595            First elements for sizeable point objects.
596    
597            * Resources/XML/thuban-1.1.dtd: Added size attribute to cldata.
598    
599            * Data/iceland_sample_size.thuban: New. Sample for sized point objects.
600    
601            * test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case
602            of a corresponding argument is given.
603            (TestSymbolSize): New. Test the size attribute of cldata.
604    
605            * Thuban/Model/classification.py: Removed some trailing whitespaces.
606            (ClassGroupProperties.__init__): Set default size.
607            (ClassGroupProperties.SetProperties): Set the size.
608            (ClassGroupProperties.GetSize): New. Return the size.
609            (ClassGroupProperties.SetSize): New. Set the size.
610            (ClassGroupProperties__eq__): Compare also size.
611            (ClassGroupProperties__repr__): Print also size.
612    
613            * Thuban/Model/load.py (SessionLoader.start_cldata): Also parse
614            the size attribute.
615    
616            * Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string.
617            Also, now there is a return value that indicates whether the drawing
618            size exceeded the given rect extent and if so the new extent.
619            Finally, point objects are drawn depending on the size. If either
620            the width or height is exceeded, the new extent is returned.
621            (ClassRenderer.Draw): Now when calling the previewer drawing function,
622            evaluate the return value and, if not None, adapt the grid widget size
623            accordingly and redraw again.
624    
625            * Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally):
626            If the draw function is for points, call it with the size as additional
627            parameter.
628            (BaseRenderer.draw_point_shape): Added additional, optional parameter for
629            the size. Compute the radius using the size.
630    
631            * Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now
632            that Thuban supports size, apply this correctly.
633    
634            * Extensions/importAPR/importAPR.py: Bumped version to 0.1.1.
635    
636    2004-10-03  Jan-Oliver Wagner <[email protected]>
637    
638            * Doc/manual/thuban-manual-de.xml: Started translation of
639            Map chapter.
640    
641    2004-10-01  Martin Schulze  <[email protected]>
642    
643            * Extensions/wms/properties.py (wmsProperties.__init__): Extended
644            argument for general use through properties-dialog selector
645            
646            * Thuban/UI/classifier.py: Register properties dialog classes for
647            both provided layer classes/types.
648    
649            * Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The
650            map can be retrieved through the parent which is passed to the
651            constructor anyway and doesn't require an argument of its own,
652            required for the unification of arguments for general use through
653            properties-dialog selector.
654            (MainWindow.OpenOrRaiseDialog): Move the logic for checking
655            whether a dialog is already opened (and raising it to the users
656            attention) and creating a new dialog into a function of its own
657            (MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog()
658            method
659            (MainWindow.OpenLayerProperties): Utilise the new ClassMapper for
660            global registration of properties dialog classes (which are indeed
661            layer-specific).
662    
663            * Thuban/UI/classifier.py (Classifier.__init__): Unify arguments
664            for general use through properties-dialog selector, the map can be
665            retrieved through the parent and doesn't require an argument of
666            its own.
667    
668            * Extensions/wms/wms.py: Register the properties dialog class for
669            the provided WMS layer
670    
671    2004-09-28  Jan-Oliver Wagner <[email protected]>
672    
673            New feature: Registry for Extensions.
674    
675            * Thuban/UI/extensionregistry.py: This module defines a registry for
676            Extensions.
677    
678            * Thuban/UI/about.py (About.__init__): Added description
679            of the registered extensions with all of the information.
680    
681            * Thuban/Model/extension.py (Extension): Improved doc-string.
682    
683            * Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py,
684            Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py,
685            Extensions/wms/wms.py: Added registration of the extension.
686    
687    2004-09-27  Bernhard Reiter <[email protected]>
688    
689            More fixes to svgexport to make used ids unique and
690            conforming to XML's Name production.
691    
692            * Extensions/svgexport/test/test_svgmapwriter.py: Added new tests
693            test_xml_id_constraints(), test_make_ide_nosetbaseid() and
694            test_make_id_nonintegersetid().  Switched SetID and SetBaseID.
695            Added Bernhard R. as author.
696            * Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as
697            concatenation char now (makes test_make_ide_nosetbaseid() valid).
698            Also transform second id part with "%d" and catch the TypeError
699            to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok).
700            Corrected typo inBernhard's author line.
701            (SetBaseID): Return the transformed base id. Transform characters
702            which are not alnum() or in ".-_" to binascii.b2a_hex(). Added
703            import binascii. If to be set string starts with "xml" or so, add "t".
704            (draw_shape_layer_incrementally): use the returned value of SetBaseID
705            for used_baseids checks.
706    
707    2004-09-25  Bernhard Herzog  <[email protected]>
708    
709            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
710            Remove a debug print and some tab characters.
711    
712    2004-09-25  Bernhard Reiter <[email protected]>
713    
714            * Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author.
715            (SetBaseID, SetID, make_id): Improved docstring comments to explain
716            the interaction of the three functions and the XML id contrains.
717    
718    
719    2004-09-23  Jan-Oliver Wagner <[email protected]>
720    
721            * Doc/ThubanModel.xmi: New. UML file for Thuban Model
722            Module.
723    
724            * Doc/README: Added info on ThubanModel.xmi.
725    
726    2004-09-23  Jan-Oliver Wagner <[email protected]>
727    
728            * Doc/README: New. Some info about how to generate technical
729            documentation from the source code.
730            This text was send to the Thuban developer mailing list on
731            September 21st 2004 by Bernhard Reiter.
732    
733    2004-09-21  Bernhard Reiter <[email protected]>
734    
735            Improved the svgexport to only use unique ids. Will issues
736            an error message dialoge when two layer names are the same.
737            ShapeIDs are now added with a dash within the svg ids.
738    
739            * Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
740            * Extensions/svgexport/test/test_svgmapwriter.py: Added imports
741            (TestSVGRenderer): New test class with test_make_in() and
742            test_check_for_layer_name_clash()
743            * Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
744            and draw_shape_layer_incrementally() to not use a baseid twice,
745            satisfying test_check_for_layer_name_clash()
746            (VirtualDC.make_id): Use a dash between baseit and id, satisfies
747            test_make_in().
748            * Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
749            and wxICON_HAND.
750            (write_to_svg): Put dc and rendering in a try statement and on
751            catching SVGmapWriterError notify the user and delete the target file.
752    
753    2004-09-20  Bernhard Reiter <[email protected]>
754    
755            * Model/base.by, Model/layer.py: Fixed typos in docstrings.
756    
757    2004-09-03  Jan Sch�ngel  <[email protected]>
758    
759            * Extensions/umn_mapserver/mapfile(MF_Class.add_thubanstyle): Fix a
760            small bug with the line color. Now the line color will now only set
761            if it is set in Thuban an not Transparent.
762            
763            * Extensions/umn_mapserver/mf_export(tblayer_to_map): Fixed a bug with
764            deleting the layers from mapfile. Now all layers will delete backwards
765            from the last.
766    
767    2004-08-20  Silke Reimer <[email protected]>
768    
769            * Thuban/Model/layer.py:
770            Fixes bug in projection handling: Otherwise very large region might not
771            have valid values in the layer's projection.
772    
773    2004-08-20  Silke Reimer <[email protected]>
774    
775            * Thuban/UI/about.py:
776            small changes to be consistent with coding style.
777              
778    2004-08-13  Martin Schulze  <[email protected]>
779    
780            * Extensions/wms/test/test_ogclib.py (TestOGCLib.compare_URLs):
781            Adjusted a comment
782    
783    2004-08-11  Silke Reimer <[email protected]>
784    
785            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
786                    too many and too enhanced imports of locale
787    
788    2004-08-10  Silke Reimer <[email protected]>
789    
790            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
791                    function unicodeToLocale() to convert special characters to users
792                    locale encoding
793    
794    2004-08-10  Jan-Oliver Wagner <[email protected]>
795    
796            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
797            lower case letter'
798    
799    2004-08-09  Jan Sch�ngel  <[email protected]>
800    
801            * ChangeLog: Rewrite the last ChangeLog entry to follow
802            the standard way.
803    
804            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
805            the function where it is needed, because it don't works if it stands
806            at the beginning.
807            (MF_Layer.__init__): Removed the extra numclassed variable. Now
808            numclasses from the mapscript will be used.
809            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
810            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
811            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
812            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
813            (MF_Map.create_new_layer): New. A new Layer is created and associated
814            with the mapscript object.
815            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
816            the mapscript.
817            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
818            linked to the layer in thuban, else the layerobject linked to the
819            thubanlayer will be used.
820            AnnotationLayer will now store the filename of the shapefile.
821            (MF_Map.remove_layer): If a layer is removed the associated object
822            must be set new.
823            
824            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
825            layers which are exists in thuban to the mapobj. All removed Layers
826            will be removed from the mapobj.
827            Added comments to all functions.
828            (thuban_to_map): No layer will be removed here.
829            
830            * Extensions/umn_mapserver/mf_handle.py
831            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
832            Layersettings for the mapserver kann be edited.
833    
834            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
835            imported, will be linked with the associated MF_Layer.
836            (import_mapfile): All layers, which are not selected, will be removed.
837            Disable the "import layer from mapfile" menu option.
838    
839            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
840            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
841            layer on permanently.
842    
843    2004-08-03  Jan Sch�ngel  <[email protected]>
844    
845            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
846            New. This function removes all metadata
847            (MF_Layer.set_group): New. Set the group setting.
848            (MF_Layer.get_group): New. Get the group setting.
849            (MF_Map): Removed the extra numlayers variable, used the mapscript
850            parameter instead.
851            (MF_Map.get_numlayers): New. This get numlayers.
852            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
853            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
854            if the object is an instance. Also added the annotation layer here to
855            export, but only the layer is created in the mapfile.
856    
857            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
858            the check if a mapobj exist, because its not needed anymore. The
859            export function is only available if a mapobj exist.
860            Use the new function to remove all layers.
861            
862            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
863            option and the metadata button. The layer dialog is temporary disabled.
864            (Metadata_CustomDataTable): Added some functions to show the grid
865            correct.
866    
867            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
868            the number of layer from import_mapfile to this function.
869            (AnnotationLayer): New. This Class shows the Annotation layer in
870            thuban. The layer don't do anything. It's only to show the layer
871            and to save the layer order.
872            (add_annotationlayer): New. Import an annotation layer to thuban.
873            (select_layer2import): New. Import only layers to thuban and not
874            the other settings like projection or scalebar.
875            (create_new_mapfile): Moved the _has_umn_mapobj function and the
876            create_new_mapfile functions from mf_handle.py to mf_import.py.
877            
878            * Extensions/umn_mapserver/sample/iceland.map: Added the group
879            parameter to the roads and cultural layers. Also added a new
880            Annotation Layer for the cultural points.
881    
882            * Extensions/umn_mapserver/sample/iceland.html: Added the select
883            option for the annotation layer.
884    
885            * Extensions/umn_mapserver/sample/index.html: Added the start
886            parameter for the annotation layer.
887    
888    2004-08-01  Jan-Oliver Wagner <[email protected]>
889    
890            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
891            translation completed.
892    
893            * Doc/manual/thuban-manual.xml (Chapter Session Management):
894            Fixed unprecise description for Save Session.
895    
896    2004-07-31  Jan-Oliver Wagner <[email protected]>
897    
898            Started translation of Users Manual into german.
899    
900            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
901    
902            * Doc/manual/Makefile: Added build instructions for german
903            users manual.
904    
905            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
906    
907    2004-07-28  Jan Sch�ngel  <[email protected]>
908    
909            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
910            functions. Now all metadata will handle by the function and its not
911            needed to initialize it from outside. Therefor the associated mapobj
912            will be stored in the Metadata Object. So we can use the special
913            functions from the associated mapobj to get the Metadata.
914            Therefor all initialization code for the metadata is removed from the
915            other classes.
916            (MF_Layer): Added a function to get the metadata object.
917            (MF_Map): Added a function to set the mappath, the path where
918            the mapfile ist stored.
919    
920            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
921            to set the extent in the mapfile. Now the code is set by the displayed
922            data in the Thuban-view.
923            (export_mapfile): The shapepath is now set empty, until relative
924            pathnames are supported.
925    
926            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
927            metadata. Yet only mapfile metadata are supported. Layer and class
928            supported are not implemented.
929            Added a dialog to handle layer informations. The dialog only shows the
930            selected layer at the moment.
931    
932            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
933            code for setting the extent in thuban. Now the extent is set to the
934            given extent from the mapfile.
935            Fixed a logical mistake. Now the extent is set when realy a layer is
936            loaded, and not if one is selected to load.
937    
938            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
939            move the shown map in the browser.
940    
941            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
942            line to the mapobj and added metadata to the political layer.
943    
944            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
945            for Metadata.
946    
947    2004-07-26  Martin Schulze  <[email protected]>
948    
949            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
950            ClassMapper
951    
952            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
953            case for the new ClassMapper
954    
955    
956    2004-07-22  Bernhard Herzog  <[email protected]>
957    
958            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
959            visible extent of the map in projected coordinates
960    
961            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
962            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
963            tests.
964            (SimpleViewPortTest.test_visible_extent): New. The real test for
965            VisibleExtent()
966    
967    2004-07-22  Bernhard Herzog  <[email protected]>
968    
969            * test/test_viewport.py: Use support.run_tests as the main
970            function when running asa script.
971    
972    2004-07-22  Jan Sch�ngel <[email protected]>
973    
974            * Extensions/umn_mapserver/mf_export.py: Added "import os"
975            Removed the old "import Thuban.UI.mainwindow" code.
976            (tbextent_to_map): Removed the extra function and at the code direct
977            to "thuban_to_map" function.
978            (write_creatorcomment): Added. Now a short comment is added to the
979            beginning of an generated mapfile.
980            (export_mapfile): Now the Path and filename are saved in to variables,
981            and not together in one variable. This is needed for the new
982            write_creatorcomment function.
983                    
984            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
985            import module "re". Also added Range and the ClassGroupRange import
986            from Thuban. Both are needed for the new range expression import.
987            (create_rangeexpression): Added. Creates a Range Expression in Thuban
988            style from a given mapfile expression.
989            (added_rasterlayer): Make some small code changes. The shapepath is
990            now stored in an extra variable and the clazz_name is set empty if no
991            class name set in the mapfile.
992            Changed the Error message for Range Expressions, becaus the new
993            function create a error string which will be shown in the dialog.
994    
995            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
996            range expression import.
997    
998    2004-07-21  Jan-Oliver Wagner <[email protected]>
999    
1000            * Extensions/umn_mapserver/README: Added hint that
1001            installation as root can be avoided. Removed all tabs.
1002    
1003    2004-07-16  Bernhard Herzog  <[email protected]>
1004    
1005            * test/test_viewport.py
1006            (ViewPortTest.test_changing_map_projection): Check that changing
1007            the projection of an empty map shown in a viewport doesn't lead to
1008            exceptions in the viewport's handler for the
1009            MAP_PROJECTION_CHANGED messages
1010    
1011            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
1012            try to keep the same region visible when the map actually contains
1013            something
1014    
1015    2004-07-15  Jan Sch�ngel <[email protected]>
1016    
1017            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
1018            mappath directly from the mapobj. Is needed because of the changes
1019            in mf_import.py.
1020            (MF_Layer.add_thubanclass): Added a new comment.
1021            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
1022            mapobj is empty there is no extent get from thuban an so no one can
1023            set to th mapobj.
1024            
1025            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
1026            the discription.
1027            Split the funktion in to three smaller ones. The new functions are
1028            add_rasterlayer, add_polygonlayer and select_layer2import.
1029            Removed the mapfilepath and filepath initialisation, because its know
1030            include in the new functions.
1031            Now nothing will be imported if cancel is pressed in the
1032            layer choice dialog.
1033    
1034    2004-07-14  Jan Sch�ngel <[email protected]>
1035    
1036            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
1037            import.
1038            (MF_Symbolset): Removed the extra variable for numsymbols.
1039            (MF_Class.__init__): Added a comment to the exception clause.
1040            Removed the extent init, because it was not needed anymore.
1041            (MF_Layer.add_thubanclass): Added the code to set the class name to
1042            the expression value from thuban if no label is defined.
1043            Added the code to export Range expressions from thuban to the mapfile.
1044            (MF_Map.set_extent): Removed the exception and replace it by some if
1045            code. If the size of a map is not defined the size will be set to 1,1.
1046            This is necessary because if the extent is set, mapscript checks if
1047            the size is greater than zero.
1048            (MF_Web): Added the get and set function for the template.
1049    
1050            * Extensions/umn_mapserver/mf_export.py: Added the function to check
1051            if a mapobject exists and used it to set the status of the menu items.
1052            If no mapfile exists the settings could not be edditied.
1053            Define after which menuitem the exportitem will include.
1054            
1055            * Extensions/umn_mapserver/mf_handle.py: Removed the import
1056            Thuban.UI.mainwindow clause, because it is not needed.
1057            Added the command Refresh() to all "OnChangeColor()" functions,
1058            because the color preview window was not updated on a color change.
1059            Added the function to check if a mapobject exists and used it to set the
1060            status of the menu items. If no mapobject exists the settings could not
1061            be edditied.
1062            (Map_Dialog): Moved the imagetype selector from the
1063            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
1064            (Web_Dialog): Removed the name label and added the template textbox.
1065    
1066            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
1067            the exception handling on loading the layers by an if statement. It
1068            is not necessary to us the exception there.
1069            The Filepath creation now use os.path.join to build the path.
1070    
1071            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
1072            definition from global to the setUp function. Now the testMap will
1073            initialize new on each test.
1074    
1075            * Extensions/umn_mapserver/sample/iceland.map: Include three new
1076            classes in the Line Layer, to test logical Expressions.
1077            Set the status of the class "Point9" in the Point Layer to off
1078            
1079    2004-07-13  Bernhard Herzog  <[email protected]>
1080    
1081            * Thuban/UI/baserenderer.py
1082            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
1083            optimization that tries not to draw layers under a raster layer.
1084            The bug was harmless.  All it effectively did was to produce The a
1085            strange messages about not being able to draw Layer instances for
1086            all vector layers below a raster layer which would be invisible
1087            anyway because the raster layer currently always covers the entire
1088            window
1089    
1090    2004-07-08  Jan Sch�ngel <[email protected]>
1091    
1092            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
1093            a list of supported outputformats. This formats are not alle supported
1094            because there is no possibility to get the outputformat without the
1095            name known. Make some formal changes to the code.
1096            (MF_Map.set_name()): Fixed a bug if the name is None.
1097    
1098            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
1099            statement, because its not needed anymore. The Outputformat is now
1100            given as string from the object. Make some formal changes to the code.
1101    
1102            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
1103            most of the new setting which were added during the last changes.
1104            Removed the MF_Size Test.
1105            
1106            * Extensions/umn_mapserver/test/test.map: Added a new class to the
1107            cultural Layer to test expressions and the the status of that layer
1108            from on to default.
1109            Changed the data path the the correct Thuban Data
1110            Added the Outputformat Object and Symbol Object
1111            
1112    2004-07-07  Jan Sch�ngel <[email protected]>
1113    
1114            * Extensions/umn_mapserver/mapfile.py: Added some new
1115            settings to edit (outputformat, label, imagetype)
1116    
1117            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
1118            the Label Dialog and add the OutputDialog.
1119            Make some changes to the code order.
1120    
1121    2004-07-06  Jan Sch�ngel <[email protected]>
1122    
1123            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
1124            and line Obj and add the scalebar_status_type, scalebar_style_type and
1125            scalebar_position_type.
1126            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
1127            are only used to create a Symbol like the circle in Thuban.
1128            Added the scalebarObject (MF_Scalebar)
1129            (MF_Class): Added set_status and get_status.
1130            (MF_Layer.add_thubanclass): Added code to set the class status
1131            (MF_Map): Added code to handle the symbols and scalebar
1132            (MF_Label): Added the set_partials and get_partials functions
1133            
1134            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
1135            from mapfile. Added a function to create a circle object like the one
1136            from thuban if no one exists.
1137            
1138            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
1139            press ok in the assosiated dialog and not at the end of the
1140            colordialog.
1141            Added the Dialog for the Scalebar.
1142            (Label_Dialog): Added the offset option
1143    
1144            * Extensions/umn_mapserver/mf_import.py: Added code to import the
1145            status of the Classes.
1146            Fixed a bug with the projection. Now the to_meter parameter will be
1147            added to the Projection only if it doesn't exists.
1148    
1149    2004-07-01  Jan Sch�ngel <[email protected]>
1150    
1151            Added the functionality to handle the content thuban is not
1152            able to handle directly.
1153    
1154            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
1155            Thuban with the possibility to edit the mapfile content.        
1156            
1157            * Extensions/umn_mapserver/mf_import.py: Added the possibility
1158            to import mapfiles without any layer selected. So it is possible
1159            to edit the other settings in a mapfile.
1160            (import_mapfile): Added code to use the editing functions.
1161            Added the possibility to import the projection to a layer if one
1162            is defined.
1163            Status settings (On,Off) will now set in thuban (visible, invisible).
1164            fixed a bug with with classnames. If no classname is set in mapfile
1165            the value in Thuban will set to the expression.
1166            
1167            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
1168            possibility to save a new mapfile or use the old one which is
1169            imported or new created.
1170            Added code to use the editing functions.
1171            Remove some not needed import statements
1172    
1173            * Extensions/umn_mapserver/mapfile.py: Added new types which are
1174            need for the editing functions.
1175            Added needed set-functions for the editing functions.
1176            Added the possibility to export rasterimages.
1177            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
1178            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
1179            moment.
1180            (MF_Class.set_thubanstyle): Now point layers will set to a default
1181            symbol to show a circle in mapserver and not only a 1px dot.
1182            (MF_Style.__init__): Fixed a bug with the color. Color was not set
1183            correct before.
1184            (MF_Size): Removed, because it is not needed.
1185            
1186            * Extensions/umn_mapserver/README: Added the hints to use the
1187            export and editing functions, too.
1188    
1189            * Extensions/umn_mapserver/sample/iceland.map: Added the
1190            new parameter "UNITS METERS".
1191            Change the political layer to status OFF.
1192    
1193            * Extensions/umn_mapserver/sample/README: Added some
1194            more details to setup the sample in the MapServer.
1195            
1196    2004-06-26  Bernhard Reiter <[email protected]>
1197    
1198            * Extensions/svgexport/test/test_svgmapwriter.py:
1199            Removed class VFile and used standard StringIO instead.
1200    
1201    2004-06-23  Jan Sch�ngel  <[email protected]>
1202    
1203            Add the export function to the umn_mapserver extension.
1204    
1205            * Extension/umn_mapserver/mf_export.py: New. This module extents
1206            Thuban with the possibility to export the Thuban content.
1207    
1208            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
1209            with the export module. Especially added the possibility to
1210            add thuban objects directly to the map objects.
1211    
1212            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
1213            because of the hint from Bernhard Herzog.
1214            Corrected the handling of absolute pathnames.
1215            Changed the Text of the Menu-Item, now the beginning is upper case.
1216    
1217            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
1218    
1219    2004-06-16  Jan Sch�ngel  <[email protected]>
1220    
1221            Add a sample and make some changes.
1222    
1223            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
1224            import from * to explicit used statements. Changed the
1225            Thuban.UI.mainwindow import phrase, too.
1226            (import_mapfile):Corrected a clerical mistake.
1227            Added wxCHANGE_DIR in OpenFile Dialog.
1228            Added a MultipleChoiceDialog, to select the layers to load from
1229            mapfile into thuban. Thereby the projection is only set if one layer
1230            is selected.
1231            Added the possibility to handle relative pathnames which uses
1232            up-level references.
1233            Removed some doubled code.
1234            Corrected an error with integer values used as label in thuban
1235            ClassGroup.
1236            
1237            * Extensions/umn_mapserver/sample: New.
1238    
1239            * Extensions/umn_mapserver/sample/README: New. Describes the
1240            usage of the sample files.
1241    
1242            * Extensions/umn_mapserver/sample/iceland.map: New. This is
1243            a suitable .map-file for the iceland data.
1244    
1245            * Extensions/umn_mapserver/sample/index.html: New. The template
1246            for the mapfile.  
1247    
1248            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
1249            file for the Iceland Application on web.
1250    
1251            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
1252            some details.
1253    
1254            * Extensions/umn_mapserver/test/test_mapserver
1255            (mapserver_import_Test_generalClasses.test_MF_Color):
1256            Corrected the thubancolor test.
1257    
1258    2004-06-15  Jan Sch�ngel  <[email protected]>
1259    
1260            * Extensions/umn_mapserver/README: New. Install instruction.
1261    
1262    2004-06-14  Bernhard Reiter <[email protected]>
1263    
1264            * libraries/thuban/cpl_mfile.h: Added copyright header.
1265    
1266            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
1267            Free Software License so that it is most useful with gdalwarp
1268            and bmpdataset.
1269    
1270    2004-06-14  Bernhard Herzog  <[email protected]>
1271    
1272            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
1273            import of wxPython.wx itself (as opposed to the contents of
1274            wxPython.wx).  For some reason wxPython.wx is available as
1275            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
1276            wrt. wxPython 2.4.
1277    
1278    2004-06-10  Jan Sch�ngel  <[email protected]>
1279    
1280            Initial version of new extension "umn_mapserver".  This extension aims
1281            to manage configuration for the UMN MapServer application.  This
1282            inital version just imports the .map-files and displays all, Thuban is
1283            capable of.
1284    
1285            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
1286    
1287            * Extensions/umn_mapserver/test/README: New. Describes how to run the
1288            tests.
1289    
1290            * Extensions/umn_mapserver/test/test.map: New. This is a test
1291            .map-file for automated tests of the umn_mapserver extension of
1292            Thuban.
1293    
1294            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
1295            UMN Mapserver classes.
1296    
1297            * Extensions/umn_mapserver/__init__.py: New. Init to make this
1298            directory a package.
1299    
1300            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
1301            '.map'-file objects.
1302    
1303            * Extensions/umn_mapserver/mf_import.py: New. This module extends
1304            Thuban with the possibility to handle UMN MapServer mapfiles.
1305    
1306    2004-06-03  Bernhard Herzog  <[email protected]>
1307    
1308            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
1309            to a tuple before using it as arguments to the % operator.  This
1310            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
1311            reported today on thuban-list by Jan Sch�ngel
1312    
1313            * test/test_layer.py (TestLayerModification.setUp): Save the
1314            filename as an instance variable so we can refer to it in tests
1315            (TestLayerModification.test_tree_info): Uncomment this method
1316            again and make it work.  This tests for the formatting issue
1317            filed in RT#2239 on 2004-01-13
1318    
1319    2004-05-28  Bernhard Herzog  <[email protected]>
1320    
1321            * Thuban/UI/baserenderer.py: Fix some typos.
1322    
1323    2004-05-18  Jan-Oliver Wagner <[email protected]>
1324    
1325            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug
1326            by increasing a field size.
1327    
1328    2004-05-17  Bernhard Herzog  <[email protected]>
1329    
1330            Update to newest shapelib and get rid of Thuban specific
1331            extensions, i.e. use the new DBFUpdateHeader instead of our
1332            DBFCommit kludge
1333    
1334            * libraries/shapelib/shpopen.c: Update to version from current
1335            shapelib CVS.
1336    
1337            * libraries/shapelib/shapefil.h: Update to version from current
1338            shapelib CVS.
1339    
1340            * libraries/shapelib/dbfopen.c: Update to version from current
1341            shapelib CVS.
1342            (DBFCommit): Effectively removed since shapelib itself has
1343            DBFUpdateHeader now which is better for what DBFCommit wanted to
1344            achieve.  
1345            We're now using an unmodified version of dbfopen.
1346    
1347            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
1348            value '1' to the Lib.dbflibc extension.  This simply reflects the
1349            shapelib and pyshapelib updates
1350    
1351    2004-05-16  Jan-Oliver Wagner <[email protected]>
1352    
1353            Finished introduction of Menu.FindOrInsertMenu.
1354    
1355            * Extensions/drawshape/drawshape.py: Add the command
1356            to the experimental menu additionally to the toolbar.
1357    
1358            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
1359            finding menu on its own.
1360    
1361            * Doc/manual/thuban-manual.xml: updated sample file
1362            to use FindOrInsertMenu().
1363    
1364            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
1365            instead of finding menu on its own.
1366    
1367    2004-05-11  Jan-Oliver Wagner <[email protected]>
1368    
1369            * test/test_menu.py (MenuTest.test): Added testing
1370            of method Menu.FindOrInsertMenu.
1371    
1372    2004-05-10  Jan-Oliver Wagner <[email protected]>
1373    
1374            Introduce and use Menu.FindOrInsertMenu.
1375    
1376            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
1377              given menu or, if not found, insert it.
1378    
1379            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
1380            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
1381            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
1382            menu on its own.
1383    
1384    2004-05-06  Jan-Oliver Wagner <[email protected]>
1385    
1386            Introduce a abstract ColorDialog class and remove
1387            and outdated file.
1388    
1389            * Thuban/UI/proj4dialog.py: Removed. It is has been
1390            replaced by projdialog for quite a while and is not used
1391            anymore.
1392    
1393            * Thuban/UI/colordialog.py: New. Abstraction for color selection
1394            dialog(s).
1395    
1396            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
1397            Now calls the abstract ColorDialog instead of wxColourDialog.
1398            This also removed the dependency to Color class conversion
1399            from this function.
1400    
1401    2004-05-04  Frank Koormann  <[email protected]>
1402    
1403            * Extensions/bboxdump/__init__.py: Fixed string left over from
1404            copying.
1405    
1406            * Extensions/bboxdump/bboxdump.py (bboxdump):
1407            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
1408            xrange(layer.NumShapes()). Compile the bboxmessage from a list
1409            of formatted outputs (string.join) instead of appending to the
1410            message. Two progress bar dialogs to report progress on the sometimes
1411            lenghty processing.
1412    
1413    2004-04-22  Frank Koormann  <[email protected]>
1414    
1415            New Extension to dump bounding boxes of all shapes of the selected
1416            layer. An optional column can be specified to group the objects,
1417            in this case the bounding box is a union of the separate boxes.
1418            Dump can be displayed in a ScrolledMessageDialog or written to file.
1419            The Extension is simply a combination of available and well tested
1420            Thuban functionality.
1421    
1422            * Extensions/bboxdump/__init__.py: New: Init to make this
1423            directory a package.
1424    
1425            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
1426            all shapes of the selected layer.
1427    
1428    2004-04-22  Jan-Oliver Wagner <[email protected]>
1429    
1430            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
1431            strings to be i18n now.
1432    
1433    2004-04-18  Jan-Oliver Wagner <[email protected]>
1434    
1435            Changing popup menu of legend from direct building
1436            to using the Menu construction as used for the mainwindow.
1437    
1438            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
1439            layer_to_bottom, layer_visibility
1440            (MainWindow.LayerToTop): New. Put current layer to the top.
1441            (MainWindow.LayerToBottom): New. Put current layer to bottom.
1442            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
1443            Replace 1,0 by True, False.
1444            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
1445            current layer.
1446            (MainWindow.LayerShowTable): Removed raising of dialog.
1447            (_has_selected_layer_visible): New. Support function.
1448    
1449            * Thuban/UI/legend.py: ID_POP_xxx: removed.
1450            (LegendPanel.__init__): Removed EVT_MENU bindings.
1451            (LegendTree._OnRightClick): Replace direct creation of
1452            menu via wx Classes by applying the menu definition
1453            as of Menu class of menu.py.
1454            
1455    2004-04-16  Jan-Oliver Wagner <[email protected]>
1456    
1457            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
1458        button string to stronger clearify that Thuban will be closed when hitting
1459            the button.
1460    
1461            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
1462            Now for layers without a ShapeStore a corresponding message is given
1463            to the user, that this layer has no table to show.
1464    
1465    2004-04-15  Martin Schulze  <[email protected]>
1466    
1467            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
1468            recalculate the format for the internal render engine as well.
1469    
1470            * Extensions/wms/properties.py (wmsProperties): First start for a
1471            properties dialog.  It's functional for a first selection of
1472            layers, but still has some weired wxWidgets/GTK problems but
1473            beautification can be done later.
1474    
1475            * Extensions/wms/layer.py: Added more documentation
1476            (WMSLayer.getFormats): New: Return list of supported image formats
1477            by the WMS server
1478            (WMSLayer.getLayers): New: Return the list of layer names
1479            supported by the WMS server
1480            (WMSLayer.getLayerTitle): New: Return the title of the named layer
1481            (WMSLayer.getWMSFormat): New: Return the image format that is used
1482            for WMS GetMap requests
1483            (WMSLayer.setWMSFormat): New: Set the image format that is used
1484            for WMS GetMap requests
1485            (WMSLayer.__init__): Move away from using only one layer to using
1486            a list of layers (unsorted at the moment, though).
1487            (WMSLayer.getVisibleLayers): New: Return the list of names for all
1488            visible layers
1489            (WMSLayer.setVisibleLayers): New: Set the list of names for all
1490            visible layers
1491    
1492            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
1493            order to establish a clean structure.
1494    
1495            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
1496            own in order to establish a clean structure.
1497    
1498  2004-04-13  Martin Schulze  <[email protected]>  2004-04-13  Martin Schulze  <[email protected]>
1499    
1500          * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added          * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26