Mapfile Expression NULL value

Emmanuel BELO emmanuel.belo at MICROGIS.CH
Mon Mar 6 10:11:13 EST 2006


Hi,

how do you handle NULL values from you database in your mapfile's 
expression?

Example (NULL value for some tx_femme):

  CLASS
     EXPRESSION (([tx_femme] > 8) AND ([tx_femme] <= 15))
     NAME "8 - 15"
     STYLE
       COLOR 255 217 0
     END
   END

I've tried:

EXPRESSION ('[tx_femme]' = 'NULL')

EXPRESSION /_always_false_/

Best regards,

Emmanuel BELO

-------------- next part --------------
A non-text attachment was scrubbed...
Name: emmanuel.belo.vcf
Type: text/x-vcard
Size: 337 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060306/825905ef/emmanuel.belo.vcf


More information about the mapserver-users mailing list