RFC: ClassGroupPattern
Jan-Oliver Wagner
jan at intevation.de
Wed Jan 26 13:37:02 CET 2005
On Wed, Jan 26, 2005 at 11:16:13AM +0100, Frank Koormann wrote:
> * Jan-Oliver Wagner <jan at intevation.de> [050126 07:11]:
> > 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()).
> >
> > can you send the patches and the handcrafted file (I guess it is for
> > iceland) ?
>
> No, the Thuban iceland sample layers aren't the ones I usually work with ;)
> However, I have prepared a sample based on iceland: Group the cultural
> landmarks by CPTLABEL: A-M and N-Z. Search for "clpattern" in the file.
>
> I attached the session file and the patch (now including also
> Thuban/Model/save.py)
thanks.
Double-clicking on the legend for the cultural landmarks results in:
An unhandled exception occurred:
(please report to http://thuban.intevation.org/bugtracker.html)
| Traceback (most recent call last):
| File
| "/vol1/jan/thuban/thuban-classpattern-patch/Thuban/UI/classifier.py",
| line 418, in GetRowLabelValue
| assert False # shouldn't get here
| AssertionError
Choosing "Proceed" raises this error again and again.
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)