Andrew, that is quite interesting. However, I am not in a position to 
work through all the ramifications of this change at this time. 
app-schema relies on the treatment of geometries (and geoemtry 
properties) as simple types that are encoded as for simple features.

Rini, do you have any insights for Andrew?

Justin?

Kind regards,
Ben.

On 05/03/12 10:13, Andrew Betlehem wrote:
> Hi Ben,
>
> The code changes we made to get GML objects, notably gml:PointPropertyType, 
> to work for a WFS-G (Gazetteer) GetFeature response were commenting out lines 
> 439-445 of the class org.geoserver.wfs.xml. FeatureTypeSchemaBuilder which is 
> part of the WFS jar.
>
> The effect of including this section of code made any GML types such as 
> gml:PointPropertyType which was a complex type to become a simple type. Thus 
> GML types are not properly included in the output of the WFS-G GetFeature 
> response.
>
> The effect of excluding this section of code preserved all GML types such as 
> gml:PointPropertytype which remained as a complex type. Thus GML types are 
> properly included in the output of the WFS-G GetFeature response.
>
> This effect is what we were after. There may be other side-effect that we're 
> ignorant about.
>
> In our workspace, we include targeted schemas to describe each feature type; 
> i.e. workspaces\ iso19112\SI_LocationInstance\SI_LocationInstance\schema.xsd. 
>  This leads to a better response (it still needs improvement) for a WFS-G 
> DescribeFeatureType request.
>
> Without these targeted schemas the problem is not apparent.
>
> We still have problems with another secondary schema, 
> http://www.isotc211.org/2005/gmdsf1, that is not being included (parsed). It 
> is a small schema that defines the CI_ResponsibleParty element required for a 
> WFS-G.
>
> Do you have pointers about where to begin altering the code to have the 
> secondary schema being parsed or changing our configuration?
>
> Regards,
>
> Andrew

-- 
Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to