PortrayalRuleSet PortrayalRule Style Ontology

26 Copyright © 2015 Open Geospatial Consortium. … :ems.incident.geophysical.lahar-portrayal-rule , :ems.incident.meteorological-portrayal-rule , :ems.incident.meteorological.stormSurge-portrayal-rule , :ems.incident.aviation-portrayal-rule , :ems.incident.hazardousMaterial.radiologicalHazard-portrayal-rule , :ems.incident.crime.bomb-portrayal-rule .

9.3.3 PortrayalRule

A PortrayalRule defines a rule that associates a feature type feature:FeatureType to a symbol symbol:Symbol satisfying a certain condition PortrayalRuleCondition in a given context PortrayalContext. Table 4 summarizes its properties. Table 4 PortrayalRule properties Name Definition Type Multiplicity dct:title Multilingual human readable name for the PortrayalRule. string 0..n one per language dct:description Multilingual human readable description for the PortrayalRule. string 0..n one per language featureType The featureType associated with this PortrayalRule feature:FeatureType 0..n portrayalContext The context of application of the PortrayalRule PortrayalContext 0..n hasCondition The conditions that needs to be satisfied by the rule PortrayalRuleCondition 0..n symbol The symbol associated with the rule symbol:Symbol 1 The listing below shows an example of PortrayalRule for Windchill. The PortrayalRule applied on the ems:EMSIncident featureType and associates the EMS symbol for Windchill defined by the URL: http:www.opengis.nettestbed11cciemssymbolsems.incident.temperature.windChill- symbol Copyright © 2015 Open Geospatial Consortium. 27 :ems.incident.temperature.windChill-portrayal-rule a style:PortrayalRule ; dct:description Portrayal rule for incident type ems.incident.temperature.windChill ; dct:title Wind Chill incident portrayal rule ; style:featureType ems:EMSIncident ; style:hasRuleCondition :ems.incident.temperature.windChill-portrayal-rule-condition; style:symbol http:www.opengis.nettestbed11cciemssymbolsems.incident.temperature.windChill -symbol .

9.3.4 PortrayalRuleCondition

The PortrayalRuleCondition defines the condition in which a portrayal rule applies for a given feature. The PortrayalRuleCondition can be encoded using multiple encodings. Table 5 summarizes the properties of PortrayalRuleCondition Table 5 PortrayalRuleCondition Properties Name Definition Type Multipl icity featureProperty The feature property affected by this condition FeatureProperty 0..n hasSPARQLCondition SPARQL Encoding of the PortrayalRuleCondition SPARQLCondition 0..1 hasRIFCondition RIF Encoding of the PortrayalRuleCondition RIFCondition 0..1 hasOGCFilterCondition OGC Filter encoding of the PortrayalRuleCondition OGCFilter 0..1 The following example demonstrates the encoding of the portrayal rule condition for the Portrayal rule for the symbol Windchill. The condition applies on the feature property ems:incidentType. If the value of this property is equals to http:www.opengis.nettaxonomyemsems.incident.temperature.windChill then the rule is applicable. 28 Copyright © 2015 Open Geospatial Consortium. :ems.incident.temperature.windChill-portrayal-rule-condition a style:PortrayalRuleCondition ; style:featureProperty ems:incidentType ;