From jonathan at intevation.de Mon Mar 17 12:45:55 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 17 Mar 2003 12:45:55 +0100 Subject: [Thuban-list] Thuban v0.2 Released Message-ID: <1047901554.916.86.camel@reisen> Hi all, Thuban 0.2.0 is now available from the usual place: http://thuban.intevation.org/download.html Overview of the changes since 0.1.3: - The most striking new feature is classifications. A classification is a set of groups that determine how a layer is drawn on the map. The groups are based on the fields of the associated data table. For example, with the iceland_sample.thuban file you can group roads by their length so that all the roads that are 0-0.2 km are red, 0.2-0.4 km are green, 0.4-0.6 km are blue, and so on. Or, you can group the roads into types so that all roads of type 1 are red, all roads of type 2 are green, and so on. This is what is done in the iceland_sample_class.thuban file. Classification Screenshots: http://thuban.intevation.org/screenshots.html Version 0.2.0 is backward compatible with previous releases: it can read and write old files. - Python 2.2 and wxWindows 2.4 are from now on the reference. Thuban will be compatible with these two dependencies for quite some time. - As usual: Various bug fixes, see ChangeLog and Bug Tracker for details. Please submit bug reports here: http://thuban.intevation.org/bugtracker.html Enjoy! --jonathan -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030317/dde64930/attachment.bin From jonathan at intevation.de Tue Mar 18 11:57:01 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 18 Mar 2003 11:57:01 +0100 Subject: [Thuban-list] Legend Design Message-ID: <1047985021.1382.88.camel@reisen> Although there is still more work to be done on the Classification dialogs (generating ranges, and perhaps the addition of maps) the next big feature that needs to be added is the Legend. The following is an outline of what needs to be done. From the last meeting, we decided that the Legend would be the principle point of interaction when the user changes the appearance of the map. This primarily means that the Legend is the interface where the user can control which layers are drawn, in which order they are drawn, and how they are drawn (i.e, this is the place where the user can bring up the classification dialogs). The current vision for how the Legend would appear is to use a tree structure where each of the main branches represents a layer. The order in which the layers appear in the tree is the order in which they are drawn on the map (the layer at the top being the layer that is drawn "closest" to the user). Each subbranch is then a classification group (if there is no explicit classification then there will at least be a default group). Each group is drawn with a graphic representing how that group will appear in the map along with any label that has been specified. If no label is present then the values that the group represents are shown. The window that this Legend is in should be dockable so that the user can choose if the Legend is free-floating or is attached inside the main window (where the map is), drawn either on the left or right side. This way, if the main window is maximized the legend won't obscure the map. The Legend should contain a series of buttons that can be used instead of dragging/right-clicking. The following will make this clearer. The user should be able to drag layers to change where they are drawn in the map but there should be buttons that accomplish the same goal so that if the user has to move the layer over a great distance it doesn't become troublesome. Right-clicking on a layer should bring up a menu that allows the user to do such things as disable (make invisible) a layer in the map or to edit the classification. Again, there should be buttons that do the same thing as the menu. If classifying a layer is the primary reason to right-click on a layer then double clicking with the left button should also bring up the classification dialog. The features of dragging or right-clicking should be available as a convience but only as that, as it is not always clear to the user that such "hidden" features exist, that is why the buttons should be there. I expect that an initial version of the Legend will have the following features: - Layers are drawn in the order they appear in the Legend (and vice versa) - Layers can be disabled (and this affects the map) - Groups are rendered with an appropriate graphic (similar to what is in the classification dialog now) - A series of buttons for the user to control the Legend One issue that needs to be considered is the use of messages. There has to be a clear understanding of how the classification (and other) dialogs interact with the Legend. If something changes in the Legend then some of the dialogs may have to update themselves to reflect those changes. And if something changes in the dialogs and those changes are applied the changes should be reflected in the Legend. --jonathan -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030318/120fb2cd/attachment.bin From pucher at atlas.gis.univie.ac.at Tue Mar 18 17:06:41 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Tue, 18 Mar 2003 17:06:41 +0100 Subject: [Thuban-list] No geodata output Message-ID: <3E774411.3070402@atlas.gis.univie.ac.at> Hi, first of all, congratiolations to everybody involved in the Thuban project for this nice piece of software. I guess this is what a lot of people are looking for as a kind of missing link in the freegis scene!! I compiled Thuban on my Linux machine with no errors showing. I can start the application, the windows look fine. But when I try to add a layer, I get this error: File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in invoke_command command.Execute(self.Context()) File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute apply(self.function, (context,) + self.args + args, kw) File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in call_method apply(getattr(context.mainwindow, methodname), args) File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in AddLayer layer = Layer(title, filename) File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ self.__setClassLock = False NameError: global name 'False' is not defined and nothing shows up?? Any hints? Best regards, alex -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher at univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- It's not that I'm afraid to die, I just don't want to be there when it happens -- Woody Allen From jonathan at intevation.de Tue Mar 18 17:15:27 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 18 Mar 2003 17:15:27 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <3E774411.3070402@atlas.gis.univie.ac.at> References: <3E774411.3070402@atlas.gis.univie.ac.at> Message-ID: <1048004127.1382.94.camel@reisen> which version of Python are you using? you will need at least version 2.2 --jonathan On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote: > Hi, > > first of all, congratiolations to everybody involved in the Thuban > project for this nice piece of software. I guess this is what a lot of > people are looking for as a kind of missing link in the freegis scene!! > > I compiled Thuban on my Linux machine with no errors showing. I can > start the application, the windows look fine. But when I try to add a > layer, I get this error: > > File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in > invoke_command > command.Execute(self.Context()) > File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute > apply(self.function, (context,) + self.args + args, kw) > File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in > call_method > apply(getattr(context.mainwindow, methodname), args) > File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in > AddLayer > layer = Layer(title, filename) > File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ > self.__setClassLock = False > NameError: global name 'False' is not defined > > and nothing shows up?? > > Any hints? > > Best regards, > alex -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030318/6796a25d/attachment.bin From pucher at atlas.gis.univie.ac.at Tue Mar 18 17:25:59 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Tue, 18 Mar 2003 17:25:59 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <1048004127.1382.94.camel@reisen> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048004127.1382.94.camel@reisen> Message-ID: <3E774897.8070208@atlas.gis.univie.ac.at> Hi Jonathan, I use version 2.2-105 alex Jonathan Coles wrote: >which version of Python are you using? you will need at least version >2.2 > >--jonathan > >On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote: > > >>Hi, >> >>first of all, congratiolations to everybody involved in the Thuban >>project for this nice piece of software. I guess this is what a lot of >>people are looking for as a kind of missing link in the freegis scene!! >> >>I compiled Thuban on my Linux machine with no errors showing. I can >>start the application, the windows look fine. But when I try to add a >>layer, I get this error: >> >>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in >>invoke_command >> command.Execute(self.Context()) >> File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute >> apply(self.function, (context,) + self.args + args, kw) >> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in >>call_method >> apply(getattr(context.mainwindow, methodname), args) >> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in >>AddLayer >> layer = Layer(title, filename) >> File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ >> self.__setClassLock = False >>NameError: global name 'False' is not defined >> >>and nothing shows up?? >> >>Any hints? >> >>Best regards, >>alex >> >> -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher at univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- It's not that I'm afraid to die, I just don't want to be there when it happens -- Woody Allen From jonathan at intevation.de Tue Mar 18 17:32:45 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 18 Mar 2003 17:32:45 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <3E77464B.6020406@atlas.gis.univie.ac.at> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> Message-ID: <1048005165.1382.100.camel@reisen> alex, i have run the following test: jonathan at salmakis:~$ python2.1 Python 2.1.3 (#1, Sep 7 2002, 15:29:56) [GCC 2.95.4 20011002 (Debian prerelease)] on linux2 Type "copyright", "credits" or "license" for more information. >>> x = False Traceback (most recent call last): File "", line 1, in ? NameError: name 'False' is not defined >>> jonathan at salmakis:~$ python2.2 Python 2.2.1 (#1, Sep 7 2002, 14:34:30) [GCC 2.95.4 20011002 (Debian prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> x = False >>> x 0 >>> have you built your version of python from the source or are you running prebuilt binaries? --jonathan On Tue, 2003-03-18 at 17:16, Alexander Pucher wrote: > Hi Jonathan, > > I use version 2.2-105 > > alex > > Jonathan Coles wrote: > > >which version of Python are you using? you will need at least version > >2.2 > > > >--jonathan > > > >On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote: > > > > > >>Hi, > >> > >>first of all, congratiolations to everybody involved in the Thuban > >>project for this nice piece of software. I guess this is what a lot of > >>people are looking for as a kind of missing link in the freegis scene!! > >> > >>I compiled Thuban on my Linux machine with no errors showing. I can > >>start the application, the windows look fine. But when I try to add a > >>layer, I get this error: > >> > >>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in > >>invoke_command > >> command.Execute(self.Context()) > >> File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute > >> apply(self.function, (context,) + self.args + args, kw) > >> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in > >>call_method > >> apply(getattr(context.mainwindow, methodname), args) > >> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in > >>AddLayer > >> layer = Layer(title, filename) > >> File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ > >> self.__setClassLock = False > >>NameError: global name 'False' is not defined > >> > >>and nothing shows up?? > >> > >>Any hints? > >> > >>Best regards, > >>alex > >> > >> -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030318/c75e35e4/attachment.bin From pucher at atlas.gis.univie.ac.at Tue Mar 18 17:41:52 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Tue, 18 Mar 2003 17:41:52 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <1048005165.1382.100.camel@reisen> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> Message-ID: <3E774C50.6030502@atlas.gis.univie.ac.at> I just took it off from the SuSe DVD. Thi sis my output: pucher at david:/download/Thuban-0.2.0/test> python Python 2.2 (#1, Mar 26 2002, 15:46:04) [GCC 2.95.3 20010315 (SuSE)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> x = False Traceback (most recent call last): File "", line 1, in ? NameError: name 'False' is not defined mfg alex Jonathan Coles wrote: >alex, > > >i have run the following test: > >jonathan at salmakis:~$ python2.1 >Python 2.1.3 (#1, Sep 7 2002, 15:29:56) >[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 >Type "copyright", "credits" or "license" for more information. > > >>>>x = False >>>> >>>> >Traceback (most recent call last): > File "", line 1, in ? >NameError: name 'False' is not defined > > > > >jonathan at salmakis:~$ python2.2 >Python 2.2.1 (#1, Sep 7 2002, 14:34:30) >[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 >Type "help", "copyright", "credits" or "license" for more information. > > >>>>x = False >>>>x >>>> >>>> >0 > > > > >have you built your version of python from the source or are you running >prebuilt binaries? > >--jonathan > > >On Tue, 2003-03-18 at 17:16, Alexander Pucher wrote: > > >>Hi Jonathan, >> >>I use version 2.2-105 >> >>alex >> >>Jonathan Coles wrote: >> >> >> >>>which version of Python are you using? you will need at least version >>>2.2 >>> >>>--jonathan >>> >>>On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote: >>> >>> >>> >>> >>>>Hi, >>>> >>>>first of all, congratiolations to everybody involved in the Thuban >>>>project for this nice piece of software. I guess this is what a lot of >>>>people are looking for as a kind of missing link in the freegis scene!! >>>> >>>>I compiled Thuban on my Linux machine with no errors showing. I can >>>>start the application, the windows look fine. But when I try to add a >>>>layer, I get this error: >>>> >>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in >>>>invoke_command >>>> command.Execute(self.Context()) >>>> File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute >>>> apply(self.function, (context,) + self.args + args, kw) >>>> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in >>>>call_method >>>> apply(getattr(context.mainwindow, methodname), args) >>>> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in >>>>AddLayer >>>> layer = Layer(title, filename) >>>> File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ >>>> self.__setClassLock = False >>>>NameError: global name 'False' is not defined >>>> >>>>and nothing shows up?? >>>> >>>>Any hints? >>>> >>>>Best regards, >>>>alex >>>> >>>> >>>> >>>> -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher at univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- It's not that I'm afraid to die, I just don't want to be there when it happens -- Woody Allen From jan at intevation.de Tue Mar 18 18:21:55 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Tue, 18 Mar 2003 18:21:55 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <3E774C50.6030502@atlas.gis.univie.ac.at> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> Message-ID: <20030318172155.GA20721@intevation.de> On Tue, Mar 18, 2003 at 05:41:52PM +0100, Alexander Pucher wrote: > I just took it off from the SuSe DVD. > > Thi sis my output: > > pucher at david:/download/Thuban-0.2.0/test> python > Python 2.2 (#1, Mar 26 2002, 15:46:04) > [GCC 2.95.3 20010315 (SuSE)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> x = False > Traceback (most recent call last): > File "", line 1, in ? > NameError: name 'False' is not defined According to the Python documentation False and True were introduced in Python 2.3 and backported to version 2.2.1. Thus Alex discovered, that Thuban has the requirement Python 2.2.1 instead of just Python 2.2. Either you have to install the newer version or you can add something like False = 0 True = 1 in the code. We'll have to fix this problem: We should make Python 2.2.1 an official requirement. I don't think we should work around False/True in case 2.2 is used to execut Thuban. Any other opinions? Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jonathan at intevation.de Tue Mar 18 18:29:45 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 18 Mar 2003 18:29:45 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <3E774C50.6030502@atlas.gis.univie.ac.at> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> Message-ID: <1048008585.1382.110.camel@reisen> ok, apparently, we have made a mistake in the version that Thuban depends on. I thought that the boolean values were defined in 2.2 when in fact they are defined in 2.2.1. you will need to use the 2.2.1 package. sorry about this. http://at.rpmfind.net/opsys/linux/RPM/python.html --jonathan On Tue, 2003-03-18 at 17:41, Alexander Pucher wrote: > I just took it off from the SuSe DVD. > > Thi sis my output: > > pucher at david:/download/Thuban-0.2.0/test> python > Python 2.2 (#1, Mar 26 2002, 15:46:04) > [GCC 2.95.3 20010315 (SuSE)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> x = False > Traceback (most recent call last): > File "", line 1, in ? > NameError: name 'False' is not defined > > mfg > alex > > Jonathan Coles wrote: > > >alex, > > > > > >i have run the following test: > > > >jonathan at salmakis:~$ python2.1 > >Python 2.1.3 (#1, Sep 7 2002, 15:29:56) > >[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 > >Type "copyright", "credits" or "license" for more information. > > > > > >>>>x = False > >>>> > >>>> > >Traceback (most recent call last): > > File "", line 1, in ? > >NameError: name 'False' is not defined > > > > > > > > > >jonathan at salmakis:~$ python2.2 > >Python 2.2.1 (#1, Sep 7 2002, 14:34:30) > >[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 > >Type "help", "copyright", "credits" or "license" for more information. > > > > > >>>>x = False > >>>>x > >>>> > >>>> > >0 > > > > > > > > > >have you built your version of python from the source or are you running > >prebuilt binaries? > > > >--jonathan > > > > > >On Tue, 2003-03-18 at 17:16, Alexander Pucher wrote: > > > > > >>Hi Jonathan, > >> > >>I use version 2.2-105 > >> > >>alex > >> > >>Jonathan Coles wrote: > >> > >> > >> > >>>which version of Python are you using? you will need at least version > >>>2.2 > >>> > >>>--jonathan > >>> > >>>On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote: > >>> > >>> > >>> > >>> > >>>>Hi, > >>>> > >>>>first of all, congratiolations to everybody involved in the Thuban > >>>>project for this nice piece of software. I guess this is what a lot of > >>>>people are looking for as a kind of missing link in the freegis scene!! > >>>> > >>>>I compiled Thuban on my Linux machine with no errors showing. I can > >>>>start the application, the windows look fine. But when I try to add a > >>>>layer, I get this error: > >>>> > >>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in > >>>>invoke_command > >>>> command.Execute(self.Context()) > >>>> File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute > >>>> apply(self.function, (context,) + self.args + args, kw) > >>>> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in > >>>>call_method > >>>> apply(getattr(context.mainwindow, methodname), args) > >>>> File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in > >>>>AddLayer > >>>> layer = Layer(title, filename) > >>>> File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ > >>>> self.__setClassLock = False > >>>>NameError: global name 'False' is not defined > >>>> > >>>>and nothing shows up?? > >>>> > >>>>Any hints? > >>>> > >>>>Best regards, > >>>>alex > >>>> > >>>> > >>>> > >>>> -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030318/4152e504/attachment.bin From bernhard at intevation.de Wed Mar 19 10:27:30 2003 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 19 Mar 2003 10:27:30 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <20030318172155.GA20721@intevation.de> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> <20030318172155.GA20721@intevation.de> Message-ID: <20030319092730.GA27767@intevation.de> On Tue, Mar 18, 2003 at 06:21:55PM +0100, Jan-Oliver Wagner wrote: > On Tue, Mar 18, 2003 at 05:41:52PM +0100, Alexander Pucher wrote: > > I just took it off from the SuSe DVD. > > > > Thi sis my output: > > > > pucher at david:/download/Thuban-0.2.0/test> python > > Python 2.2 (#1, Mar 26 2002, 15:46:04) > > [GCC 2.95.3 20010315 (SuSE)] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > > >>> x = False > > Traceback (most recent call last): > > File "", line 1, in ? > > NameError: name 'False' is not defined > > According to the Python documentation False and True were > introduced in Python 2.3 and backported to version 2.2.1. > > Thus Alex discovered, that Thuban has the requirement > Python 2.2.1 instead of just Python 2.2. > > Either you have to install the newer version or you can > add something like > False = 0 > True = 1 > in the code. > > We'll have to fix this problem: We should make Python 2.2.1 an > official requirement. I don't think we should work around > False/True in case 2.2 is used to execut Thuban. > Any other opinions? We might add a workaround faq. We should add a couple of tests which test the required version numbers and put out warning for wxPython wxGTK Python pyshapelip proj if possible -------------- 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/20030319/7e5f3bf3/attachment.bin From jan at intevation.de Wed Mar 19 11:59:26 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Wed, 19 Mar 2003 11:59:26 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <20030319092730.GA27767@intevation.de> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> <20030318172155.GA20721@intevation.de> <20030319092730.GA27767@intevation.de> Message-ID: <20030319105926.GA631@intevation.de> On Wed, Mar 19, 2003 at 10:27:30AM +0100, Bernhard Reiter wrote: > We might add a workaround faq. > We should add a couple of tests which test the required > version numbers and put out warning for > wxPython > wxGTK > Python > pyshapelip > proj > if possible I suggest to add a test on existance of False and True and to add a recommendation to execute runtests after installation. This recommendation should appear on the download web page, and in the README file. Jonathan, can you do that? -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From bernhard at intevation.de Wed Mar 19 12:01:00 2003 From: bernhard at intevation.de (Bernhard Reiter) Date: Wed, 19 Mar 2003 12:01:00 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <20030319105926.GA631@intevation.de> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> <20030318172155.GA20721@intevation.de> <20030319092730.GA27767@intevation.de> <20030319105926.GA631@intevation.de> Message-ID: <20030319110100.GE27767@intevation.de> On Wed, Mar 19, 2003 at 11:59:26AM +0100, Jan-Oliver Wagner wrote: > On Wed, Mar 19, 2003 at 10:27:30AM +0100, Bernhard Reiter wrote: > > We might add a workaround faq. > > We should add a couple of tests which test the required > > version numbers and put out warning for > > wxPython > > wxGTK > > Python > > pyshapelip > > proj > > if possible > > I suggest to add a test on existance of False and True > and to add a recommendation to execute runtests after installation. We should also simply test on the version numbers of the various components in question. -------------- 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/20030319/6099b753/attachment.bin From jonathan at intevation.de Wed Mar 19 12:05:48 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 19 Mar 2003 12:05:48 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <20030319105926.GA631@intevation.de> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> <20030318172155.GA20721@intevation.de> <20030319092730.GA27767@intevation.de> <20030319105926.GA631@intevation.de> Message-ID: <1048071948.9705.1.camel@reisen> i'm writing some tests now that will run before Thuban starts. then i'll make the changes to the README and the website. --jonathan On Wed, 2003-03-19 at 11:59, Jan-Oliver Wagner wrote: > On Wed, Mar 19, 2003 at 10:27:30AM +0100, Bernhard Reiter wrote: > > We might add a workaround faq. > > We should add a couple of tests which test the required > > version numbers and put out warning for > > wxPython > > wxGTK > > Python > > pyshapelip > > proj > > if possible > > I suggest to add a test on existance of False and True > and to add a recommendation to execute runtests after installation. > > This recommendation should appear on the download web page, and > in the README file. > > Jonathan, can you do that? -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030319/10f98996/attachment.bin From pucher at atlas.gis.univie.ac.at Wed Mar 19 12:57:01 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Wed, 19 Mar 2003 12:57:01 +0100 Subject: [Thuban-list] (Still) No geodata output In-Reply-To: <1048008585.1382.110.camel@reisen> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> <1048008585.1382.110.camel@reisen> Message-ID: <3E785B0D.7080605@atlas.gis.univie.ac.at> Hi, thanks for the help so far. Ok, I upgraded to 2.2.1, so now I'm running: GTK 2.0.6 Phyton 2.2.1 Python-xml 2.2 wxWindows 2.4 wxPython 2.4 proj 4.4.5 Application starts, I can add the data layer 'cultural_landmark-point' from the Thuban-data iceland sample data. When adding anothr layer from the dataset, or any other layer, or trying to open a saved session (e.g. from the iceland demo) the application crashes!! No error output, only 'Segmentation fault'. mfg alex Jonathan Coles wrote: >ok, apparently, we have made a mistake in the version that Thuban >depends on. I thought that the boolean values were defined in 2.2 when >in fact they are defined in 2.2.1. you will need to use the 2.2.1 >package. sorry about this. > >http://at.rpmfind.net/opsys/linux/RPM/python.html > >--jonathan > >On Tue, 2003-03-18 at 17:41, Alexander Pucher wrote: > > >>I just took it off from the SuSe DVD. >> >>Thi sis my output: >> >>pucher at david:/download/Thuban-0.2.0/test> python >>Python 2.2 (#1, Mar 26 2002, 15:46:04) >>[GCC 2.95.3 20010315 (SuSE)] on linux2 >>Type "help", "copyright", "credits" or "license" for more information. >> >>> x = False >>Traceback (most recent call last): >> File "", line 1, in ? >>NameError: name 'False' is not defined >> >>mfg >>alex >> >>Jonathan Coles wrote: >> >> >> >>>alex, >>> >>> >>>i have run the following test: >>> >>>jonathan at salmakis:~$ python2.1 >>>Python 2.1.3 (#1, Sep 7 2002, 15:29:56) >>>[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 >>>Type "copyright", "credits" or "license" for more information. >>> >>> >>> >>> >>>>>>x = False >>>>>> >>>>>> >>>>>> >>>>>> >>>Traceback (most recent call last): >>> File "", line 1, in ? >>>NameError: name 'False' is not defined >>> >>> >>> >>> >>>jonathan at salmakis:~$ python2.2 >>>Python 2.2.1 (#1, Sep 7 2002, 14:34:30) >>>[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 >>>Type "help", "copyright", "credits" or "license" for more information. >>> >>> >>> >>> >>>>>>x = False >>>>>>x >>>>>> >>>>>> >>>>>> >>>>>> >>>0 >>> >>> >>> >>> >>>have you built your version of python from the source or are you running >>>prebuilt binaries? >>> >>>--jonathan >>> >>> >>>On Tue, 2003-03-18 at 17:16, Alexander Pucher wrote: >>> >>> >>> >>> >>>>Hi Jonathan, >>>> >>>>I use version 2.2-105 >>>> >>>>alex >>>> >>>>Jonathan Coles wrote: >>>> >>>> >>>> >>>> >>>> >>>>>which version of Python are you using? you will need at least version >>>>>2.2 >>>>> >>>>>--jonathan >>>>> >>>>>On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Hi, >>>>>> >>>>>>first of all, congratiolations to everybody involved in the Thuban >>>>>>project for this nice piece of software. I guess this is what a lot of >>>>>>people are looking for as a kind of missing link in the freegis scene!! >>>>>> >>>>>>I compiled Thuban on my Linux machine with no errors showing. I can >>>>>>start the application, the windows look fine. But when I try to add a >>>>>>layer, I get this error: >>>>>> >>>>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in >>>>>>invoke_command >>>>>> command.Execute(self.Context()) >>>>>>File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute >>>>>> apply(self.function, (context,) + self.args + args, kw) >>>>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in >>>>>>call_method >>>>>> apply(getattr(context.mainwindow, methodname), args) >>>>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in >>>>>>AddLayer >>>>>> layer = Layer(title, filename) >>>>>>File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ >>>>>> self.__setClassLock = False >>>>>>NameError: global name 'False' is not defined >>>>>> >>>>>>and nothing shows up?? >>>>>> >>>>>>Any hints? >>>>>> >>>>>>Best regards, >>>>>>alex >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher at univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- It's not that I'm afraid to die, I just don't want to be there when it happens -- Woody Allen From bh at intevation.de Wed Mar 19 13:46:53 2003 From: bh at intevation.de (Bernhard Herzog) Date: 19 Mar 2003 13:46:53 +0100 Subject: [Thuban-list] No geodata output In-Reply-To: <20030319092730.GA27767@intevation.de> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> <20030318172155.GA20721@intevation.de> <20030319092730.GA27767@intevation.de> Message-ID: <6qsmtj8qwy.fsf@thetis.intevation.de> Bernhard Reiter writes: > We should add a couple of tests which test the required > version numbers and put out warning for [...] > pyshapelip We don't need a test for this. All of shapelib needed for thuban is included in Thuban. Bernhard H. -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From jonathan at intevation.de Wed Mar 19 14:22:34 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 19 Mar 2003 14:22:34 +0100 Subject: [Thuban-list] (Still) No geodata output In-Reply-To: <3E785B0D.7080605@atlas.gis.univie.ac.at> References: <3E774411.3070402@atlas.gis.univie.ac.at> <1048003950.1382.91.camel@reisen> <3E77464B.6020406@atlas.gis.univie.ac.at> <1048005165.1382.100.camel@reisen> <3E774C50.6030502@atlas.gis.univie.ac.at> <1048008585.1382.110.camel@reisen> <3E785B0D.7080605@atlas.gis.univie.ac.at> Message-ID: <1048080154.9705.19.camel@reisen> this appears to be a library problem. if you are compiling Thuban you have to be careful which version of gcc you use. it must be the same version that was used to compile the wxWindows libraries. my bet is that Thuban crashes when it tries to draw the polygon layers using the proj library. there is some C++ code included with Thuban which calls into wxWindows code and if the compilers are not the same then the name mangling will be different. if you want to test this theory try doing this: in file Thuban/UI/renderer.py on line 135 comment out the call to self.draw_polygon_shape() and add "pass" so that the "if" block looks like this: if shapetype == SHAPETYPE_POINT: self.dc.SetBrush(brush) self.dc.SetPen(pen) self.draw_point_shape(layer, i) else: pass #self.draw_polygon_shape(layer, i, pen, brush) when you compile/run Thuban you should be able to load the iceland_sample.thuban file. All the information about the session should appear in the session tree but none of the polygon layers will be visible. --jonathan On Wed, 2003-03-19 at 12:57, Alexander Pucher wrote: > Hi, > thanks for the help so far. > > Ok, I upgraded to 2.2.1, so now I'm running: > > GTK 2.0.6 > Phyton 2.2.1 > Python-xml 2.2 > wxWindows 2.4 > wxPython 2.4 > proj 4.4.5 > > Application starts, I can add the data layer 'cultural_landmark-point' > from the Thuban-data iceland sample data. When adding anothr layer from > the dataset, or any other layer, or trying to open a saved session (e.g. > from the iceland demo) the application crashes!! > > No error output, only 'Segmentation fault'. > > mfg > alex > > > > Jonathan Coles wrote: > > >ok, apparently, we have made a mistake in the version that Thuban > >depends on. I thought that the boolean values were defined in 2.2 when > >in fact they are defined in 2.2.1. you will need to use the 2.2.1 > >package. sorry about this. > > > >http://at.rpmfind.net/opsys/linux/RPM/python.html > > > >--jonathan > > > >On Tue, 2003-03-18 at 17:41, Alexander Pucher wrote: > > > > > >>I just took it off from the SuSe DVD. > >> > >>Thi sis my output: > >> > >>pucher at david:/download/Thuban-0.2.0/test> python > >>Python 2.2 (#1, Mar 26 2002, 15:46:04) > >>[GCC 2.95.3 20010315 (SuSE)] on linux2 > >>Type "help", "copyright", "credits" or "license" for more information. > >> >>> x = False > >>Traceback (most recent call last): > >> File "", line 1, in ? > >>NameError: name 'False' is not defined > >> > >>mfg > >>alex > >> > >>Jonathan Coles wrote: > >> > >> > >> > >>>alex, > >>> > >>> > >>>i have run the following test: > >>> > >>>jonathan at salmakis:~$ python2.1 > >>>Python 2.1.3 (#1, Sep 7 2002, 15:29:56) > >>>[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 > >>>Type "copyright", "credits" or "license" for more information. > >>> > >>> > >>> > >>> > >>>>>>x = False > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>Traceback (most recent call last): > >>> File "", line 1, in ? > >>>NameError: name 'False' is not defined > >>> > >>> > >>> > >>> > >>>jonathan at salmakis:~$ python2.2 > >>>Python 2.2.1 (#1, Sep 7 2002, 14:34:30) > >>>[GCC 2.95.4 20011002 (Debian prerelease)] on linux2 > >>>Type "help", "copyright", "credits" or "license" for more information. > >>> > >>> > >>> > >>> > >>>>>>x = False > >>>>>>x > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>0 > >>> > >>> > >>> > >>> > >>>have you built your version of python from the source or are you running > >>>prebuilt binaries? > >>> > >>>--jonathan > >>> > >>> > >>>On Tue, 2003-03-18 at 17:16, Alexander Pucher wrote: > >>> > >>> > >>> > >>> > >>>>Hi Jonathan, > >>>> > >>>>I use version 2.2-105 > >>>> > >>>>alex > >>>> > >>>>Jonathan Coles wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>which version of Python are you using? you will need at least version > >>>>>2.2 > >>>>> > >>>>>--jonathan > >>>>> > >>>>>On Tue, 2003-03-18 at 17:06, Alexander Pucher wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Hi, > >>>>>> > >>>>>>first of all, congratiolations to everybody involved in the Thuban > >>>>>>project for this nice piece of software. I guess this is what a lot of > >>>>>>people are looking for as a kind of missing link in the freegis scene!! > >>>>>> > >>>>>>I compiled Thuban on my Linux machine with no errors showing. I can > >>>>>>start the application, the windows look fine. But when I try to add a > >>>>>>layer, I get this error: > >>>>>> > >>>>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 209, in > >>>>>>invoke_command > >>>>>> command.Execute(self.Context()) > >>>>>>File "/usr/local//lib/thuban/Thuban/UI/command.py", line 121, in Execute > >>>>>> apply(self.function, (context,) + self.args + args, kw) > >>>>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 582, in > >>>>>>call_method > >>>>>> apply(getattr(context.mainwindow, methodname), args) > >>>>>>File "/usr/local//lib/thuban/Thuban/UI/mainwindow.py", line 385, in > >>>>>>AddLayer > >>>>>> layer = Layer(title, filename) > >>>>>>File "/usr/local//lib/thuban/Thuban/Model/layer.py", line 150, in __init__ > >>>>>> self.__setClassLock = False > >>>>>>NameError: global name 'False' is not defined > >>>>>> > >>>>>>and nothing shows up?? > >>>>>> > >>>>>>Any hints? > >>>>>> > >>>>>>Best regards, > >>>>>>alex > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030319/60fa63c4/attachment.bin From jonathan at intevation.de Wed Mar 19 16:42:22 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 19 Mar 2003 16:42:22 +0100 Subject: [Thuban-list] version checks Message-ID: <1048088542.9706.34.camel@reisen> i've tried to write some code that checks the versions of the various libraries that Thuban requires. It's a bit kludgy in places but it's a start. you can find the updated files in the cvs tree. this actually won't detect the latest problem with the segfault but it should catch using the wrong version of Python, wxPython, and GTK (if you use GTK). --jonathan -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030319/c9254446/attachment.bin From jonathan at intevation.de Wed Mar 26 12:30:15 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 26 Mar 2003 12:30:15 +0100 Subject: [Thuban-list] Legend Now Available Message-ID: <1048678215.9385.22.camel@reisen> Hello! Since my email on Legend Design, I've been working on implementing the Legend. The initial features that I outlined have been completed and, in addition, the Legend can be docked inside the main window where the map is drawn. Dragging and right-clicking on the Legend are not yet implemented but there are buttons to accomplish all the implemented features. To reiterate, the Legend displays the visible/invisible layers and their current classifications. You can raise/lower, show/hide, and classify layers directly through the Legend. You can access the Legend from File->Legend. The new code is available from the cvs tree. Please send suggestions/comments to the mailing list and report any bugs to the bug tracker. Thanks. Enjoy! --jonathan -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030326/f101538c/attachment.bin From jonathan at intevation.de Wed Mar 26 15:13:36 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 26 Mar 2003 15:13:36 +0100 Subject: [Thuban-list] Generating Classifications Message-ID: <1048688016.11208.20.camel@reisen> Now that the initial work on the Legend is complete I'm going to go back and work on some missing features from the classification dialogs. Although it is possible to enter classification data in manually, it takes far too long. I'll be focusing this week and next on building some dialogs which allow the user to generate simple classifications based on the data in layer's table. The idea is that the user can select from predefined schemes which affect line color and thickness or define their own (although initially this will be limited to selecting a starting and ending color/line thickness). My current ideas for schemes include false-color, ocean (blues, greens), fire (oranges, yellows, reds), natural (browns, greens). How the schemes work will also depend on the type of data that a particular field represents. If the field is of type 'string' then you shouldn't be allowed to select a range of data values (but a list may make sense). The user should be able to request that the program analyse the field values in all the records to determine information such as the domain, but the user should also be able to enter this information in manually, either because the table is really large or simply to restrict the classification. If anyone has ideas about this, such as schemes they would like to see available or general comments, please feel free to send them to the mailing list. --jonathan -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030326/31926678/attachment.bin From pucher at atlas.gis.univie.ac.at Thu Mar 27 00:04:42 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Thu, 27 Mar 2003 00:04:42 +0100 Subject: [Thuban-list] Another unsuccesful try Message-ID: <3E82320A.1050806@atlas.gis.univie.ac.at> Hi, upgraded to all necessary packages since my last mail (incl. gcc 3.2.2) and tried the Thuban CVS code. This time the output looks like this: ----------------------- Traceback (most recent call last): File "/usr/local/bin/thuban", line 21, in ? import Thuban.UI.main File "/usr/local//lib/thuban/Thuban/UI/main.py", line 18, in ? from application import ThubanApplication File "/usr/local//lib/thuban/Thuban/UI/application.py", line 28, in ? import view File "/usr/local//lib/thuban/Thuban/UI/view.py", line 23, in ? from wxproj import point_in_polygon_shape, shape_centroid ImportError: /usr/local//lib/thuban/Thuban/../Lib/wxproj.so: undefined symbol: __gxx_personality_v0 ---------------------- Best regards, alex -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher at univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- An eye for an eye, and soon the whole world is blind -- Mahatma Gandhi From jonathan at intevation.de Thu Mar 27 10:31:32 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 27 Mar 2003 10:31:32 +0100 Subject: [Thuban-list] Another unsuccesful try In-Reply-To: <3E82320A.1050806@atlas.gis.univie.ac.at> References: <3E82320A.1050806@atlas.gis.univie.ac.at> Message-ID: <1048757491.11208.30.camel@reisen> first, i'm sorry this is causing such difficulty. second, could you please send a list of which packages you have upgraded to? i still think that this is a library problem. if the packages you installed were compiled with gcc 2.95, for example, then compiling Thuban with gcc 3.2.2 could be the cause of this problem. thank you for your continued interest in getting this to work, despite the problems :) it really is appreciated. --jonathan On Thu, 2003-03-27 at 00:04, Alexander Pucher wrote: > Hi, > upgraded to all necessary packages since my last mail (incl. gcc 3.2.2) > and tried the Thuban CVS code. > > This time the output looks like this: > > ----------------------- > Traceback (most recent call last): > File "/usr/local/bin/thuban", line 21, in ? > import Thuban.UI.main > File "/usr/local//lib/thuban/Thuban/UI/main.py", line 18, in ? > from application import ThubanApplication > File "/usr/local//lib/thuban/Thuban/UI/application.py", line 28, in ? > import view > File "/usr/local//lib/thuban/Thuban/UI/view.py", line 23, in ? > from wxproj import point_in_polygon_shape, shape_centroid > ImportError: /usr/local//lib/thuban/Thuban/../Lib/wxproj.so: undefined > symbol: __gxx_personality_v0 > ---------------------- > > Best regards, > alex -- Jonathan Coles Intevation GmbH http://www.intevation.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: This is a digitally signed message part Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030327/39f78acd/attachment.bin From pucher at atlas.gis.univie.ac.at Thu Mar 27 12:01:19 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Thu, 27 Mar 2003 12:01:19 +0100 Subject: [Thuban-list] Another unsuccesful try In-Reply-To: <1048756587.11208.27.camel@reisen> References: <3E82320A.1050806@atlas.gis.univie.ac.at> <1048756587.11208.27.camel@reisen> Message-ID: <3E82D9FF.9080004@atlas.gis.univie.ac.at> Jonathan Coles wrote: >first, i'm sorry this is causing such difficulty. > The thing is, I want to get this app running on my machine. (1) because I need a smart shape-file viewer on my linux machine (really looking forward to the postGIS connection!!) and (2) because I hate it if something won't run on linux ;-) >second, could you please send a list of which packages you have upgraded >to? i still think that this is a library problem. if the packages you >installed were compiled with gcc 2.95, for example, then compiling >Thuban with gcc 3.2.2 could be the cause of this problem. > I will do this asap (got other stuff to finish today) >thank you for your continued interest in getting this to work, despite >the problems :) it really is appreciated. > I'm glad you say that! I though you might think something like 'Oh, this guy again..' BTW, I think it would be a good idea to add links to the several additional packages needed by Thuban on the 'download section' of the Thuban homepage. Non-experts might get confused ... Oops, just had a look at the page and saw that you already did that - Thanks for that. Keep going, this is a great piece of software (at least from what I saw from the screenshots;-) Regards, alex > >--jonathan > >On Thu, 2003-03-27 at 00:04, Alexander Pucher wrote: > > >>Hi, >>upgraded to all necessary packages since my last mail (incl. gcc 3.2.2) >>and tried the Thuban CVS code. >> >>This time the output looks like this: >> >>----------------------- >>Traceback (most recent call last): >> File "/usr/local/bin/thuban", line 21, in ? >> import Thuban.UI.main >> File "/usr/local//lib/thuban/Thuban/UI/main.py", line 18, in ? >> from application import ThubanApplication >> File "/usr/local//lib/thuban/Thuban/UI/application.py", line 28, in ? >> import view >> File "/usr/local//lib/thuban/Thuban/UI/view.py", line 23, in ? >> from wxproj import point_in_polygon_shape, shape_centroid >>ImportError: /usr/local//lib/thuban/Thuban/../Lib/wxproj.so: undefined >>symbol: __gxx_personality_v0 >>---------------------- >> >>Best regards, >>alex >> >> -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher at univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- An eye for an eye, and soon the whole world is blind -- Mahatma Gandhi From putler at commerce.ubc.ca Sat Mar 29 19:35:09 2003 From: putler at commerce.ubc.ca (Dan Putler) Date: Sat, 29 Mar 2003 10:35:09 -0800 Subject: [Thuban-list] Problems displaying layers created by shapelib Message-ID: <3E85E75D.7070807@commerce.ubc.ca> Hi, I have been involved in a project to create a open source postal address geocoder. We use the Frank Warmerdam's shapelib library for both reading a reference vector street map (with address ranges), and writing out a point map with each geocoded address. We are currently testing whether what programs can actually read and display the layers we have created. Thuban seems to have problems displaying these maps. Specifically, the layers window displays the appropriate information for the map. However, the display window just freezes. Across open source map viewers and simple GIS map editors we have tried, we find that we can display these layers in OpenEV and GIS Toolkit Editor, but not Thuban and DeeGree. In addition, we have no problems with them in either ArcView or ArcExplorer. My question is have others run into problems displaying shapefile layers created with shapelib in Thuban. For the Thuban development team, I'd be glad to send you one of the layers created by our program for you to look at. Dan -- _________________________________________ Dan Putler UBC Commerce Email: putler at commerce dot ubc dot ca Phone: 604-822-8329 From jan at intevation.de Sat Mar 29 20:54:19 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Sat, 29 Mar 2003 20:54:19 +0100 Subject: [Thuban-list] Problems displaying layers created by shapelib In-Reply-To: <3E85E75D.7070807@commerce.ubc.ca> References: <3E85E75D.7070807@commerce.ubc.ca> Message-ID: <20030329195419.GA9374@intevation.de> On Sat, Mar 29, 2003 at 10:35:09AM -0800, Dan Putler wrote: > For the Thuban development team, I'd be glad to send you one of the > layers created by our program for you to look at. that would be great and help us resolve the problem. I haven't experienced problems so far, but I haven't tried many different shapefiles yet. You can send me the file directly. Best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jan at intevation.de Mon Mar 31 16:55:03 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Mon, 31 Mar 2003 16:55:03 +0200 Subject: [Thuban-list] Legend visible by default Message-ID: <20030331145503.GA1475@intevation.de> Hi, now that we have a nice legend in Thuban, I propose to have it visible and docked by default (at start-up) and the session-tree invisible by default. Anyone agree/disagree? Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From frank.koormann at intevation.de Mon Mar 31 17:03:54 2003 From: frank.koormann at intevation.de (Frank Koormann) Date: Mon, 31 Mar 2003 17:03:54 +0200 Subject: [Thuban-list] Legend visible by default In-Reply-To: <20030331145503.GA1475@intevation.de> References: <20030331145503.GA1475@intevation.de> Message-ID: <20030331150354.GA28460@intevation.de> * Jan-Oliver Wagner [030331 16:56]: > Hi, > > now that we have a nice legend in Thuban, I propose > to have it visible and docked by default (at start-up) > and the session-tree invisible by default. > > Anyone agree/disagree? > Sounds reasonable to me. Frank -- Frank Koormann Professional Service around Free Software (http://intevation.net/) FreeGIS Project (http://freegis.org/) From jan at intevation.de Mon Mar 31 17:34:57 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Mon, 31 Mar 2003 17:34:57 +0200 Subject: [Thuban-list] Problems displaying layers created by shapelib In-Reply-To: <20030329195419.GA9374@intevation.de> References: <3E85E75D.7070807@commerce.ubc.ca> <20030329195419.GA9374@intevation.de> Message-ID: <20030331153457.GB1532@intevation.de> On Sat, Mar 29, 2003 at 08:54:19PM +0100, Jan-Oliver Wagner wrote: > On Sat, Mar 29, 2003 at 10:35:09AM -0800, Dan Putler wrote: > > For the Thuban development team, I'd be glad to send you one of the > > layers created by our program for you to look at. > that would be great and help us resolve the problem. > I haven't experienced problems so far, but I haven't > tried many different shapefiles yet. > > You can send me the file directly. just for the archive: Dan send me the test-file and it displays without any problem for me (using the current CVS version). Anyone else experiencing a problem like Dan did? Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/