Re: [Geotools-devel] Having fun implemeting sql function encoding for postgis

2011-05-31 Thread Justin Deoliveira
On Tue, May 31, 2011 at 3:22 AM, Andrea Aime wrote: > On Tue, May 31, 2011 at 4:08 AM, Justin Deoliveira > wrote: > >> Databases often support POSIX regular expression syntax, but a pure > >> java version that is stricly posix does not exist afaik. > >> For this case we could have a custom store

Re: [Geotools-devel] Having fun implemeting sql function encoding for postgis

2011-05-31 Thread Andrea Aime
On Tue, May 31, 2011 at 4:08 AM, Justin Deoliveira wrote: >> Databases often support POSIX regular expression syntax, but a pure >> java version that is stricly posix does not exist afaik. >> For this case we could have a custom store parameter asking the >> code to blindly encode the regexp as is

Re: [Geotools-devel] Having fun implemeting sql function encoding for postgis

2011-05-30 Thread Niels
Sounds excellent, Andrea! Good work. On 29/05/11 17:06, Andrea Aime wrote: Hi, during the weekend I've been cooking a patch to implement sql encoding of some filter functions for PostGIS. I found out it's a really tricky business, harder than I thought it would have been. (warning, long mail) T

Re: [Geotools-devel] Having fun implemeting sql function encoding for postgis

2011-05-30 Thread Justin Deoliveira
Wow, this all looks great Andrea. I don't really have much to add, the patch looks pretty complete to me and all the design choices you made make sense to me. Some random comments inline. On Sun, May 29, 2011 at 3:06 AM, Andrea Aime wrote: > Hi, > during the weekend I've been cooking a patch to i