[mapserver-users] queryByAttribute phpmapscript BUG...

Walter Lorenzetti lorenzetti at gis3w.it
Thu Apr 2 08:49:36 EDT 2009


Hi all,

I've a problem with mapserver 5.0.3... on Ubuntu 8.10...
on Ubuntu 8.04 with mapserver 5.0.0 the phpmapscrit method
queryByAttribute works fine on shape file with query like this:

"[NAME_FIELD]" =~ /(S|s)(T|t)(R|r)(I|i)(N|n)(G|g)/

but with 5.0.3 version... I obstain this in php error_log file:

02-Apr-2009 14:28:08] PHP Warning:  [MapServer Error]: msyyparse():
syntax error
[02-Apr-2009 14:28:08] PHP Warning:  [MapServer Error]:
msEvalExpression: Failed to parse expression:   ( "Lucca" =~
/(L|l)(U|u)(C|c)(C|c)(A|a)/ )

and I obtain no results...

Someone have any odea about?
Is a possible bug?

Thanks in advance
Walter



-- 

Walter Lorenzetti
email: lorenzetti at gis3w.it
skype: aiki74
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0583 926684
Via di Tofori 123a 55010, Camigliano-S.Gemma Lucca
Italy





More information about the mapserver-users mailing list