Open tbonfort opened 12 years ago
Author: assefa Date: 2006/03/28 - 19:37
I have updated the setting so the an And is used if the layer has already a
filter of an expression type. This was added for regular layers 9all beside
postgis).
I will add the postgis next.
Author: assefa Date: 2007/07/27 - 20:59 this Patch was sent and tested by Denis Nadeau dnadeau@pop600.gsfc.nasa.gov
mappostgis.c:2061 replace : if(lp->filteritem) free(lp->filteritem); lp->filteritem = strdup(timefield); if (&lp->filter) freeExpression(&lp->filter);
for: if (&lp->filter) { /* if the filter is set and it's a string type, concatenate it with the time. If not just free it */ if (lp->filter.type == MS_EXPRESSION) { strcat(buffer, "("); strcat(buffer, lp->filter.string); strcat(buffer, ") and "); } else { freeExpression(&lp->filter); } }
Patch applied in dd1632a3235072af45c98f1f5c8de160a7d718fb (r6412) Denis please give it a try from svn and if all goes well I will close the bug
Author: dnadeau Date: 2007/07/27 - 22:31 I have tested the patch and everything works fine.
I have tried FILTER and TIME without problem.
Good job.
Author: assefa Date: 2007/07/27 - 23:23 Thnaks for the tests. closing bug.
Reporter: assefa Date: 2005/03/01 - 16:18