From eduardo at consultoria.eti.br Thu Jul 1 15:33:52 2004 From: eduardo at consultoria.eti.br (Eduardo Patto Kanegae) Date: Thu, 01 Jul 2004 10:33:52 -0300 Subject: [Thuban-list] Build CVS Thuban on Windows Message-ID: <40E412C0.70509@consultoria.eti.br> Where I can find more information about compiling CVS Thuban version under windows machines? thanks in advance -- Eduardo Patto Kanegae http://www.consultoria.eti.br UIN: 303747254 Treinamento em UMN MapServer - http://www.consultoria.eti.br/ptbr/?menuoption=mapserver I Encontro Nacional de Usu?rios MapServer - http://mapserver.cttmar.univali.br/encontro2004 F?rum MapServer Brasil - http://mapserver.cttmar.univali.br/forum ***Fim da Mensagem / End of Message *** From frank.koormann at intevation.de Tue Jul 6 09:22:31 2004 From: frank.koormann at intevation.de (Frank Koormann) Date: Tue, 6 Jul 2004 09:22:31 +0200 Subject: [Thuban-list] Build CVS Thuban on Windows In-Reply-To: <40E412C0.70509@consultoria.eti.br> References: <40E412C0.70509@consultoria.eti.br> Message-ID: <20040706072231.GA16419@intevation.de> Hi Eduardo, * Eduardo Patto Kanegae [040701 16:02]: > Where I can find more information about compiling CVS Thuban version > under windows machines? if you have all required packages/libraries available the basic processing is the same as documented in the README. However, you have to adapt the settings in setup.py to your installation. The variables are described in the setup.py file. Best regards, Frank -- Frank Koormann Professional Service around Free Software (http://intevation.net/) FreeGIS Project (http://freegis.org/) From lorenzo.moretti at bologna.enea.it Wed Jul 21 10:49:48 2004 From: lorenzo.moretti at bologna.enea.it (Lorenzo Moretti) Date: Wed, 21 Jul 2004 10:49:48 +0200 Subject: [Thuban-list] Thuban on OS X - gdal problem Message-ID: I've built Thuban cvs on OS X but I have some problems ... from Help menu Thuban 1.1 cvs-20040716 Currently using: wxPython 2.4.1.2 Python 2.3.2 PySQLite 0.5.0 SQLite 2.8.5 GDAL - not available psycopg - not available No GDAL support because module 'gdal' cannot be imported. Python exception: 'No module named gdal' Compiled for: GTK 1.2.10 proj 4.4.8 - I have GDAL installed 1.2.0 without python support and I enter the path in python cfg. How can I put gdal support in Thuban? In thuban site there are only Windows and RH version without a doc for installing from source; - You see proj 4.4.8 support but when I choose a real projection for my layer I can not see my layer: it's missing. Without proj I see the map and I see the coordinate with mousem with proj the map miss ... Why?? - How can I enter PYTHONPATH environment for loading extensions? I have created pythonstart.py in home and it works with import module inside .thuban folder. At the other side Thuban with shape works very well (class map with text string is fantastic). It's very fast.. Bye -- ________________________________________________________________________ || 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/ (res.) ~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131 Download GRASS for MAC OS X: http://wwwamb.bologna.enea.it/forgrass/ ________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.intevation.de/pipermail/thuban-list/attachments/20040721/66e8ac29/attachment.html From bernhard at intevation.de Wed Jul 21 15:21:21 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 21 Jul 2004 15:21:21 +0200 Subject: [Thuban-list] Thuban on OS X - gdal problem In-Reply-To: References: Message-ID: <20040721132121.GA1686@intevation.de> On Wed, Jul 21, 2004 at 10:49:48AM +0200, Lorenzo Moretti wrote: > No GDAL support because module 'gdal' cannot be imported. Python > exception: 'No module named gdal' You have to install the python module "gdal" first. So you can test if that step it completed without running Thuban. Simply start python and type import gdal If that returns without error, you can try Thuban again. > - I have GDAL installed 1.2.0 without python support and I enter the > path in python cfg. How can I put gdal support in Thuban? In thuban > site there are only Windows and RH version without a doc for > installing from source; You need to build gdal with python support. For this you probably needs the python development headers. Check: http://www.remotesensing.org/gdal/gdal_building.html Check the python options shown at ./configure --help and also watch the output of the regular ./configure closely. Bernhard -------------- 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/20040721/7c00c125/attachment.bin From bernhard at intevation.de Wed Jul 21 15:27:00 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 21 Jul 2004 15:27:00 +0200 Subject: [Thuban-list] setting the pythonpath In-Reply-To: References: Message-ID: <20040721132700.GC1686@intevation.de> On Wed, Jul 21, 2004 at 10:49:48AM +0200, Lorenzo Moretti wrote: > - How can I enter PYTHONPATH environment for loading extensions? I > have created pythonstart.py in home and it works with import module > inside .thuban folder. Usually this is done modifying the environment variables. I do not know about Mac OS 10, but you can type in a command line PYTHONPATH=something export PYTHONPATH your operating system documentation should tell you where you can set that permanently. Usually to have those lines in ~/.bashrc or ~/.bash_profile Another way is to use thubanstart.py and have something like the following in there: import sys sys.path.append("/usr/lib/thuban/Extensions") -------------- 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/20040721/1bac674f/attachment.bin From bernhard at intevation.de Wed Jul 21 15:27:47 2004 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 21 Jul 2004 15:27:47 +0200 Subject: [Thuban-list] Thuban on OS X - gdal problem In-Reply-To: References: Message-ID: <20040721132747.GD1686@intevation.de> On Wed, Jul 21, 2004 at 10:49:48AM +0200, Lorenzo Moretti wrote: > > I've built Thuban cvs on OS X but I have some problems > Thuban 1.1 cvs-20040716 > At the other side Thuban with shape works very well (class map with > text string is fantastic). It's very fast.. Great! Can you contribute a nice screenshot for Mac OS X? -------------- 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/20040721/b636569d/attachment.bin From lorenzo.moretti at bologna.enea.it Thu Jul 22 10:49:57 2004 From: lorenzo.moretti at bologna.enea.it (Lorenzo Moretti) Date: Thu, 22 Jul 2004 10:49:57 +0200 Subject: [Thuban-list] Thuban on OS X - gdal problem Message-ID: >Content-Type: multipart/signed; micalg=SHA1; > protocol="application/pgp-signature"; boundary="/3yNEOqWowh/8j+e" >Content-Disposition: inline > >On Wed, Jul 21, 2004 at 10:49:48AM +0200, Lorenzo Moretti wrote: >> >> I've built Thuban cvs on OS X but I have some problems >> Thuban 1.1 cvs-20040716 > >> At the other side Thuban with shape works very well (class map with >> text string is fantastic). It's very fast.. > >Great! >Can you contribute a nice screenshot for Mac OS X? Thuban on OS X now has psycopg: it works with postgis layers. One big thing is miss: GDAL with python support .... acch In the future Thuban will support GDAL-OGR (raster-vector) formats? Bernhard wrote >Usually this is done modifying the environment variables. >I do not know about Mac OS 10, but you can type >in a command line > PYTHONPATH=something > export PYTHONPATH > >your operating system documentation should tell you where you >can set that permanently. Usually to have those lines >in ~/.bashrc or ~/.bash_profile > >Another way is to use thubanstart.py and >have something like the following in there: > >import sys >sys.path.append("/usr/lib/thuban/Extensions") I've tried all but it doesn't work. PYTHONPATH is not recognized in OS X??? The only way for entering extension is to write: import importAPR import gns2shp .... but I must put the extensions on .thuban folder in my home folder Bye -- ________________________________________________________________________ || 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/ (res.) ~~~~~~ 40128 BOLOGNA - ITALY Ph: +39-0516098086 Fax: +39-0516098131 Download GRASS for MAC OS X: http://wwwamb.bologna.enea.it/forgrass/ ________________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: thuban_osx.jpg Type: image/jpeg Size: 30178 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-list/attachments/20040722/52158029/thuban_osx.jpg