[Mapserver-users] PostGIS and CLass - Expression Help
Andrew.Simpson at ssc.nasa.gov
Tue May 4 09:19:14 EDT 2004
Probably not the problem, but your CLASSITEM is "item_x" and your EXPRESSION
From: Till Adams [mailto:adams at terrestris.de]
Sent: Tuesday, May 04, 2004 4:57 AM
Subject: [Mapserver-users] PostGIS and CLass - Expression Help
I'm stuck with making an expression on a postgis datasource (code see
I get no error but also no labels at all - and there are labels, I'm
sure. I tried everything with quotations, capitalisation in my
expression, etc. but still get no results :-(.
CONNECTION "user=admin dbname=datasrc host=localhost"
DATA "the_geom from (select * from view_x) as foo using unique item
# viewx is a stored query in my database
EXPRESSION ([item_y] > 1301) # /^13/
COLOR 0 0 0
When making sth. like 'EXPRESSION /^13/' I get results and see labels on
my map, but that's not enough for us. Maybe there's a problem because
the data does not result from a postgres table directly?
Any ideas, hints, similar problems out there?
Thanks very much in advance!
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
More information about the mapserver-users