[mapserver-users] post to be accepted

Eichner, Andreas - SID Andreas.Eichner at sid.sachsen.de
Sun May 25 00:44:49 PDT 2014


Have you set MODE=ITEMNQUERY? To me it seems you haven't and MapServer tries to use QSTRING for runtime substitution which it isn't configured for.

HTH


Von: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org]" im Auftrag von "mathias cunault [mathias.cunault at inrap.fr]

Gesendet: Samstag, 24. Mai 2014 17:38

An: mapserver-users at lists.osgeo.org

Betreff: [mapserver-users] post to be accepted





hello, 



(beginner with mapserver 6.4.2) 

Despite researchs on the forum, i did not find answers to my question. 



I cant perform an itemquery. 

I read that a validation block has to be created in LAYER (mapfile), it looks like : 



VALIDATION 

                "numope" "[a-z]+" 

END 



I set qlayer, qitem and querystring in template and, but i get : 

 mapserv(): Web application error. Parameter 'qstring' value fails to validate. msValidateParameter(): Regular expression error. Parameter pattern validation failed. 



it means that my regular exp is wrong or that at least 1 value in the field numope doesn't fit this exp ? 

thx



And the attribute in validation has to appear in a classe of the layer or not ? 



Thx 



-- 

Mathias Cunault

chargé d’opération et de recherche

Inrap Tours - 148 av. Maginot

37000 TOURS

06 32 05 98 96

mathias.cunault at inrap.fr

www.inrap.fr

abonnez-vous à la lettre d'information de l'Inrap : 
http://www.inrap.fr/newsletter.php








More information about the mapserver-users mailing list