[mapserver-users] RE: 5.4 beta 3 - GetFeatureInfo /FILTER problems

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Mar 12 17:41:15 EDT 2009


Probably a result of some of the PostGIS driver work that was done for 5.4. A bug would be
wise I think. Make sure to assign to the PostGIS component.

Steve

>>> On 3/12/2009 at 4:00 PM, in message <49B977F2.1010301 at hostgis.com>, Gregor at
HostGIS <gregor at hostgis.com> wrote:
> Jennifer Shanks wrote:
>> FILTER "(access_cod = 'Restricted Access' or access_cod = 'Open Access')"
> 
> I suggested the parens as disambiguation, when I saw this in 
> PostgreSQL's query log.
> 
> WHERE code = 'Restricted' or code = 'Open' and gid = 12345
> 
> As such, her own FILTER clause seems just fine but when combined with 
> MapServer's behind-the-work an ambiguous clause was generated. Would it 
> be appropriate to open a ticket on this, to have the PostGIS driver 
> automatically place the statement in parens in order to prevent such 
> "MapServer-induced ambiguity" ?



More information about the mapserver-users mailing list