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.
[email protected]
phone 61 2 66203026



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to