[Thuban-list] Some bugs on Mac OS X

Bernhard Reiter bernhard at intevation.de
Mon Dec 20 17:32:45 CET 2004

On Mon, Dec 20, 2004 at 02:36:20PM +0100, Lorenzo Moretti wrote:
>      This obviously mean I can close your report
>      RT#2616 "Shape files are not displayed", can't I?  ;)
>      https://intevation.de/rt/webrt?serial_num=2616&display=History
>    Yes it's fixed

Okay, closed the report.

>      >    - The bar (zoom in, zoom  out, etc) is missing (see the
>      screenshot): I
>      >    can only select these features from Map Menu (Mappa in
>      Italian);

>    % pythonw pysketch.pyw
>    and the program works with all icons inside the window.
>    Thuban usually run in Linux (GTK) and Windows system with menu in a
>    floating window: in this window there are the icons (source
>    mainwindow.py, I think). OS X is different: the menu is up not in a
>    floating window and the icons are lost. These icons must to be in a
>    floating window like a LEGEND (see LEGENDA window at
>    http://wwwamb.bologna.enea.it/forgrass/files/thuban_osx.jpg). The
>    source is in legend.py: the normal layer icons are there. If I select
>    Zoom In from Map menu the icon is showed at the selected window but
>    normally is hide.

It is related to wxwidgets then, because the toolbar is not displayed
like in other ports (gtk, windows).
Hmmm, I think you should also submit a report about this problem.

>    Thuban 1.1 cvs-20041219
>    Currently using:
>            wxPython
>            Python 2.3.0
>        PySQLite 0.5.1
>      SQLite 2.8.15
>       GDAL
>            psycopg 1.1.14
>    Compiled for:
>         GTK - not available

Obviously no GTK. ;)

>            proj 4.4.9
>    Extensions:
>            None registered.

This is strange you should have a few Extensions.
Or how did you use svgexport? ;)

>      >    Printing from Thuban.

>    I have produced a Thuban SVG file: it's OK but the lines are very big,
>    more than 1 point. OK I can change them in my vector program but
>    perhaps it's possible to write a smaller size in SVG plugin.

Change the following line in Extensions/svgexport/svgmapwriter.py:
	            self.pen["stroke-width"] = pen.GetWidth()
You might even comment it out.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-list/attachments/20041220/de5ca0c3/attachment.bin

More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)