Ben Caradoc-Davies wrote:
> Is there any documentation to ease GML3 transition from 2.4.x to trunk? 
> I am attempting to port community-schemas from 2.4.x to trunk. I have 
> fixed (I hope) many of the GeoAPI changes, but am running into problems 
> with GML3 binding changes.
> 
> There is nothing on GML3 in
> http://docs.codehaus.org/display/GEOTOOLS/Upgrade+to+2.5
> and I could not find any other proposals describing GML3 changes. Did I 
> miss one?
> 
> I have couple of GML3 questions:
> 
> (1) gml:name (a CodeType) was bound to Object in 2.4.x, and on trunk is 
> a ComplexTypeImpl and bound to Collection! These are specified in 
> GMLSchema. Is this correct, or am I missing something?
Yes, this is the default behaviour for complex types. However this is 
just a default... the intent is to change the type as you need it. So 
int his case we can change CodeType to be bound to the object we need... 
perhaps Name makes sense? Basically nothing that I know of on trunk 
relies on CodeType so we are free to change it as we see fit.

> 
> (2) AbstractFeatureTypeBinding has getType that returns SimpleFeature. 
> On 2.4.x this was org.geotools.feature.Feature. Does this mean that GML3 
> on trunk cannot be used for complex features?
Indeed, the gml parsing only works against SimpleFeature, as with most 
other stuff on trunk. We may be able to change the binding to just 
Feature and have it continue to work... but i would have to check and 
run some tests to be sure.

> 
> There are a lot of other changes, such as GML being an interface in 
> 2.4.x and a class extending XSD on trunk. Are these documented anywhere? 
> Are these changes because of EMF changes or changes in the GeoAPI 
> feature model, or both?
> 
Hmm... unfortunately not. I believe the gml support moved to supported 
only on 2.5.x, so i did not spend much time documenting changes from 
2.4.x. Apologies for that.. mostly just due to lack of time.

-Justin

> Kind regards,
> 


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to