On trunk, FeatureImpl getBounds() cannot work because GMLSchema has no 
(GeoAPI) geometric types.

In 2.4, GMLSchema uses DefaultAttributeTypeFactory to create attribute 
types that are gt2 Geometric* types if they have JTS Geometry bindings. 
On trunk, types that formerly had their geometric nature encoded in 
their Java type are now often (Complex)AttributeTypeImpl. This causes 
them to be ignored by FeatureImpl.getBounds, which is only interested in 
Geometry{Type,Attribute,Descriptor} and I never see these if I am using 
GMLSchema.

SimpleFeatureImpl avoids this problem by cheating and looking for a JTS 
Geometry in its values.

Is my understanding correct, or am I missing something?

Is this a bug in GMLSchema, or a problem in FeatureImpl?

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to