Map Filters

Randy How rhow at I3.COM
Thu Aug 24 17:46:29 PDT 2006


Greetings,
 
I've been having unpredictable luck generating a map from MapServer 4.9
using "map filters" in the query string.  I don't get an error, there's no
image produced or filename in the response.

Is there something wrong in the layer definition?
Is there something about the URL, specifically the syntax of the map filter
parameter?

Layer in Mapfile
LAYER
 NAME "product"
 CONNECTIONTYPE postgis
 CONNECTION "user=uuuu password=xxxx dbname=ddddd host=m.m.m.m"
 DATA "geometry from coverage"
 STATUS DEFAULT
 TYPE POLYGON
 
 PROJECTION
  "init=epsg:4326"
 END

 CLASS 
    OUTLINECOLOR 255 0 0 
    SYMBOL 1
    SIZE 3
    
    LABEL
      TYPE bitmap
      SIZE large
      POSITION cc
      COLOR 0 153 0
    END
 END
 
END
 
Works
http://development-1/development/webapplication/datadoors_1/MapServer2/mapse
rv.exe?
map=C:\Inetpub\wwwroot\development\webapplication\datadoors_1\ms_data\produc
t_coverage.map&
mode=browse&mapext=-128.10565 22.73085 -63.60935 50.65215

Does not work
http://development-1/development/webapplication/datadoors_1/MapServer2/mapse
rv.exe?
map=C:\Inetpub\wwwroot\development\webapplication\datadoors_1\ms_data\produc
t_coverage.map&
mode=browse&mapext=-128.10565 22.73085 -63.60935 50.65215&
map_product_filter=product_id=1


Thanks
________________________________________________ 
Randy How 

Geospatial Applications Developer
Rhow [at] i3.com 



More information about the MapServer-users mailing list