[Thuban-list] Some bugs on Mac OS X

Lorenzo Moretti lorenzo.moretti at bologna.enea.it
Tue Dec 21 12:11:32 CET 2004


Hi Bernhard

Bernhard wrote
>
>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.

OK

>  >    Thuban 1.1 cvs-20041219
>>     Currently using:
>>             wxPython 2.4.2.4
>>             Python 2.3.0
>>         PySQLite 0.5.1
>>       SQLite 2.8.15
>>        GDAL 1.2.5.0
>>
>>             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? ;)

I've created thubanstart.py inside $HOME/.thuban folder and I have tested:

Doesn't work
-------------
export PYTHONPATH="/usr/local/lib/thuban/Extensions"

Doesn't work
-------------
import sys
sys.path.append("/usr/local/lib/thuban/Extensions/")

Works
-----
I import all extensions:

....
import bboxdump
import drawshape
import gns2shp
import apr
....

This method works but it's difficult.
Another way?


>  >      >    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.

Wow..
Now the SVG output is fantastic, really good.
This line can be uncommented in CVS or no?

>
>Best,
>	Bernhard
>
>Attachment converted: APPLI:Untitled 74 (    /    ) (004171EA)
>_______________________________________________
>Thuban-list mailing list
>Thuban-list at intevation.de
>https://intevation.de/mailman/listinfo/thuban-list


-- 
________________________________________________________________________
||      Lorenzo Moretti        e-mail: lorenzo.moretti at bologna.enea.it     
||/|/|  ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/    
||   |  via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131
________________________________________________________________________




More information about the Thuban-list mailing list

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