Hi, for the parametrized sql views thing we have two possible mechanisms. Reusing the env function just like in SLD parameter substitution. Pros: - it reuses the only param substitution mechanism we already have - easy to code up Cons: - if you're not already familiar with SLD param substitution mixing filter functions and data access sounds a bit odd - it sets up a thread local that needs to be cleaned afterwards
Passing the params as query hint, whose value will be a Map from param name to param value. Pros: - it's there where you'd expect it to be, in the Query Cons: - requires a bit more coding Opinions? I'm ok with both avenues, I guess Christian prefers the second. Votes please :-) Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
