From jonathan at intevation.de Tue Apr 1 18:09:53 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 01 Apr 2003 18:09:53 +0200 Subject: [Thuban-list] Shape file issue resolved In-Reply-To: <3E889086.6010204@commerce.ubc.ca> References: <3E87221E.1090202@commerce.ubc.ca> <20030331153018.GA1532@intevation.de> <3E889086.6010204@commerce.ubc.ca> Message-ID: <1049213393.30541.24.camel@reisen> Dan, i believe i have fixed the problem you have been having with the countys.shp file. Thuban was not handling Null Shapes correctly and it appears that there are 5 Null Shapes in countys.shp. the corrected code can be found in the cvs repository. thanks for letting us know about the problem. For those on the Thuban Mailing List: Dan sent us a .shp/.dbf/.shx file that was working correctly with other viewers, but not with Thuban. --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/20030401/0dd19f65/attachment.bin From putler at commerce.ubc.ca Wed Apr 2 20:14:04 2003 From: putler at commerce.ubc.ca (Dan Putler) Date: Wed, 02 Apr 2003 10:14:04 -0800 Subject: [Thuban-list] Any possibility of allowing for access to external tools in Thuban? Message-ID: <3E8B286C.5080603@commerce.ubc.ca> Hi, I was wondering if there were any plans to allow users to get access to external tools though Thuban along the lines of what can be done with OpenEV? This would more easily allow users to customize Thuban. Dan -- _________________________________________ Dan Putler UBC Commerce Email: putler at commerce dot ubc dot ca Phone: 604-822-8329 From wichmann at uni-wuppertal.de Thu Apr 3 00:03:46 2003 From: wichmann at uni-wuppertal.de (Ingo Wichmann) Date: Thu, 03 Apr 2003 00:03:46 +0200 Subject: [Thuban-list] thuban segfault - Installation falsch? Message-ID: <3E8B5E42.4000800@uni-wuppertal.de> Hallo! Ich probier grade mal wieder thuban ans laufen zu bringen. Diesmal unter debian testing + ein paar Pakete aus unstable. So weit komme ich: wichmann at i3:~$ thuban No ~/.thuban directory Speicherzugriffsfehler Das ist hier reproduzierbar mit folgenden Schritten: Menu "Map" -> "Add Layer" strasse.shp ausgew?hlen + OK -> paff! Berndhard Reiter hat mir in Chemnitz den Tip gegeben, da? solche Probleme an nicht zusammenpassenden Bibliotheken (gtk, wx, ...) liegen. Sieht jemand auf anhieb was hier falsch gelaufen ist? Bei der Installation habe ich mich an die unter http://thuban.intevation.org/download.html genannten Pakete gehalten: Thuban-0.2.0-2.i386.rpm (mit alien) libgtk1.2 python2.2 python2.2-xmlbase libwxgtk2.4 libwxgtk2.4-python proj libwxgtk2.4 gabs nur in unstable. Zus?tzlich habe ich noch libwxgtk2.4-dbg installieren m?ssen. Eine vollst?ndigere Liste der installierten Pakete habe ich angeh?ngt. Au?erdem habe ich einen Link von Hand angelegen m?ssen: ln -s python2.2 /usr/bin/python2 Ich habe leider nicht viel Zeit f?r die Fehlersuche. Ich wollte einen Screenshot von thuban in meine Diplomarbeit einbauen. Aber wenn das eine kompliziertere Sache wird, dann la? ich's lieber: ich mu? die Arbeit n?chste Wochen abgeben. Ingo -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: thuban-install.txt Url: http://www.intevation.de/pipermail/thuban-list/attachments/20030403/e6b8b120/thuban-install.txt From jonathan at intevation.de Thu Apr 3 11:02:47 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 03 Apr 2003 11:02:47 +0200 Subject: [Thuban-list] thuban segfault - Installation falsch? In-Reply-To: <3E8B5E42.4000800@uni-wuppertal.de> References: <3E8B5E42.4000800@uni-wuppertal.de> Message-ID: <1049360567.19194.76.camel@reisen> On Thu, 2003-04-03 at 00:03, Ingo Wichmann wrote: > Hallo! > > Ich probier grade mal wieder thuban ans laufen zu bringen. Diesmal unter > debian testing + ein paar Pakete aus unstable. So weit komme ich: > > wichmann at i3:~$ thuban > No ~/.thuban directory > Speicherzugriffsfehler > > Das ist hier reproduzierbar mit folgenden Schritten: > Menu "Map" -> "Add Layer" > strasse.shp ausgew?hlen + OK -> paff! > > Berndhard Reiter hat mir in Chemnitz den Tip gegeben, da? solche > Probleme an nicht zusammenpassenden Bibliotheken (gtk, wx, ...) liegen. > Sieht jemand auf anhieb was hier falsch gelaufen ist? > Ja, ich glaube, dass es ein Bibliotheksproblem ist. > Bei der Installation habe ich mich an die unter > http://thuban.intevation.org/download.html genannten Pakete gehalten: > Thuban-0.2.0-2.i386.rpm (mit alien) > libgtk1.2 python2.2 python2.2-xmlbase libwxgtk2.4 libwxgtk2.4-python proj > libwxgtk2.4 gabs nur in unstable. > > Zus?tzlich habe ich noch > libwxgtk2.4-dbg > installieren m?ssen. > Ich denke, dass das Ihr Problem ist. Warum denken Sie, mussen Sie libwxgtk2.4-dbg installiert haben? Wenn ich libwxgtk2.4-dbg installiere, habe ich das gliech Problem, aber ohne libwxgtk2.4-dbg funkioniert alles. Ich glaube, das Problem besteht zwischen libwxgtk2.4-python und libwxgtk2.4-dbg. Wenn Sie 'dev' Bibliotheken wollen, installieren Sie libwxgtk2.4-dev. Versuchen Sie zuerst diese Loesung. > Eine vollst?ndigere Liste der installierten Pakete habe ich angeh?ngt. > > Au?erdem habe ich einen Link von Hand angelegen m?ssen: > ln -s python2.2 /usr/bin/python2 > Wenn Sie den Link benuzten, welche python Version laeuft dann? Sie haben auch python 2.1.3 installiert. Thuban v0.2 muss mit python >=2.2.1 laufen. weiter: Wenn Sie nicht die Funktionalitaet von Thuban 0.2 brauchen, koennen Sie Version 0.1.3 installieren. auch: Wenn Sie nur allgemein Thuban Screenshots brauchen, koennen wir diese fuer Sie machen. --jonathan > Ich habe leider nicht viel Zeit f?r die Fehlersuche. Ich wollte einen > Screenshot von thuban in meine Diplomarbeit einbauen. Aber wenn das eine > kompliziertere Sache wird, dann la? ich's lieber: ich mu? die Arbeit > n?chste Wochen abgeben. > > Ingo > > > ______________________________________________________________________ > > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) > ||/ Name Version Description > +++-==============-==============-============================================ > .. > ii libgtk1.2 1.2.10-14 The GIMP Toolkit set of widgets for X > ii libgtk1.2-comm 1.2.10-14 Common files for the GTK+ library > ii libgtk2.0-0 2.2.1-3 The GTK+ graphical user interface library > ii libgtk2.0-comm 2.2.1-3 Common files for the GTK+ graphical user int > .. > ii libwxgtk2.4 2.4.0.3 wxWindows Cross-platform C++ GUI toolkit (GT > ii libwxgtk2.4-db 2.4.0.3 wxWindows Cross-platform C++ GUI toolkit (GT > ii libwxgtk2.4-de 2.4.0.3 wxWindows Cross-platform C++ GUI toolkit (GT > ii libwxgtk2.4-py 2.4.0.3 wxWindows Cross-platform C++ GUI toolkit (wx > .. > ii proj 4.4.5-1 Cartographic projection filter and library > .. > ii python 2.2.2-6 An interactive object-oriented scripting lan > ii python2.1 2.1.3-4 An interactive object-oriented scripting lan > ii python2.2 2.2.2-6 An interactive object-oriented scripting lan > ii python2.2-opti 1.3-5 advanced command-line parsing library for Py > ii python2.2-xmlb 2.2.2-6 XML support included in Python (v2.2) -- 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/20030403/b17fb251/attachment.bin From wichmann at uni-wuppertal.de Fri Apr 4 15:46:27 2003 From: wichmann at uni-wuppertal.de (Ingo Wichmann) Date: Fri, 04 Apr 2003 15:46:27 +0200 Subject: [Thuban-list] thuban segfault - Installation falsch? In-Reply-To: <1049360567.19194.76.camel@reisen> References: <3E8B5E42.4000800@uni-wuppertal.de> <1049360567.19194.76.camel@reisen> Message-ID: <3E8D8CB3.9040603@uni-wuppertal.de> Jonathan Coles schrieb: >>Zus?tzlich habe ich noch >>libwxgtk2.4-dbg >>installieren m?ssen. > > Ich denke, dass das Ihr Problem ist. Warum denken Sie, mussen Sie > libwxgtk2.4-dbg installiert haben? Deshalb: wichmann at i3:~$ thuban Traceback (most recent call last): File "/usr/bin/thuban", line 21, in ? import Thuban.UI.main File "/usr/lib/thuban/Thuban/UI/main.py", line 18, in ? from application import ThubanApplication File "/usr/lib/thuban/Thuban/UI/application.py", line 28, in ? import view File "/usr/lib/thuban/Thuban/UI/view.py", line 23, in ? from wxproj import point_in_polygon_shape, shape_centroid ImportError: libwx_gtkd-2.4.so: cannot open shared object file: Datei oder Verzeichnis nicht gefunden > Wenn ich libwxgtk2.4-dbg installiere, habe ich das gliech Problem, aber > ohne libwxgtk2.4-dbg funkioniert alles. > > Ich glaube, das Problem besteht zwischen libwxgtk2.4-python und > libwxgtk2.4-dbg. Wenn Sie 'dev' Bibliotheken wollen, installieren Sie > libwxgtk2.4-dev. libwxgtk2.4-dev ist auch installiert. >>Au?erdem habe ich einen Link von Hand angelegen m?ssen: >>ln -s python2.2 /usr/bin/python2 > > Wenn Sie den Link benuzten, welche python Version laeuft dann? Sie haben > auch python 2.1.3 installiert. Thuban v0.2 muss mit python >=2.2.1 > laufen. wichmann at i3:~$ python2 -V Python 2.2.2 > Wenn Sie nur allgemein Thuban Screenshots brauchen, koennen wir diese > fuer Sie machen. Das w?re sehr nett. Ich schicke Ihnen die Daten per PM. Ingo Wichmann From jan at intevation.de Fri Apr 4 17:11:18 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Fri, 4 Apr 2003 17:11:18 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? Message-ID: <20030404151118.GA4438@intevation.de> Hi, I wonder whether it would be nice to make the menu items "Show Session Tree" and "Show Legend" toggleable menu items "Session Tree" and "Legend" (and without a separator between them). I tend to say yes - what is your opinion? Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From hyao at sina.com Wed Apr 2 07:51:51 2003 From: hyao at sina.com (Yao Heling) Date: Wed, 02 Apr 2003 13:51:51 +0800 Subject: [Thuban-list] future of Thuban Message-ID: <3E8A7A77.7030303@sina.com> SPAM: 5.70 hits, 5 required Hello all, I like thuban very much and thanks for the efforts. I have a few questions regarding thuban: 1. shouldn't there be a select tool? All I can come up with now is to used the identify tool, which brings up the dialog, which users may not need; 2. I remeber there were talkings about the use of ogr instead of shapelib on the list, how' that going? As I plan to learn/use OGR myself, I may be of some help if ogr is used; 3. As I understand, thuban is GIS viewer as describled on the website; but I believe an advanced viewer would have some basic spatial analysis capabilities incoporated, is that planned for thuban? at least the infrastructure should be there for users to add needed functionalities, such as buffer analysis, overlay analysis etc. 4. When I've selected a polygon in thuban, everything (zoom, pan etc.) becomes extremely slow; is it because Python is not up to the task; an algorithm issue? maybe we should consider using numpy? 5. If thuban is to use ogr and numpy, it would look like openev a lot? maybe some ideas could be borrowed from openev? 6. license issue: since thuban's license is GPL, some users may feel it too restricted; is an license change to LGPL possible? (openev is LGPL) Just want to get your opinions on these issues, and Thanks in advance Joseph H. Yao From jan at intevation.de Sun Apr 6 12:47:09 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Sun, 6 Apr 2003 12:47:09 +0200 Subject: [Thuban-list] future of Thuban In-Reply-To: <3E8A7A77.7030303@sina.com> References: <3E8A7A77.7030303@sina.com> Message-ID: <20030406104709.GA32564@intevation.de> Hi, On Wed, Apr 02, 2003 at 01:51:51PM +0800, Yao Heling wrote: > 1. shouldn't there be a select tool? All I can come up with now is to > used the identify tool, which brings up the dialog, which users may not > need; there are already internal improvements to support more sophisticated ways for selection. Most notably that it is possible to select more than one object. Eventually this will be available through the user interface as well, but I can not promise when we have the time for it (there are some other tasks currently with a higher priority). However, it would be interesting in how you would like to function Thuban regarding selection? > 2. I remeber there were talkings about the use of ogr instead of > shapelib on the list, how' that going? As I plan to learn/use OGR > myself, I may be of some help if ogr is used; It is on the mid-term wishlist, but currently we have no free resources (or financial support) to work on this. However, Martin works on extending Thuban to access spatial databases according to the OGC specification. This will also refine the concept of different layer types which should make it more easy to add OGR support. > 3. As I understand, thuban is GIS viewer as describled on the website; > but I believe an advanced viewer would have some basic spatial analysis > capabilities incoporated, is that planned for thuban? at least the > infrastructure should be there for users to add needed functionalities, > such as buffer analysis, overlay analysis etc. I am not sure whether we should make Thuban a full GIS. It is actually designed to be a viewer/explorer. Interfacing with other tools such as GRASS might be more interesting since there is a lot development power. What we have in mind is that it is possible to build specific GIS tools based on Thuban. We have done this already for one tool, GREAT-ER (greater.intevation.org). Also, it is easy to extend Thuban with some extra-functionality (you will find examples in the CVS). Buffering etc. should be possible with this mechanism. > 4. When I've selected a polygon in thuban, everything (zoom, pan etc.) > becomes extremely slow; is it because Python is not up to the task; an > algorithm issue? maybe we should consider using numpy? I've not experienced a serious slow-down so far, but maybe you layer is much bigger than what I use. So far, we have not paid much attention to performance optimzation. There are definitely some screws to improve the situation. > 5. If thuban is to use ogr and numpy, it would look like openev a lot? > maybe some ideas could be borrowed from openev? OpenEV is basically a library with a sample viewer application. But you are right, both tools seem to share quite a lot. > 6. license issue: since thuban's license is GPL, some users may feel it > too restricted; is an license change to LGPL possible? (openev is LGPL) OpenEV seems to be developed by Atlantis to derive proprietary products. We do not intend to do the same. We'd rather like to see Thuban-based GPL tools in the future. Basically, GPL is only restricting the right to restrict rights. Commercial success exclusively based on Free Software is possible. I hope to convince more people :-) Best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jonathan at intevation.de Mon Apr 7 11:31:46 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 07 Apr 2003 11:31:46 +0200 Subject: [Thuban-list] Thuban Debian rpm Message-ID: <1049707905.3796.10.camel@reisen> hi all, there have been a few problems with the Thuban .rpm for Debian. it was built on a red hat machine and so some of the libraries and program names are not correct for a debian system. the link on the site now is to another .rpm (Thuban-0.2.0-1.i386.rpm) which we've tested on Debian sid. hopefully this will resolve a few issues that have cropped up. we plan to have a .deb package ready soon. --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/20030407/4bf2a116/attachment.bin From jan at intevation.de Mon Apr 7 12:56:52 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Mon, 7 Apr 2003 12:56:52 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? In-Reply-To: <20030404151118.GA4438@intevation.de> References: <20030404151118.GA4438@intevation.de> Message-ID: <20030407105652.GA3496@intevation.de> On Fri, Apr 04, 2003 at 05:11:18PM +0200, Jan-Oliver Wagner wrote: > I wonder whether it would be nice to make the > menu items "Show Session Tree" and "Show Legend" > toggleable menu items "Session Tree" and "Legend" > (and without a separator between them). > > I tend to say yes - what is your opinion? since no complaints arrived, we'll go for toggleable items :-) However, what also came to my mind here is that 'Legend' actually refers to a map, not to the overall session. Hence, the menu item should actually be placed into the map menu. Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From bh at intevation.de Mon Apr 7 13:06:29 2003 From: bh at intevation.de (Bernhard Herzog) Date: 07 Apr 2003 13:06:29 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? In-Reply-To: <20030407105652.GA3496@intevation.de> References: <20030404151118.GA4438@intevation.de> <20030407105652.GA3496@intevation.de> Message-ID: <6qbrzih8i2.fsf@salmakis.intevation.de> Jan-Oliver Wagner writes: > On Fri, Apr 04, 2003 at 05:11:18PM +0200, Jan-Oliver Wagner wrote: > > I wonder whether it would be nice to make the > > menu items "Show Session Tree" and "Show Legend" > > toggleable menu items "Session Tree" and "Legend" > > (and without a separator between them). > > > > I tend to say yes - what is your opinion? > > since no complaints arrived, we'll go for toggleable items :-) And it's already in CVS :) The commands in question have been renamed to toggle_session_tree and toggle_legend. Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From jan at intevation.de Mon Apr 7 14:19:32 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Mon, 7 Apr 2003 14:19:32 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? In-Reply-To: <6qbrzih8i2.fsf@salmakis.intevation.de> References: <20030404151118.GA4438@intevation.de> <20030407105652.GA3496@intevation.de> <6qbrzih8i2.fsf@salmakis.intevation.de> Message-ID: <20030407121932.GA3546@intevation.de> On Mon, Apr 07, 2003 at 01:06:29PM +0200, Bernhard Herzog wrote: > Jan-Oliver Wagner writes: > > since no complaints arrived, we'll go for toggleable items :-) > > And it's already in CVS :) cool. Thats what i had in mind. Now the item 'Legend' just needs to moved to the 'Map' menu. -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From bh at intevation.de Mon Apr 7 15:14:52 2003 From: bh at intevation.de (Bernhard Herzog) Date: 07 Apr 2003 15:14:52 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? In-Reply-To: <20030407121932.GA3546@intevation.de> References: <20030404151118.GA4438@intevation.de> <20030407105652.GA3496@intevation.de> <6qbrzih8i2.fsf@salmakis.intevation.de> <20030407121932.GA3546@intevation.de> Message-ID: <6q7ka6h2k3.fsf@salmakis.intevation.de> Jan-Oliver Wagner writes: > Now the item 'Legend' just needs to moved to the 'Map' menu. I wonder: Wouldn't it make even more sense to introduce a View menu? It would contain e.g. "Legend" as well as "Full Extent", "Zoom In", "Zoom Out" and "Pan". Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From jan at intevation.de Mon Apr 7 15:26:42 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Mon, 7 Apr 2003 15:26:42 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? In-Reply-To: <6q7ka6h2k3.fsf@salmakis.intevation.de> References: <20030404151118.GA4438@intevation.de> <20030407105652.GA3496@intevation.de> <6qbrzih8i2.fsf@salmakis.intevation.de> <20030407121932.GA3546@intevation.de> <6q7ka6h2k3.fsf@salmakis.intevation.de> Message-ID: <20030407132642.GA3616@intevation.de> On Mon, Apr 07, 2003 at 03:14:52PM +0200, Bernhard Herzog wrote: > Jan-Oliver Wagner writes: > > Now the item 'Legend' just needs to moved to the 'Map' menu. > > I wonder: Wouldn't it make even more sense to introduce a View menu? It > would contain e.g. "Legend" as well as "Full Extent", "Zoom In", "Zoom > Out" and "Pan". it might make sense at a later stage, but so far I think that the Map menu is not too overcrowded. Also a clear definition of the difference between a View and a Map might be difficult. -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From bh at intevation.de Mon Apr 7 15:38:10 2003 From: bh at intevation.de (Bernhard Herzog) Date: 07 Apr 2003 15:38:10 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? In-Reply-To: <20030407132642.GA3616@intevation.de> References: <20030404151118.GA4438@intevation.de> <20030407105652.GA3496@intevation.de> <6qbrzih8i2.fsf@salmakis.intevation.de> <20030407121932.GA3546@intevation.de> <6q7ka6h2k3.fsf@salmakis.intevation.de> <20030407132642.GA3616@intevation.de> Message-ID: <6q3ckuh1h9.fsf@salmakis.intevation.de> Jan-Oliver Wagner writes: > On Mon, Apr 07, 2003 at 03:14:52PM +0200, Bernhard Herzog wrote: > > Jan-Oliver Wagner writes: > > > Now the item 'Legend' just needs to moved to the 'Map' menu. Checked in now. > > I wonder: Wouldn't it make even more sense to introduce a View menu? It > > would contain e.g. "Legend" as well as "Full Extent", "Zoom In", "Zoom > > Out" and "Pan". > > it might make sense at a later stage, but so far I think that > the Map menu is not too overcrowded. Also a clear definition > of the difference between a View and a Map might be difficult. The main difference would be that the commands in the map menu change the map in some way while the commands in the view menu only affect how the map is displayed. bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From bh at intevation.de Mon Apr 7 18:39:31 2003 From: bh at intevation.de (Bernhard Herzog) Date: Mon, 7 Apr 2003 18:39:31 +0200 Subject: [Thuban-list] Session tree/Legend: toggles? In-Reply-To: <200304071616.h37GGR206201@agrario.minag.gob.pe> References: <200304071616.h37GGR206201@agrario.minag.gob.pe> Message-ID: <20030407163931.GA27421@intevation.de> [ I hope it's OK to CC the mailing list again :) ] > Don't forget "Full Layer Extent" and "Selection extent". Great shortcuts. I've added a wish-list bug tracker entry for this. > > > it might make sense at a later stage, but so far I think that > > > the Map menu is not too overcrowded. Also a clear definition > > > of the difference between a View and a Map might be difficult. > > > > The main difference would be that the commands in the map menu change > > the map in some way while the commands in the view menu only affect how > > the map is displayed. > > A toolbar seems more appropriate in that case, doesn?t it? Well, all commands in the toolbar should be available in the menu too even those that experienced users mostly access through the toolbar. Among other things you can access all menu items via the keyboard but (currently at least) this doesn't work for the toolbar. Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From jan at intevation.de Fri Apr 11 09:53:22 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Fri, 11 Apr 2003 09:53:22 +0200 Subject: [Thuban-list] Any possibility of allowing for access to external tools in Thuban? In-Reply-To: <3E8B286C.5080603@commerce.ubc.ca> References: <3E8B286C.5080603@commerce.ubc.ca> Message-ID: <20030411075322.GA8025@intevation.de> Hi Dan, On Wed, Apr 02, 2003 at 10:14:04AM -0800, Dan Putler wrote: > I was wondering if there were any plans to allow users to get access to > external tools though Thuban along the lines of what can be done with > OpenEV? This would more easily allow users to customize Thuban. more a vision than a plan. However, it is possible to add personal extensions to Thuban which are automatically added to Thuban on start-up. This might lead to an interesting collection of integrations of other tools. Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jan at intevation.de Sat Apr 12 17:45:19 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Sat, 12 Apr 2003 17:45:19 +0200 Subject: [Thuban-list] Re: translation of thuban In-Reply-To: <5.2.0.9.0.20030411180210.00d49e90@www.entropia.com.mx> References: <5.2.0.9.0.20030411180210.00d49e90@www.entropia.com.mx> Message-ID: <20030412154519.GB26252@intevation.de> Hi, [ I am cc'ing this to the Thuban mailing list as it is of general interest ] On Fri, Apr 11, 2003 at 06:12:21PM -0600, Francisco S G J?uregui wrote: > We are a very small group of people currently involved in the development > of free GIS tools supported by a government research institution in Mexico. > > We have come across your Thuban project, and have found it very appealing; > your extensive use of Python has been particularly attractive to us. thats nice to hear :-) > With your permission we would like to prepare a translation of Thuban into > Spanish, intended for use in Latin America. Of course we would also send > you any bug reports and comments that might pop into our (largely > untrained) minds. any translation efford is welcome! So far, we only made the first step towards real i18n support and that is, we use a special function _() for any strings. This function is eventually to be replaced by real gettext functionality. Once this second step happened, it will be fairly easy to add any translation. If you know about gettext functionality and how to use it with python, your help would be very welcome to set this up. If not, we'll have to see when we can afford the time to do this ourselves (we are currently very busy working on further projections, PostGIS-support and table management). Best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jan at intevation.de Tue Apr 15 11:12:14 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Tue, 15 Apr 2003 11:12:14 +0200 Subject: [Thuban-list] Improved Legend and extended layer properties dialogs Message-ID: <20030415091214.GA1251@intevation.de> Hi, this is just a short note that jonathan at intevation.de finished his work on the Legend and an extended layer properties dialog. It is now possible to automatically generate classes with symbol gradients. Some facelifting was done as well. All is available from CVS. Hope I made you curious about the new features and you like to give it a try :-) Next features we are working on are PostGIS support, tables and more projections of PROJ. Best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From dcalvelo at minag.gob.pe Tue Apr 15 11:47:04 2003 From: dcalvelo at minag.gob.pe (Daniel Calvelo Aros) Date: Tue, 15 Apr 2003 04:47:04 -0500 Subject: [Thuban-list] Re: translation of thuban Message-ID: <200304150947.h3F9l4Y04520@agrario.minag.gob.pe> This is very good news. Indeed, the infrstructure is already in place. I just finished some tweaking, and it works splendidly. You will find attached a .po file with the beginnings of a Spanish translation. It was extracted from the sources using cygwin's xgettext but I reckon pygettext is OK. All you have to do is comment out 'def _' in Thuban/__init__.py, erase every reference to it (there are about a dozen 'from Thuban import _' all around Lib/ Model/ and UI/) and modify (this is Win32) python.pyw to include, e.g. import gettext gettext.install('Thuban',os.path.join(thubandir,'Locale')) (after thubandir has been defined, of course) This assumes you created a Locale dir in the installation dir, with a Locale/es/LC_MESSAGES/Thuban.mo file. To produce Thuban.mo, run msgfmt (or msgfmt.py) on the attached es.po file (and rename it). The only problem I see is in keeping the .po files current with CVS. We might gather translators (yes I'm volunteering, for French and Spanish) around each release and send them merged .po files (gettext has tools to regenerate the translatable strings and merging them with current translations). The generation of .mo files should also be integrated in the build process of the installers. All this is release 0.2, not CVS, sorry about that. Daniel. PS. Could you CC: this to Francisco, please Jan-Oliver? > Hi, > > [ I am cc'ing this to the Thuban mailing list as it is of > general interest ] > > On Fri, Apr 11, 2003 at 06:12:21PM -0600, Francisco S G J?uregui wrote: > > We are a very small group of people currently involved in the development > > of free GIS tools supported by a government research institution in Mexico. > > > > We have come across your Thuban project, and have found it very appealing; > > your extensive use of Python has been particularly attractive to us. > > thats nice to hear :-) > > > With your permission we would like to prepare a translation of Thuban into > > Spanish, intended for use in Latin America. Of course we would also send > > you any bug reports and comments that might pop into our (largely > > untrained) minds. > > any translation efford is welcome! > > So far, we only made the first step towards real i18n support > and that is, we use a special function _() for any strings. > This function is eventually to be replaced by real gettext > functionality. Once this second step happened, it will be fairly > easy to add any translation. > > If you know about gettext functionality and how to use > it with python, your help would be very welcome to set this up. > If not, we'll have to see when we can afford the time to > do this ourselves (we are currently very busy working on further > projections, PostGIS-support and table management). > > Best > > Jan > -- > Jan-Oliver Wagner http://intevation.de/~jan/ > > Intevation GmbH http://intevation.de/ > FreeGIS http://freegis.org/ > > _______________________________________________ > Thuban-list mailing list > Thuban-list at intevation.de > https://intevation.de/mailman/listinfo/thuban-list > > -- Daniel Calvelo Aros -- -- Direcci?n General de Informaci?n Agraria -- Ministerio de Agricultura -- (51-1) 424-9001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 8417 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030415/03c0091d/attachment.exe From jan at intevation.de Tue Apr 15 12:15:51 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Tue, 15 Apr 2003 12:15:51 +0200 Subject: [Thuban-list] Re: translation of thuban In-Reply-To: <200304150947.h3F9l4Y04520@agrario.minag.gob.pe> References: <200304150947.h3F9l4Y04520@agrario.minag.gob.pe> Message-ID: <20030415101551.GB1377@intevation.de> On Tue, Apr 15, 2003 at 04:47:04AM -0500, Daniel Calvelo Aros wrote: > To produce Thuban.mo, run msgfmt (or msgfmt.py) on the attached es.po > file (and rename it). thanks for your interest and help. You've motivated us to add the es.po and translation functionality immediately to the CVS :-) > The only problem I see is in keeping the .po files current with CVS. We > might gather translators (yes I'm volunteering, for French and Spanish) > around each release and send them merged .po files (gettext has tools to > regenerate the translatable strings and merging them with current > translations). The generation of .mo files should also be integrated in > the build process of the installers. It would be great if you could take over the task for spanish and french. The easiest way to keep the stuff up-to-date is to update the po-file from the CVS and send us the cvs diff. We can then easily add the patch. For new Thuban releases we drop a note on this list so that the translators can update the po-files to have up-to-date translations included in the release. We'll do the german translation. So with spanish, french, german and english we will have already quite a nice i18n support for Thuban 0.3 :-) Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From bh at intevation.de Tue Apr 15 20:31:07 2003 From: bh at intevation.de (Bernhard Herzog) Date: 15 Apr 2003 20:31:07 +0200 Subject: [Thuban-list] Re: translation of thuban In-Reply-To: <20030415101551.GB1377@intevation.de> References: <200304150947.h3F9l4Y04520@agrario.minag.gob.pe> <20030415101551.GB1377@intevation.de> Message-ID: <6qhe8zk3ys.fsf@salmakis.intevation.de> Jan-Oliver Wagner writes: > On Tue, Apr 15, 2003 at 04:47:04AM -0500, Daniel Calvelo Aros wrote: > > To produce Thuban.mo, run msgfmt (or msgfmt.py) on the attached es.po > > file (and rename it). > > thanks for your interest and help. > You've motivated us to add the es.po and translation functionality immediately > to the CVS :-) It wasn't quite immediately, but it's in CVS now. There's a new subdirectory po/ to hold the translations (currently there's only Daniel's es.po) plus a Makefile and a README with info about how to manage the po files. The handling of the po/mo files is not very well integrated with the build system at the moment. You have to manually run the Makefile on some occasions, such as building a thuban.pot from the sources, updating existing .po files and building the mo files (more info in po/README). Furthermore, the Makefile only works on Unix-like systems and it needs gettext 0.11. 0.10.x may work but it will at least give you lots of warnigns because it doesn't really understand python syntax. Source distributions (created with setup.py sdist) will have a thuban.pot file and the mo-files so that building thuban from a source tarball doesn't require gettext, msgfmt etc. and a unix-environment. Finally, we've not removed the "from Thuban import _" imports. We explicitly bind a gettext method to _ in Thuban/__init__.py and do not use gettext.install. The reason is that Thuban can be used as a library to build other applications on top of (which we do in GREAT-ER) and a library should not modify the __builtin__ namespace otherwise it could interfere with the application which could also want to call gettext.install. Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From dcalvelo at minag.gob.pe Tue Apr 15 21:44:45 2003 From: dcalvelo at minag.gob.pe (Daniel Calvelo Aros) Date: Tue, 15 Apr 2003 14:44:45 -0500 Subject: [Thuban-list] Re: translation of thuban Message-ID: <200304151944.h3FJijn19254@agrario.minag.gob.pe> Bernhard Herzog writes: > Jan-Oliver Wagner writes: > > > thanks for your interest and help. > > You've motivated us to add the es.po and translation functionality immediately > > to the CVS :-) > > It wasn't quite immediately, but it's in CVS now. > > There's a new subdirectory po/ to hold the translations (currently > there's only Daniel's es.po) plus a Makefile and a README with info > about how to manage the po files. Ok. I will send the CVS-based version in a while, along with fr.po through the mailing list. Are the Mexican folks interested in contributing? If so, I'll start with French. > The handling of the po/mo files is not very well integrated with the > build system at the moment. You have to manually run the Makefile on > some occasions, such as building a thuban.pot from the sources, updating > existing .po files and building the mo files (more info in po/README). > > Furthermore, the Makefile only works on Unix-like systems and it needs > gettext 0.11. 0.10.x may work but it will at least give you lots of > warnigns because it doesn't really understand python syntax. > > Source distributions (created with setup.py sdist) will have a > thuban.pot file and the mo-files so that building thuban from a source > tarball doesn't require gettext, msgfmt etc. and a unix-environment. I did some search for integration of gettext with distutils but found nothing. Do you know if anybody is working on that (Martin von Loewis, maybe)? It would imply including pygettext and msgfmt.py into the standard library, I guess... > Finally, we've not removed the "from Thuban import _" imports. We > explicitly bind a gettext method to _ in Thuban/__init__.py and do not > use gettext.install. The reason is that Thuban can be used as a library > to build other applications on top of (which we do in GREAT-ER) and a > library should not modify the __builtin__ namespace otherwise it could > interfere with the application which could also want to call > gettext.install. Right. But isn't thuban.py-the-exe an application using Thuban-the-library as its main module? Or do you mean Thuban-the-library is Lib+Model, not UI? I agree with using only the '_' definition as in CVS now. BTW it seems you (well, the listmanager anyway) have not configured a Reply-To:Thuban-list at intevation.de. Is CC-ing the common way of using the list? (Just curious...) > Bernhard > > -- > Intevation GmbH http://intevation.de/ > Sketch http://sketch.sourceforge.net/ > MapIt! http://www.mapit.de/ > > _______________________________________________ > Thuban-list mailing list > Thuban-list at intevation.de > https://intevation.de/mailman/listinfo/thuban-list > > -- Daniel Calvelo Aros -- -- Direcci?n General de Informaci?n Agraria -- Ministerio de Agricultura -- (51-1) 424-9001 From jan at intevation.de Tue Apr 15 22:53:51 2003 From: jan at intevation.de (Jan-Oliver Wagner) Date: Tue, 15 Apr 2003 22:53:51 +0200 Subject: [Thuban-list] Re: translation of thuban In-Reply-To: <200304151944.h3FJijn19254@agrario.minag.gob.pe> References: <200304151944.h3FJijn19254@agrario.minag.gob.pe> Message-ID: <20030415205351.GA1771@intevation.de> On Tue, Apr 15, 2003 at 02:44:45PM -0500, Daniel Calvelo Aros wrote: > BTW it seems you (well, the listmanager anyway) have not configured a > Reply-To:Thuban-list at intevation.de. Is CC-ing the common way of using > the list? (Just curious...) I don't know your MUA (NeoMail), but for many other MUAs (I am using Mutt) there are various options to reply. List-Reply is one of them. The idea behind is to not mangle the E-Mail Header (ie. changing the Reply-To field) when send to the mailing list. This is a matter discussed quite intensive. I belong to the group who thinks that mangling of the Headers is a bad idea and that the MUA is responsible to do it right ;-) For the curious ones: You may want to read http://www.unicom.com/pw/reply-to-harmful.html and you will find pages arguing for the opposite. Best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From bh at intevation.de Wed Apr 16 12:09:30 2003 From: bh at intevation.de (Bernhard Herzog) Date: 16 Apr 2003 12:09:30 +0200 Subject: [Thuban-list] Re: translation of thuban In-Reply-To: <200304151944.h3FJijn19254@agrario.minag.gob.pe> References: <200304151944.h3FJijn19254@agrario.minag.gob.pe> Message-ID: <6qof36hhyd.fsf@salmakis.intevation.de> "Daniel Calvelo Aros" writes: > I did some search for integration of gettext with distutils but found > nothing. Do you know if anybody is working on that (Martin von Loewis, > maybe)? No. I googled a bit to and it seems that MvL is in favor of adding gettext to distutils but I've seen nothing to indicate that somebody is actually working on this. > It would imply including pygettext and msgfmt.py into the > standard library, I guess... That seems to be the best way to make sure that adding gettext support to distutils will be easy enough. I'll post something about this to Python's I18N-SIG mailing list. Maybe it's possible to get pygettext and msgfmt into the standard library before Python 2.3. > > The reason is that Thuban can be used as a library > > to build other applications on top of (which we do in GREAT-ER) and a > > library should not modify the __builtin__ namespace otherwise it could > > interfere with the application which could also want to call > > gettext.install. > > Right. But isn't thuban.py-the-exe an application using > Thuban-the-library as its main module? More or less. > Or do you mean Thuban-the-library is Lib+Model, not UI? The UI is part of the library. GREAT-ER (http://great-er.intevation.org/) for instance uses much of the code in UI too but among other things it replaces the menu almost completely with its own commands and it has quite a few great-er specific dialogs and even some special tools. Nevertheless it reuses most of the mainwindow, the canvas and most of the Thuban dialogs for projections, tables, etc. Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From dcalvelo at minag.gob.pe Sun Apr 20 13:06:46 2003 From: dcalvelo at minag.gob.pe (Daniel Calvelo Aros) Date: Sun, 20 Apr 2003 06:06:46 -0500 Subject: [Thuban-list] PO-files for FR and ES Message-ID: <200304201106.h3KB6kc25898@agrario.minag.gob.pe> Hi all. Please find attached po-files for Spanish and French, current with April 20th CVS. Jonathan, are you working on non-uniform classgens? I'd like to help in that part. If we could come up with something as usable as ArcGIS range definition helper (which uses variable-bin-width histograms to show user- and machine-defined ranges), I would have VERY strong arguments to introduce several users to Thuban... Cheers, Daniel. -- Daniel Calvelo Aros -- -- Direcci?n General de Informaci?n Agraria -- Ministerio de Agricultura -- (51-1) 424-9001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 17547 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030420/f739682e/attachment.exe -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 17505 bytes Desc: not available Url : http://www.intevation.de/pipermail/thuban-list/attachments/20030420/f739682e/attachment-0001.exe From jonathan at intevation.de Tue Apr 22 11:46:05 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 22 Apr 2003 11:46:05 +0200 Subject: [Thuban-list] PO-files for FR and ES In-Reply-To: <200304201106.h3KB6kc25898@agrario.minag.gob.pe> References: <200304201106.h3KB6kc25898@agrario.minag.gob.pe> Message-ID: <1051004765.27662.67.camel@reisen> On Sun, 2003-04-20 at 13:06, Daniel Calvelo Aros wrote: > Hi all. > > Please find attached po-files for Spanish and French, current with April > 20th CVS. > > Jonathan, are you working on non-uniform classgens? I'd like to help in > that part. If we could come up with something as usable as ArcGIS range > definition helper (which uses variable-bin-width histograms to show > user- and machine-defined ranges), I would have VERY strong arguments to > introduce several users to Thuban... I'm not working on that at the moment, but there has been some discussion about such features. I don't have the time to be implementing them myself at the moment, but if you want to start looking into it I can certainly answer any question you may have. The class generation code is in Thuban/UI/classgen.py. The main dialog is implemented with ClassGenDialog, and then each of the different generators is a seperate panel. Currently, there are only two: GenUniformPanel (for creating classes with equal interval groups) and GenUniquePanel (for creating classes with one value per group). The classes themselves are generated using the ClassGenerator class. You would need to implement a new panel and a new generator method and then add some code in ClassGenDialog to use them. --jonathan > > Cheers, > > Daniel. > > -- Daniel Calvelo Aros > -- > -- Direcci?n General de Informaci?n Agraria > -- Ministerio de Agricultura > -- (51-1) 424-9001 -- 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/20030422/8a7774f2/attachment.bin From bh at intevation.de Thu Apr 24 21:15:23 2003 From: bh at intevation.de (Bernhard Herzog) Date: 24 Apr 2003 21:15:23 +0200 Subject: [Thuban-list] PO-files for FR and ES References: <200304201106.h3KB6kc25898@agrario.minag.gob.pe> Message-ID: <6q8ytz4shg.fsf@salmakis.intevation.de> "Daniel Calvelo Aros" writes: > Hi all. > > Please find attached po-files for Spanish and French, current with April > 20th CVS. Thanks. They look fine mostly, except for some minor issues: In es.po there are 9 fuzzy entries. AFAICT, at least 2 of the fuzzy entries are actually wrong (could be because of a previous msgmerge) This one's clearly wrong as the translation doesn't have a %s: #: ../Thuban/Model/session.py:179 #, fuzzy, python-format msgid "Session: %s" msgstr "Guardar sesi?n como" This one's probably wrong #: ../Thuban/Model/session.py:185 #, fuzzy msgid "unnamed session" msgstr "&Guardar Sesi?n" And this one, too (stumbled about this accidentally :)): #: ../Thuban/UI/renderer.py:290 #, python-format msgid "Unhandled shape type %s" msgstr "El Tipo de Capa %s no es aceptado" It seems the spanish version says "The type of the layer %s is not accepted" or something like that. The %s is expanded to the shape type not the layer name. I'm not sure this should be translated at all, though. Ideally the user should never see this message. I've brought both up to date with current CVS (so now there are more untranslated and fuzzy entries of course :) ) and checked them in. Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/ From dcalvelo at minag.gob.pe Fri Apr 25 06:35:20 2003 From: dcalvelo at minag.gob.pe (Daniel Calvelo Aros) Date: Thu, 24 Apr 2003 23:35:20 -0500 Subject: [Thuban-list] PO-files for FR and ES Message-ID: <200304250435.h3P4ZKL24298@agrario.minag.gob.pe> > "Daniel Calvelo Aros" writes: > > > Hi all. > > > > Please find attached po-files for Spanish and French, current with April > > 20th CVS. > > Thanks. They look fine mostly, except for some minor issues: > > In es.po there are 9 fuzzy entries. AFAICT, at least 2 of the fuzzy > entries are actually wrong (could be because of a previous msgmerge) > > This one's clearly wrong as the translation doesn't have a %s: > > #: ../Thuban/Model/session.py:179 > #, fuzzy, python-format > msgid "Session: %s" > msgstr "Guardar sesi?n como" > > This one's probably wrong > > #: ../Thuban/Model/session.py:185 > #, fuzzy > msgid "unnamed session" > msgstr "&Guardar Sesi?n" Yup. This is merge-related. I changed some of the obvious problems, but did not re-check the whole. Sorry about that. I'm on it. > And this one, too (stumbled about this accidentally :)): > > #: ../Thuban/UI/renderer.py:290 > #, python-format > msgid "Unhandled shape type %s" > msgstr "El Tipo de Capa %s no es aceptado" > > It seems the spanish version says "The type of the layer %s is not > accepted" or something like that. The %s is expanded to the shape type > not the layer name. I'm not sure this should be translated at all, > though. Ideally the user should never see this message. The spanish version is translated rather as "The layer type %s..."; "the type of the layer" would be "El tipo de la capa...". I'm hopeful the message will never show up anyway. Spanish has these article-related subtleties which sometimes stumble across. Don't worry, as soon as we have some close non-developer users, the real quirks will show up. > I've brought both up to date with current CVS (so now there are more > untranslated and fuzzy entries of course :) ) and checked them in. Ok. As soon as the next release is scheduled, I'll send new (and checked) versions. Thanks! > Bernhard > > -- > Intevation GmbH http://intevation.de/ > Sketch http://sketch.sourceforge.net/ > MapIt! http://www.mapit.de/ -- Daniel Calvelo Aros -- -- Direcci?n General de Informaci?n Agraria -- Ministerio de Agricultura -- (51-1) 424-9001 From putler at commerce.ubc.ca Fri Apr 25 18:25:55 2003 From: putler at commerce.ubc.ca (Dan Putler) Date: Fri, 25 Apr 2003 09:25:55 -0700 Subject: [Thuban-list] How to build Thuban from CVS on a Win32 box Message-ID: <3EA96193.8090606@commerce.ubc.ca> Hi, What do I need to have available/installed to build Thuban from CVS on a Win32 box (Windows ME to be exact)? Ultimately, what I want to take a look at is the new docked legend tool and the new additions to classgen.py. It may be the case that all I need to do is update a few python modules to Thuban 0.2 rather than doing a complete rebuild. In any event, some advice on the best to proceed would be helpful. Dan -- _________________________________________ Dan Putler UBC Commerce Email: putler at commerce dot ubc dot ca Phone: 604-822-8329 From jonathan at intevation.de Fri Apr 25 19:32:55 2003 From: jonathan at intevation.de (Jonathan Coles) Date: 25 Apr 2003 19:32:55 +0200 Subject: [Thuban-list] How to build Thuban from CVS on a Win32 box In-Reply-To: <3EA96193.8090606@commerce.ubc.ca> References: <3EA96193.8090606@commerce.ubc.ca> Message-ID: <1051291975.27662.143.camel@reisen> Hi Dan, There have been quite a lot of changes since v0.2. The best thing to do would be to download the CVS tree and rebuild. Although we run Thuban on Windows 2000, Windows ME should work. I'm just going to reiterate what's on the download page first to make sure everything is covered. You'll need the packages for the binary release (python 2.2.1, and wxWindows 2.4 for Python 2.2). Under the source header for Windows 2000 you'll find the proj 4.4.5 library. You'll also need the MS compiler. Once you've pulled over the CVS tree there are four things you need to do: 1) open setup.py and edit line 84 to point wx_prefex to the location of your wxWindows installation. 2) edit extensions\thuban\wxproj.cpp. line 673 looks like this: #ifdef PJ_VERSION you'll need to add a line above that which reads #define PJ_VERSION 445 3) you should now build Thuban by running: python setup.py install_local 4) assuming this completed successfully, you need to copy proj.dll into the Lib/ directory. Now you should now be able to run Thuban! There are a few bugs at the moment, one of which is quite evident in the Legend. You must supply the file you want to open on the command line if you want the legend to display the information. This is because the messages needed to tell the legend to update when a new file is opened are not being sent. There are also some visual problems with the layout of the controls. This is namely due to differences between GTK and Windows and since we develop under GNU/Linux using GTK we don't always see the problems. You can file bugs that you find using the bug tracker. I hope you manage to get through that mess above. Hopefully, we'll be able to make it much easier in the future. If you have any problems, just let us know. However, since it's Friday evening here in Germany you may not get a response until Monday morning ;) Good Luck! --jonathan On Fri, 2003-04-25 at 18:25, Dan Putler wrote: > Hi, > > What do I need to have available/installed to build Thuban from CVS on a > Win32 box (Windows ME to be exact)? Ultimately, what I want to take a > look at is the new docked legend tool and the new additions to > classgen.py. It may be the case that all I need to do is update a few > python modules to Thuban 0.2 rather than doing a complete rebuild. In > any event, some advice on the best to proceed would be helpful. > > Dan -- 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/20030425/862bf631/attachment.bin From dcalvelo at minag.gob.pe Sat Apr 26 00:49:08 2003 From: dcalvelo at minag.gob.pe (Daniel Calvelo Aros) Date: Fri, 25 Apr 2003 17:49:08 -0500 Subject: [Thuban-list] How to build Thuban from CVS on a Win32 box Message-ID: <200304252249.h3PMn8519477@agrario.minag.gob.pe> Dan, I have had success plainly copying the Thuban/ directory from CVS onto the 0.2 installed Thuban/ directory. It might break something in the shapelib or wxPython interfaces, but I could try the classgen and stuff with no problems at all. Try. If it doesn?t work, go the compile way. HTH, Daniel. > Hi, > > What do I need to have available/installed to build Thuban from CVS on a > Win32 box (Windows ME to be exact)? Ultimately, what I want to take a > look at is the new docked legend tool and the new additions to > classgen.py. It may be the case that all I need to do is update a few > python modules to Thuban 0.2 rather than doing a complete rebuild. In > any event, some advice on the best to proceed would be helpful. > > Dan > -- > _________________________________________ > Dan Putler > UBC Commerce > Email: putler at commerce dot ubc dot ca > Phone: 604-822-8329 > > _______________________________________________ > Thuban-list mailing list > Thuban-list at intevation.de > https://intevation.de/mailman/listinfo/thuban-list > > -- Daniel Calvelo Aros -- -- Direcci?n General de Informaci?n Agraria -- Ministerio de Agricultura -- (51-1) 424-9001 From a.rottmann at gmx.at Tue Apr 29 21:29:50 2003 From: a.rottmann at gmx.at (Andreas Rottmann) Date: Tue, 29 Apr 2003 21:29:50 +0200 Subject: [Thuban-list] Started GD based renderer, suggestions Message-ID: <87u1chxftd.fsf@alice.rotty.yi.org> An embedded and charset-unspecified text was scrubbed... Name: GDRenderer.py Url: http://www.intevation.de/pipermail/thuban-list/attachments/20030429/1cda678d/GDRenderer.py