Re: [Geotools-devel] Improving parsing GML files without a reference to the schema

2016-01-31 Thread Justin Deoliveira
On Sun, Jan 31, 2016 at 2:37 AM Andrea Aime wrote: > On Fri, Jan 29, 2016 at 4:00 PM, Justin Deoliveira > wrote: > >> These could be added as new methods to the GML facade class: >>> SimpleFeatureType GML.decodeSchema(InputStream in) >>> SimpleFeatureCollection GML.decodeFeatureCollection(InputS

Re: [Geotools-devel] Java 8 Streams for building filters

2016-01-31 Thread Andrea Aime
On Fri, Jan 29, 2016 at 2:10 AM, Kevin Smith wrote: > This can then be used to gather up streams of filters that have been > processed using map and the like into aggregating filters like And and > Or > > Filter filter = names.stream() > .map(ff::literal) >

Re: [Geotools-devel] Improving parsing GML files without a reference to the schema

2016-01-31 Thread Andrea Aime
On Fri, Jan 29, 2016 at 4:00 PM, Justin Deoliveira wrote: > These could be added as new methods to the GML facade class: >> SimpleFeatureType GML.decodeSchema(InputStream in) >> SimpleFeatureCollection GML.decodeFeatureCollection(InputStream in) >> >> I wonder if you could handle both the scan on