From nym at invisiblenet.net Tue Jun 18 18:20:09 2002 From: nym at invisiblenet.net (nym) Date: Tue, 18 Jun 2002 11:20:09 -0500 Subject: [Thuban-list] linking wxproj Message-ID: <20020618162011.5BB791B6F6@mail.intevation.de> This is a blocker to running thuban on my system. [localhost:~/thuban] nym% python thuban.py 09:14:30: Debug: /usr/local/lib/libwx_macd-2.3.rsrc Traceback (most recent call last): File "thuban.py", line 20, in ? import Thuban.UI.main File "Thuban/UI/main.py", line 41, in ? from application import ThubanApplication File "Thuban/UI/application.py", line 26, in ? import view File "Thuban/UI/view.py", line 23, in ? from wxproj import point_in_polygon_shape, shape_centroid ImportError: Failure linking new module i have wxproj.so in /usr/local/thuban/Lib/ btw. Sincerely, Nym From nym at invisiblenet.net Thu Jun 20 01:33:06 2002 From: nym at invisiblenet.net (nym) Date: Wed, 19 Jun 2002 18:33:06 -0500 Subject: [Thuban-list] Thuban & PostGIS Message-ID: <20020619233312.9109E1B6D9@mail.intevation.de> I intend to extend Thuban to utilize the geographical database, PostGIS, which relies on the PostgreSQL db. I wish to implement this so that I can make geospatial markers that are fixed dynamic, or time based (for events). Right now I have Thuban running on my Mac OS X laptop, and I am setting up other machines to use this software. If you are interested in this, as it seems, I'd like to use your cvs to make any modifications, otherwise I'll establish my own cvs server. Also, am I right in thinking that Thuban only supports vector based files? It would be nice to be able to include raster based images such as arial photos, but not necessary for what I wish to do. I hope you want to collaborate on this, because I'm pretty excited about the implications of these features. Sincerely, Tom Longson (Nym) From jan at intevation.de Thu Jun 20 09:08:51 2002 From: jan at intevation.de (Jan-Oliver Wagner) Date: Thu, 20 Jun 2002 09:08:51 +0200 Subject: [Thuban-list] linking wxproj In-Reply-To: <20020618162011.5BB791B6F6@mail.intevation.de> References: <20020618162011.5BB791B6F6@mail.intevation.de> Message-ID: <20020620070851.GA655@intevation.de> Hi, from your later email I read that you are actually on a MacOS X system which we don't have available for testing. However, you seem to have solved the issue. If so, can you leave a note here for the archives on what the problem was? On Tue, Jun 18, 2002 at 11:20:09AM -0500, nym wrote: > This is a blocker to running thuban on my system. > > [localhost:~/thuban] nym% python thuban.py > 09:14:30: Debug: /usr/local/lib/libwx_macd-2.3.rsrc > Traceback (most recent call last): > File "thuban.py", line 20, in ? > import Thuban.UI.main > File "Thuban/UI/main.py", line 41, in ? > from application import ThubanApplication > File "Thuban/UI/application.py", line 26, in ? > import view > File "Thuban/UI/view.py", line 23, in ? > from wxproj import point_in_polygon_shape, shape_centroid > ImportError: Failure linking new module > > i have wxproj.so in /usr/local/thuban/Lib/ btw. Best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jan at intevation.de Thu Jun 20 09:30:58 2002 From: jan at intevation.de (Jan-Oliver Wagner) Date: Thu, 20 Jun 2002 09:30:58 +0200 Subject: [Thuban-list] Thuban & PostGIS In-Reply-To: <20020619233312.9109E1B6D9@mail.intevation.de> References: <20020619233312.9109E1B6D9@mail.intevation.de> Message-ID: <20020620073058.GB655@intevation.de> Hi Tom, On Wed, Jun 19, 2002 at 06:33:06PM -0500, nym wrote: > I intend to extend Thuban to utilize the geographical database, > PostGIS, which relies on the PostgreSQL db. I wish to implement > this so that I can make geospatial markers that are fixed dynamic, or > time based (for events). Right now I have Thuban running on my > Mac OS X laptop, and I am setting up other machines to use this > software. If you are interested in this, as it seems, I'd like to use your > cvs to make any modifications, otherwise I'll establish my own cvs > server. I very much apreciate your plan to add PostGIS support to Thuban (it is also on our wishlist :-). It really does not make sense to maintain a separate CVS as we are continuously adding improvements and it would mean a lot work to synchronize. We will provide you with an cvs write access. However, this means that we all have to coordinate changes so that there is always a running thuban and that changes do not interfere. This mailing list is the best place for it. > Also, am I right in thinking that Thuban only supports vector based > files? It would be nice to be able to include raster based images > such as arial photos, but not necessary for what I wish to do. Supporting images is also on our roadmap :-) > I hope you want to collaborate on this, because I'm pretty excited > about the implications of these features. I am happy to have additional people on board! All the best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jan at intevation.de Thu Jun 20 17:34:05 2002 From: jan at intevation.de (Jan-Oliver Wagner) Date: Thu, 20 Jun 2002 17:34:05 +0200 Subject: [Thuban-list] Further work on extensibility Message-ID: <20020620153405.GA1247@intevation.de> Hi, I just checked in some further experimental code to handle extensions for Thuban. I introduced a new type Extension of which can many be part of a Scenario. An extension can have a list of Objects which are to be defined by your application-ontop-thuban. The sample code will eventually show up as part of GREAT-ER, the first Thuban-extending Application. Remind that the concept has not yet settled and is pontially subject to change. Discussion is welcome of course. Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From nym at invisiblenet.net Fri Jun 21 01:42:04 2002 From: nym at invisiblenet.net (nym) Date: Thu, 20 Jun 2002 18:42:04 -0500 Subject: [Thuban-list] Further work on extensibility Message-ID: <20020620234208.45A9B1B6D9@mail.intevation.de> Hey, I'm not sure if this is the case, but is this intended to help extend thuban to allow objects from an application-ontop-thuban, such as postgis server connectivity? I'm trying to pick up as much as I can as quickly as possible on this, but I'm still a bit fuzzy. I'm in the process of going through the code to understand it all. At the moment I'm imagining a layer that supports dynamic objects, such as data from postgis. Obviously there are certain design issues at play here, and I'd like to know where this would best be implemented. For example, what about refreshing? Is this something we should do just on specific layers, or does it have to be done on the whole map? Sincerely, Tom -----Original Message----- From: Jan-Oliver Wagner To: Thuban Mailing List Date: Thu, 20 Jun 2002 17:34:05 +0200 Subject: [Thuban-list] Further work on extensibility > Hi, > > I just checked in some further experimental code to handle > extensions for Thuban. I introduced a new type Extension > of which can many be part of a Scenario. An extension > can have a list of Objects which are to be defined by your > application-ontop-thuban. > > The sample code will eventually show up as part of GREAT-ER, > the first Thuban-extending Application. > > Remind that the concept has not yet settled and is pontially > subject to change. Discussion is welcome of course. > > 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 From jan at intevation.de Fri Jun 21 14:41:08 2002 From: jan at intevation.de (Jan-Oliver Wagner) Date: Fri, 21 Jun 2002 14:41:08 +0200 Subject: [Thuban-list] Further work on extensibility In-Reply-To: <20020620234208.45A9B1B6D9@mail.intevation.de> References: <20020620234208.45A9B1B6D9@mail.intevation.de> Message-ID: <20020621124108.GA1331@intevation.de> Hi Tom, On Thu, Jun 20, 2002 at 06:42:04PM -0500, nym wrote: > I'm not sure if this is the case, but is this intended to help extend > thuban to allow objects from an application-ontop-thuban, such as > postgis server connectivity? no, the application GREAT-ER I mentioned as an example is a simulation system for chemicals in rivers and its functions should be kept separate from Thuban since they are not directly related to GIS. Features like a PostGIS connection should be an integral part of Thuban. > I'm trying to pick up as much as I can as > quickly as possible on this, but I'm still a bit fuzzy. I'm in the process > of going through the code to understand it all. At the moment I'm > imagining a layer that supports dynamic objects, such as data from > postgis. Obviously there are certain design issues at play here, and > I'd like to know where this would best be implemented. We are not in favour of big-design-upfront and therefore Thuban only abstracts where it was really needed. Further abstraction should follow once it is clear what needs to be incorporated. For adding PostGIS I suggest you make a copy of Model/layer.py:Layer and make it a PostGIS Layer. We can later discuss on how a base class should look like. We'll learn a lot comparing the PostGIS and Shapefile Layer. Furthermore you will need to make modifications to UI/renderer.py. Some abstraction would make sense there, so feel free to implement something to adapt to the PostGIS layer. You might need to sligthly modifiy UI/view.py, but this module is already quite generic. > For example, > what about refreshing? Is this something we should do just on > specific layers, or does it have to be done on the whole map? Thuban has a message system where information on changes are forwarded. Please have a look at it. Hope the hints help. Please don't hesitate to discuss your implementation ideas here on this list. All the best Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/