Jody Garnett wrote:
> So here is a solid recommendation for Ben:
> - Add a FeaturCollection.getDescriptor() to capture this information

I have created this Jira issue and am working on a patch:
http://jira.codehaus.org/browse/GEOT-2385

I have a few remarks:

(1) Should this method return an AttributeDescriptor or a 
PropertyDescriptor? I have never seen an AssociationDescriptor 
instantiated in GeoTools. Jody earlier described this PropertyDescriptor 
as being an association. Which do you recommend.

(2) I will patch all existing implementations to return null, unless it 
is obvious to me what they should return. Later I will patch GeoServer 
GML3OutputFormat to use the getDescriptor() name if it is not null.

(3) Anyone got a pithy description of what this method returns? I am 
leaning towards:
"Return the property descriptor that describes the content of the 
collection, or null if not known."

Kind regards,

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer, CSIRO Exploration and Mining
Australian Resources Research Centre
26 Dick Perry Ave, Kensington WA 6151, Australia

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to