[auscope-geosciml] Another WFS gap

Boisvert, Eric Eric.Boisvert at RNCan-NRCan.gc.ca
Wed Sep 8 13:39:00 EDT 2010


Another interesting gap.

Say I want to expose gsml:MappedFeature as a feature for my GWML WFS service (I subtype GeologicUnit and added HydrogeologicUnit but keep MappedFeature as-is). 
The client can't  know of all the GWML feature that can be pointed to by gsml:specification because 
 
a) the feature is exposed as gsml:MappedFeature from the GeoSciML schema only
b) a DescribeFeatureType will return gsml:MappedFeature in the context of GeoSciML (who does not know about extensions such as EarthResourceML and GWML)

therefore, from the GetCapabilities and DescribeFeatureType, a client application cannot help the user to build a query that involves any types from the extended domain. 

The only way out I can think of would be to "force" schemaLocation entries to point to extensions schemas when the xsd for MappedFeature is returned from DescribeFeatureType. I'm not sure what typical client application behaviour is expected though.  I know some parser simply ignore namespace declaration if no tag actually uses it, the hack is to force a dummy attribute (unusedns:dummy="x") 
at the top of document. 

Shall this be another best practice / profile topic ?

================================================================
Eric Boisvert
Spécialiste TI-GI / IT-IM specialist
Eric.Boisvert at rncan.gc.ca, 418-654-3705, facsimile/télécopieur 
418-654-2615
490, rue de la Couronne, Québec (Québec), G1K 9A9
490, rue de la Couronne, Quebec, Quebec, G1K 9A9

Laboratoire de cartographie numérique et de photogrammétrie (LCNP)
Digital Cartography and Photogrammetry Laboratory (DCPL)
Commission géologique du Canada (Québec) / Geological Survey of Canada (Quebec)
Ressources naturelles Canada / Natural Resources Canada
Gouvernement du Canada / Government of Canada
http://cgc.rncan.gc.ca/org/quebec
http://cgc.rncan.gc.ca/dir/index_f.php?id=4186 / http://cgc.rncan.gc.ca/dir/index_e.php?id=4186




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/geosciml/attachments/20100908/1fd6a0d5/attachment.htm>


More information about the GeoSciML mailing list