On Thu, May 9, 2013 at 5:28 PM, Justin Deoliveira <jdeol...@opengeo.org>wrote:

> Read over the proposal. Looks nice, this will be great to have.
>
> One question that came up while reading through the proposal was
> GranuleSource/Store looks a whole lot like FeatureSource/FeatureStore. Was
> it considered to simply model granules as Feature objects, and use the
> existing interfaces. Apologies if this was already discussed and I missed
> it.
>

Nope, it was not discussed in public, but we had a good deal of discussion
between me, Daniele and Simone about it.
The main reason for rolling a similar interface is that FeatureSource is
quite a bit larger, and we wanted to make sure implementing it
was as easy as possible: notable missing stuff is support for listeners,
query capabilities, access to a data store, various overloaded
methods for getFeature, and hints support.

Also, the granule source has a dispose method for cleanups that
FeatureSource does not have.

Cheers
Andrea


-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to