[Cartoweb-users] Mapfile Expression NULL value

Emmanuel BELO emmanuel.belo at microgis.ch
Mon Mar 6 09:53:15 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

Doing nothing leads to this error message:

Failure

class:   SoapFaultWrapper
message:   Mapserver error: Error in msEvalExpression: Failed to parse 
expression

Error in msyyparse(): syntax error

Error in msEvalExpression: Failed to parse expression

Error in msyyparse(): syntax error

Error in msEvalExpression: Failed to parse expression

Error in msyyparse(): syntax error

Error in msEvalExpression: Failed to parse expression

Error in msyyparse(): syntax error

Error in msEvalExpression: Failed to parse expression

Error in msyyparse(): syntax error



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.maptools.org/pipermail/cartoweb-users/attachments/20060306/a0056228/emmanuel.belo.vcf


More information about the Cartoweb-users mailing list