RFC: ClassGroupPattern

Jan-Oliver Wagner jan at intevation.de
Wed Jan 26 07:11:24 CET 2005


On Tue, Jan 25, 2005 at 06:45:48PM +0100, Frank Koormann wrote:
> I just hacked in a new classification into Thuban I needed for a
> specific task: Instead of a single value or a range (valid for numbers)
> a regexp pattern can be applied (with re.match()). 
> This might be helpful if geo-objects have to be grouped on text fields. 
> So far I only added a new ClassGroup and hacked Thuban/Model/classification.py,
> Thuban/Model/load.py and the DTD. One needs a handcrafted .thuban
> session file to make use of the patterns.
> 
> What do others think about such a classification feature? Do you need
> this in real life applications? Any suggestions about how this Classification
> could be generated by "Generate Class"? 

can you send the patches and the handcrafted file (I guess it is for
iceland) ?

	Jan
-- 
Jan-Oliver Wagner               http://intevation.de/~jan/

Intevation GmbH                      http://intevation.de/
FreeGIS                                http://freegis.org/




More information about the Thuban-devel mailing list

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