[mapserver-users] two values in runtime-substitution Filter vs. processing native_filter

Jörg Thomsen (WhereGroup) joerg.thomsen at wheregroup.com
Thu Oct 31 01:31:38 PDT 2019


Good morning everyone,

we built an application which uses a runtime substitution for the filter
string. And we found a different behavior between (the old) Filter and
the native_processing filter if two values are parsed.

the request http://....?..&key=vaule1,value2
results to
'value1','value2' with the old FILTER () and to
'value1,value2'when using PROCESSING 'NATIVE_FILTER

We have to use the PROCESSING 'NATIVE_FILTER, but need as result
'value1','value2', because we want to use it in a sql-query like:
value in ('value1','value2').

First question:
has anyone an idea how to handle this? We could request
http://....?..&key=value1','value2
but that's no nice solution.

Second question: is it the wanted behavior or perhaps a bug?

Jörg

-- 

***************************
Where2B Konferenz 2019
12. Dezember 2019 in Bonn
where2b-conference.com
***************************

Jörg Thomsen
WhereGroup GmbH
Gillweg 3
14193 Berlin
Germany

Fon: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11	

joerg.thomsen at wheregroup.com
www.wheregroup.com

Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885

-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com



More information about the MapServer-users mailing list