Re: [Geotools-devel] ContentFeatureStore for CSV tututorial

2011-05-12 Thread lee-verizon
I thought of another way to do it that confines the fix to CSVFeatureWriter and does not involve any changes to FilteringFeatureWriter. Much cleaner, IMO. Still need to do remove and add... Lee On 5/12/2011 8:59 AM, lee-verizon wrote: > ok, I came up with something that seems to work - in > F

Re: [Geotools-devel] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Jody Garnett
Cool; if you can indicate which tasks need volunteers it will help sort things out. Perhaps when you remove the KVP example. It also occurs to me that CQL / ECQL added some support for matchCase; I did not pay attention to the details but hopefully they can follow a similar solution to work wit

Re: [Geotools-devel] [ExternalEmail] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Ben Caradoc-Davies
+1. On 12/05/11 12:25, Niels wrote: > http://docs.codehaus.org/display/GEOTOOLS/Support+Multi-Valued+Attributes+in+Filter+Comparison+Operators > > Open for review now. > > -- > Niels Charlier > > Software Engineer > CSIRO Earth Science and Resource Engineering > Phone: +61 8 6436 8914 > > Australi

Re: [Geotools-devel] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Niels
The idea of the Map was in case other properties are added in the future, that the filterfactory interface doesn't have to change anymore. But by popular demand, I will change it. The proposal is updated now with all your remarks.. On 12/05/11 22:06, Justin Deoliveira wrote: I don't have reall

Re: [Geotools-devel] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Niels
Hi Jody, Yes I would love it if others were able step in and help with this. The only thing I currently need for the short term is step (1). Currently in app-schema everyone is used to the 'any' behaviour as that is what has previously been supported, and that is in the short run the only thin

Re: [Geotools-devel] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Niels
Hi Andrea, Thanks for your reply. To respond to your questions/remarks. 1. Yes, XML parsers will need to be updated too, that will be one of the last steps. We were currently only thinking of providing the back-end support. I will add it to the to-do list though. 2. Only methods should be ad

Re: [Geotools-devel] GeoTools 2.7.1 Released

2011-05-12 Thread Michael Bedward
Nice one Justin - thanks very much. Michael On 13 May 2011 00:42, Justin Deoliveira wrote: > The GeoTools community is happy to announce the release of 2.7.1: >   http://geotoolsnews.blogspot.com/2011/05/geotools-271-released.html > Thanks for using GeoTools! > -- > The GeoTools Team > -

Re: [Geotools-devel] CSV tutorial with ContentDataStore

2011-05-12 Thread Jody Garnett
I usually just run the tests that failed in maven; However you can tight click on the 'test' folder in eclipse and run JUnit tests (it will run all the tests in the folder) -- Jody Garnett On Friday, 13 May 2011 at 10:15 AM, lee-verizon wrote: > Yeah, I figured out the 'mvn install'. But for

Re: [Geotools-devel] CSV tutorial with ContentDataStore

2011-05-12 Thread lee-verizon
Yeah, I figured out the 'mvn install'. But for running tests in eclipse, I don't see how to 'run all tests' within eclipse. Lee On 5/12/2011 3:42 PM, Jody Garnett wrote: It it uses the jars in ~/.m2/repository To "install' your jars (for gt-data or gt-main) go into those directories and say

Re: [Geotools-devel] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Jody Garnett
Niels I know you don't have a mandate to do all that work; do you want to break the tasks section up to show what is needed short term for your deliverable; in addition to these wider changes to api / parser / docs. -- Jody Garnett On Friday, 13 May 2011 at 12:06 AM, Justin Deoliveira wrote:

Re: [Geotools-devel] CSV tutorial with ContentDataStore

2011-05-12 Thread Jody Garnett
It it uses the jars in ~/.m2/repository To "install' your jars (for gt-data or gt-main) go into those directories and say "mvn install". Also if you have loaded everything into eclipse then when you run the tests from eclipse it will use your local edits. -- Jody Garnett On Friday, 13 May 20

Re: [Geotools-devel] ContentFeatureStore for CSV tututorial

2011-05-12 Thread lee-verizon
ok, I came up with something that seems to work - in FilteringFeatureWriter>hasNext(), it is doing this: SimpleFeature peek; while (writer.hasNext()) { peek = writer.next(); if (filter.evaluate(peek)) { next = peek; ret

Re: [Geotools-devel] Proposal: promote app-schema modules to extension

2011-05-12 Thread Ian Turton
I'm +1 on this after hearing this too. Ian On 12 May 2011 04:55, Andrea Aime wrote: > On Thu, May 12, 2011 at 1:55 AM,   wrote: >>>I was under the impression that your project is nearing end and at the >>>project end you would be pulled off to other tasks... maybe I'm wrong. >> >> You aren't wr

Re: [Geotools-devel] CSV tutorial with ContentDataStore

2011-05-12 Thread lee-verizon
Another maven/build question: When I go to project gt-jdbc-h2 at a command prompt and run, say, mvn test, does that use any local edits I've made to, say, gt-data or gt-main? Or does it strictly use the latest jar files for all its dependencies? How do I run a build/test so that it *does* use m

[Geotools-devel] GeoTools 2.7.1 Released

2011-05-12 Thread Justin Deoliveira
The GeoTools community is happy to announce the release of 2.7.1: http://geotoolsnews.blogspot.com/2011/05/geotools-271-released.html Thanks for using GeoTools! -- The GeoTools Team -- Achieve unprecedented app perfor

Re: [Geotools-devel] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Justin Deoliveira
I don't have really anything to add past Andreas feedback. The proposal looks good but I echo Andreas statements to only apply the collection wrappers in cases where one of the sides of the filter is already a collection. As for the new method on filter factory I agree just be explicit and add a ne

Re: [Geotools-devel] *updated* proposal on multi-valued attributes in filter comparisons

2011-05-12 Thread Andrea Aime
On Thu, May 12, 2011 at 6:25 AM, Niels wrote: > http://docs.codehaus.org/display/GEOTOOLS/Support+Multi-Valued+Attributes+in+Filter+Comparison+Operators I don't have the Filter 2.0 specification handy but afaik you'll also have to update the OGC interfaces for those filters to add the matchAction

Re: [Geotools-devel] why is concat not supported in prefilters?

2011-05-12 Thread Niels
On 12/05/11 16:49, Andrea Aime wrote: On Thu, May 12, 2011 at 4:17 AM, Niels wrote: I noticed that whenever there is a concat in an expression of your filter in a query, that filter is applied as a post-filter because geotools can't translate it to a where clause. But why don't SQL dialects lik

Re: [Geotools-devel] Proposal: promote app-schema modules to extension

2011-05-12 Thread Andrea Aime
On Thu, May 12, 2011 at 1:55 AM, wrote: >>I was under the impression that your project is nearing end and at the >>project end you would be pulled off to other tasks... maybe I'm wrong. > > You aren't wrong, the major projects are all ending so you won't see quite as > much activity as before t

Re: [Geotools-devel] why is concat not supported in prefilters?

2011-05-12 Thread Andrea Aime
On Thu, May 12, 2011 at 4:17 AM, Niels wrote: > I noticed that whenever there is a concat in an expression of your filter in > a query, that filter is applied as a post-filter because geotools can't > translate it to a where clause. > But why don't SQL dialects like oracle support concat? Surely i

[Geotools-devel] [jira] Created: (GEOT-3583) feature property accessor generates multiple times the same value for simple features & types

2011-05-12 Thread Niels Charlier (JIRA)
feature property accessor generates multiple times the same value for simple features & types - Key: GEOT-3583 URL: http://jira.codehaus.org/browse/GEOT-3583