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

Legend:
Removed from v.2250  
changed lines
  Added in v.2488

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26