[mapserver-users] hide .map contents

Pietro Giannini pgiannini at bytewise.it
Thu Feb 12 01:49:42 PST 2009


Hi Greg.

1) No. You can only
    - use the FILTER at layer level, or
    - have multiple .ovf files and pass their name (eg CONNECTION 
%filename%), or
    - use mapscript to flush the query in the .ovf file (this means to 
rethink the whole application...).
2) Please post the map file.

ciao ........ pg

Greg Luker ha scritto:
> Hi mapservers-users,
>
> Thanks Steve W, Pietro, and Andreas for your help!
>
> I have got around some of the problem (MapServer error messages and 
> MySQL passwords visible in browser View/Source) by moving the OGRVRT 
> MySQL info from inline in the .map file into an external .ovf file 
> (Pietro's >1024 characters problem seems right), but two problems remain.
>
> 1) I originally abandoned external .ovf file because I can't pass 
> variables into it like I can when inline (eg can't do 
> (s.site_num_previous_surveys >= %myvarn%) in external .ovf). Is there 
> a way to use variables in .ovf file?
>
> 2) I am still getting an error in View/Source:
> <br><!--getString(): Symbol definition error. Parsing error near 
> (DD):(line 677)-->
> I've tried finding this problem in SYMBOL-related commands in the .map 
> file, but no luck. Any ideas?
>
> (I can send .map file if that helps)
>
> Thanks,
> Greg Luker.
> Australia.
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E




More information about the MapServer-users mailing list