[postgis] How to use EXPRESSION string?

s8854617 s8854617 at yahoo.com.tw
Wed Jan 16 01:21:08 PST 2002


Dear Sir:
  When I try to use mapserver+postgis, there is a problem that
I can't resolve. my table is following:
        post_map
        aa48 char(4)
        aa49 char(4)
        shape geometry
        aa08 char(1)
I want to draw my map like following:

 (my map file)
..  
  DATA "shape from post_map"
  STATUS DEFAULT
  TYPE POLYGON
  CLASS
    EXPRESSION ([aa08] = 'F')
    COLOR 0 255 255
    OUTLINECOLOR 0 255 255
  END      
....
Is the "EXPRESSION ([aa08] = 'F') correct?
My mapserver can't handle this judgement, could anybody tell
me how to use EXPRESSION with string comparision?


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Sponsored by VeriSign - The Value of Trust
When building an e-commerce site, you want to start with a
secure foundation. Learn how with VeriSign's FREE Guide.
http://us.click.yahoo.com/oCuuSA/XdiDAA/yigFAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the postgis-users mailing list