[mapserver-users] hide .map contents

Greg Luker gluker at scu.edu.au
Wed Feb 11 22:42:56 EST 2009


Hi Robert,

Thanks for the info! I see you're using a FILTER 
in the .map file. I'll check into that. My sample 
"WHERE" clause is in the MySQL SELECT statement 
inside the .ovf file, it doesn't work in there.

At 11:44 AM 12/02/2009, SansonR wrote:
>Mapserver is correctly passing where conditions 
>containing in-line variables to an external .ovf 
>for me. I am using Mapserver 5.2 as in ms4w. My .ovf uses an ODBC datasource.
>Here is part of a layer definition from my mapfile:
>  LAYER
>   NAME "main_gates"
>   GROUP "FMS"
>   CONNECTION "./main_gates.ovf"
>   CONNECTIONTYPE OGR
>   DATA "main_gates"
>   FILTER "WHERE farm_id = 'úrmid%'"

Thanks,
Greg.


Greg Luker
GIS Lab Manager, Southern Cross University
Lismore, AUSTRALIA.
gluker at scu.edu.au
phone 61 2 66203026





More information about the mapserver-users mailing list