RFC: ClassGroupPattern
Frank Koormann
frank.koormann at intevation.de
Wed Jan 26 16:45:12 CET 2005
Hi,
* Bernhard Reiter <bernhard at intevation.de> [050126 16:20]:
> 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()).
> >
> > What do others think about such a classification feature? Do you need
> > this in real life applications?
>
> Yes, I think it can be useful.
> It might drag a lot of resources, but that is worth the trouble.
Might be. I havn't profiled so far if the re.match() is more expensive
than the full string comparison we have already in Thuban.
> > Any suggestions about how this Classification
> > could be generated by "Generate Class"?
>
> If you give one pattern, we could also define:
> no string and the opposite of the pattern.
> That gives us three classes, not too bad.
Interesting.
Thanks for your comments.
--
Frank Koormann <frank.koormann at intevation.de>
Professional Service around Free Software (http://intevation.net/)
FreeGIS Project (http://freegis.org/)
-------------- 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-devel/attachments/20050126/0f9acdd8/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)