[Thuban-list] Re: svg export extension: how to activate

Moritz Lennert mlennert at club.worldonline.be
Fri May 21 17:14:34 CEST 2004


Martin Schulze said:
> Moritz Lennert wrote:
>> I use thuban cvs version compiled with Debian dpkg-buildpackage. This
>> apparently does not compile all the available extensions, as I only have
>> gns2shp, importAPR, profiling, wms in /usr/lib/thuban/Extensions.
>>
>> What do I need to do to compile/activate the svg export extension ?
>
> You should use the CVS version instead if you want to use these features,
> I guess.  On thuban.intevation.de you'll be guided on how to access the
> CVS repository anonymously.  The README then tells you to run
> 	python setup.py install_local
>
> After that it should be sufficient to add the the following lines
> to your ~/.thuban/thubanstart.py file:
>
>   import Extensions.svgexport.svgsaver
>   import Extensions.svgexport.maplegend
>
> If you don't have that file already, just create it with this content.
>
> Remember that this will probably not work with the Debian package
> and may end up in Python errors.
>

Thanks, this answers my question: I didn't quite get the fact that I had
to put in two calls to the subroutines (instead of one to svgexport). Now
it works perfectly (I did use the CVS version, just compiling it via
dpkg-buildpackage), although I have some trouble with importing the
results into sketch. I'll have to check this a bit more thouroughly,
though before filing any reports.

Thanks again,

Moritz




More information about the Thuban-list mailing list

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