Sure; my major problem is with us getting halfway there and leaving 
users stranded.

If we can double back to the proposal for a moment ... we had the 
concept of a collection() method that would return an instance of  
Collection<Feature>.

There are two ways to do integration with the large geoapi model armed 
with such a method:
- have collection() return a org.opengis.feature.FeatureCollection
- make a wrapper around that collection that implements 
org.opengis.feature.FeatureCollection

Before you think I am insane here me out....

We still need to account for the functionality of a "join", that shows 
up as an "association" in a Feature. When doing a query we get back a 
org.geotools.feature.FeatureCollection that lets us have access to 
individual Features. When those Features have an association the result 
will be an org.opengis.feature.FeatureCollection - we will need to do a 
query into another table and get a Collection<Feature> back. At that 
point we can either use collection() or introduce a wrapper.

Cheers,
Jody

> Jody Garnett ha scritto:
>> And thus the parts start to come back together ...
>>> I think you have communicated your intention just fine... its just 
>>> that from my point of view while this seems like a very noble and 
>>> lofty goal i dont think its very practical. Anyways... my two cents.
>> I am in agreement with you; and if that is not our goal (as a 
>> project) then I would like to leave the word "FeatureCollection" out 
>> of the picture.
>>
>> I do happen to think ISO19107 FeatureColletion will be valuable - but 
>> if we do not have resources/mandate/will to implement this right now 
>> (or ever) then I would like us to do exactly that ... not implement 
>> geoapi FeatureCollection.
>
> +1000 on this one. But can we keep on calling it FeatureCollection?
> It would significantly reduce the client code breakage.
>
> Cheers
> Andrea


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to