Ticket #2817 (closed defect: fixed)
PostGIS Expression bug
| Reported by: | paalkr | Owned by: | pramsey |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | PostGIS Interface | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | sdlime |
Description
The new PostGIS support introduced a bug when using CLASSITEM and EXPRESSION. String comparison does not work, se the example below:
Does NOT work:
LAYER
...
CLASSITEM "maxhoyde"
...
CLASS
NAME "test"
EXPRESSION "600"
...
END
END
Using RegEx? instead WORKS:
LAYER
...
CLASSITEM "maxhoyde"
...
CLASS
NAME "test"
EXPRESSION /600/
...
END
END
Using logical expression WORKS:
LAYER
...
#CLASSITEM "maxhoyde"
...
CLASS
NAME "test"
EXPRESSION ([makshoyde] == 600)
...
END
END
Change History
Note: See
TracTickets for help on using
tickets.
