Opened 19 years ago

Last modified 19 years ago

#900 closed defect (fixed)

cannot pass WHERE clause to VRT datasource

Reported by: bartvde@… Owned by: warmerdam
Priority: high Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description

This is necessary for searching through Mapserver WFS on OGR VRT layers.

In the case of a VRT driver, I think the where clause is interpreted by OGR SQL
instead of being passed on to the underlying driver. Perhaps I need to look into
this as well. 

VRT drivers do not have a way of passing on SQL WHERE clauses (attribute filters).

Change History (2)

comment:1 by warmerdam, 19 years ago

Bart, 

I have committed changes that seem to work as far as passing the SQL 
attribute filter down to the underlying driver.  I think this will resolve
your problem when backed by an RDBMS based OGR driver. 

Let me know if the problem persists.

comment:2 by bartvde@…, 19 years ago

Frank, as already mentioned by e-mail this works perfectly now. Thanks. Setting
status to fixed.
Note: See TracTickets for help on using tickets.