CGI – GeoSciML Use Case 2 & 3 Delivering GetFeatureInfo and GetFeature into HTML, GML and GeoSciML WFS & Filters
Scope Map server SLDs geoserver Database Vocabularies WFSX WMS WFS Gsml Resource Service GetMap WFSX HTML GetFeatureInfo GeoSciML GML
WFSX : Schema mapping => HTML geoserver WMS GetFeatureInfo WFSX HTML
WFSX : Schema mapping => GeoSciML geoserver WMS GetFeatureInfo WFSX GeoSciML
WFS-X Architecture : a Web Feature Service with Transformation Client WFS-X Servlet DB with mapping descriptions geoserver WMS Schema mapping Schema translation Content translation WFS geoserver WMS Mapping descriptions WFS A WFS-X connected to various WFS with 3 components: one for schema mapping with many operators, one for schema translation (of elements name), one for content translation (text values)
WFS-X: Exemple of Schema Mapping <Server> defines which WMS or WFS to call in order to obtain INPUT which will be parsed by WFSX <Name> is part of the url to call WFSX. http://...../WFSX/html_lvl1_wms?service=wms&request=GetFeatureInfo&srs=...
WFS-X: Exemple of Schema Mapping, to map HTML input Mapping Output
WFSX and Vocabularies Operator GetUrnByTerm: parameters : Pattern to find value to translate Vocabulary to use Url service to call Operating of GetUrnByTerm operator : A Java program uses a Get http Request on the service URL, retrieves and parses XML response, then translates into GeoSciML
WFSX and Filters When WFSX detects a Filter parameter: using Mapping, it translates PropertyName into GML pattern, if a GetUrnByTerm operator is found, it translates urn given into Filter, then translated Filter is sent to WFS getFeature. <ogc:Filter xmlns:ogc="http://ogc.org" xmlns:gml="http://www.opengis.net/gml"> <ogc:PropertyIsEqualTo> <ogc:PropertyName> gsml:GeologicUnit/gsml:classifier/gsml:ControlledConcept/gsml:identifier </ogc:PropertyName> <ogc:Literal> urn:cgi:classifier:CGI:SimpleLithology:1986:amphibolite </ogc:Literal> </ogc:PropertyIsEqualTo> </ogc:Filter> GML pattern: brgm:lithologie amphibolite