Use Case 1 : Envitia Server
96
Copyright © 2015 Open Geospatial Consortium.
http:OntologyServerRESTcommunitytypeName The JSON –LD response contained a property called OGCSLDRule with a collection of
portrayalRule, each one containing a body fragments to be included in the returned SLD with correct header.
{ id: http:1-dot- env072015.appspot.comresourcesymbolAviationLightRunwayElementType,
type: [ j.1:Symbol,
owl:NamedIndividual, foaf:Document
], audience: http:1-dot-
env072015.appspot.comresourcecommunityAviationLight, description: RunwayElementType_LIGHT symbol,
publisher: ICAO, portrayalRule: [
http:1-dot- env072015.appspot.comresourceportrayalruleAviationLightRunwayClosedLight,
http:1-dot- env072015.appspot.comresourceportrayalruleAviationLightRunwayOpenLight
], label: RunwayElementType_LIGHT,
context: { label: http:www.w3.org200001rdf-schemalabel,
description: http:purl.orgdctermsdescription, publisher: http:purl.orgdctermspublisher,
audience: { id: http:purl.orgdctermsaudience,
type: id },
portrayalRule: { id: http:www.opengis.netontportrayalsymbolportrayalRule,
type: id },
rdfs: http:www.w3.org200001rdf-schema, geosparql: http:www.opengis.netontgeosparql,
geo: http:www.opengis.netontgeosparql, foaf: http:xmlns.comfoaf0.1,
symbol: http:www.opengis.netontportrayalsymbol, dct: http:purl.orgdcterms,
owl: http:www.w3.org200207owl, xsd: http:www.w3.org2001XMLSchema,
community: http:www.opengis.netontcommunity,
Copyright © 2015 Open Geospatial Consortium.
97 j.1: http:www.opengis.netontportrayalsymbol,
rdf: http:www.w3.org19990222-rdf-syntax-ns, j.0: http:purl.orgdcterms,
nhd: http:www.opengis.netonttestbed11hydronhd, skos: http:www.w3.org200402skoscore
} }
{ graph: [{
id: _:b0, type: j.1:OGCSLDRule,
body: Rule xmlns= http: www.opengis.netse xmlns:se=http:www.opengis.netse
xmlns:gml=http:www.opengis.netgml xmlns:xsd=http:www.w3.org2001XMLSchema
xmlns:ogc=http:www.opengis.netogc xmlns:xlink=http:www.w3.org1999xlink xmlns:xsi=http:www.w3.org2001XMLSchema-instance
NameRunwayClosedLightName ogc:Filter ogc:PropertyIsEqualTo ogc:PropertyName xmlns:ns0=http:www.aixm.aeroschema5.1
ns0:timeSlicens0:RunwayElementTimeSlicens0:availabilityns0:ManoeuvringAreaAvai labilityns0:operationalStatusogc:PropertyName
ogc:LiteralCLOSEDogc:Literal ogc:PropertyIsEqualTo ogc:Filter MinScaleDenominator0.0MinScaleDenominator
MaxScaleDenominatorINFMaxScaleDenominator PolygonSymbolizer Geometry ogc:PropertyName
xmlns:ns0=http:www.aixm.aeroschema5.1ns0:timeSlicens0:RunwayElementTime Sliceogc:PropertyName Geometry Fill GraphicFill Graphic Mark
OnlineResource xlink:href=http:1-dot- env072015.appspot.comsymbolstorerunway_closed_light.svg
Formatimagesvg+xmlFormat Mark Size16Size Graphic GraphicFill Fill Stroke SvgParameter name=stroke-opacity
ogc:Literal1.0ogc:Literal SvgParameter SvgParameter name=stroke-width ogc:Literal1.0ogc:Literal SvgParameter SvgParameter name=stroke
ogc:Literal1328BBogc:Literal SvgParameter Stroke PolygonSymbolizer Rule
}, { id: _:b1,
type: j.1:PortrayalRuleCondition, hasOGCSLD: _:b0
}, { id: http:1-dot-
env072015.appspot.comresourceportrayalruleAviationLightRunwayClosedLight,
98
Copyright © 2015 Open Geospatial Consortium.
type: [ j.1:PortrayalRule,
owl:NamedIndividual ],
description: RunwayClosedLight Rule, featureType: RunwayElementType,
hasRuleCondition: _:b1 }],
context: { body: http:www.opengis.netontportrayalsymbolbody,
description: http:purl.orgdctermsdescription, featureType: http:www.opengis.netontportrayalsymbolfeatureType,
hasRuleCondition: { id: http:www.opengis.netontportrayalsymbolhasRuleCondition,
type: id },
hasOGCSLD: { id: http:www.opengis.netontportrayalsymbolhasOGCSLD,
type: id },
rdfs: http:www.w3.org200001rdf-schema, geosparql: http:www.opengis.netontgeosparql,
geo: http:www.opengis.netontgeosparql, foaf: http:xmlns.comfoaf0.1,
symbol: http:www.opengis.netontportrayalsymbol, dct: http:purl.orgdcterms,
owl: http:www.w3.org200207owl, xsd: http:www.w3.org2001XMLSchema,
community: http:www.opengis.netontcommunity, j.1: http:www.opengis.netontportrayalsymbol,
rdf: http:www.w3.org19990222-rdf-syntax-ns, j.0: http:purl.orgdcterms,
nhd: http:www.opengis.netonttestbed11hydronhd, skos: http:www.w3.org200402skoscore
} }
The SLD produced is the following: sld:StyledLayerDescriptor version=1.1.0 xmlns=http:www.opengis.netse
xmlns:se=http:www.opengis.netse xmlns:xlink=http:www.w3.org1999xlink xmlns:sld=http:www.opengis.netsld xmlns:ogc=http:www.opengis.netogc
xmlns:gml=http:www.opengis.netgml sld:NamedLayer
Copyright © 2015 Open Geospatial Consortium.
99 se:Name RunwayElementType se:Name
sld:UserStyle FeatureTypeStyle
Rule xmlns:xsd=http:www.w3.org2001XMLSchema xmlns:xsi=http:www.w3.org2001XMLSchema-instance
Name RunwayClosedLight Name ogc:Filter
ogc:PropertyIsEqualTo ogc:PropertyName xmlns:ns0=http:www.aixm.aeroschema5.1
ns0:timeSlicens0:RunwayElementTimeSlicens0:availabilityns0:ManoeuvringAreaAvai labilityns0:operationalStatus ogc:PropertyName
ogc:Literal CLOSED ogc:Literal ogc:PropertyIsEqualTo
ogc:Filter MinScaleDenominator 0.0 MinScaleDenominator
MaxScaleDenominator INF MaxScaleDenominator PolygonSymbolizer
Geometry ogc:PropertyName xmlns:ns0=http:www.aixm.aeroschema5.1
ns0:timeSlicens0:RunwayElementTimeSlice ogc:PropertyName Geometry
Fill GraphicFill
Graphic Mark
OnlineResource xlink:href=http:1-dot- env072015.appspot.comsymbolstorerunway_closed_light.svg
Format imagesvg+xml Format Mark
Size 16 Size Graphic
GraphicFill Fill
Stroke SvgParameter name=stroke-opacity
ogc:Literal 1.0 ogc:Literal SvgParameter
SvgParameter name=stroke-width ogc:Literal 1.0 ogc:Literal
SvgParameter SvgParameter name=stroke
ogc:Literal 1328BB ogc:Literal SvgParameter
Stroke PolygonSymbolizer
Rule
100
Copyright © 2015 Open Geospatial Consortium.
Rule xmlns:xsd=http:www.w3.org2001XMLSchema xmlns:xsi=http:www.w3.org2001XMLSchema-instance
Name RunwayOpenLight Name ElseFilter
MinScaleDenominator 0.0 MinScaleDenominator MaxScaleDenominator INF MaxScaleDenominator
PolygonSymbolizer Geometry
ogc:PropertyName xmlns:ns0=http:www.aixm.aeroschema5.1 ns0:timeSlicens0:RunwayElementTimeSlice ogc:PropertyName
Geometry Fill
SvgParameter name=fill-opacity ogc:Literal 1.0 ogc:Literal
SvgParameter SvgParameter name=fill 888888 SvgParameter
Fill Stroke
SvgParameter name=stroke-opacity ogc:Literal 1.0 ogc:Literal
SvgParameter SvgParameter name=stroke 605A4E SvgParameter
SvgParameter name=stroke-width ogc:Literal 1 ogc:Literal
SvgParameter Stroke
PolygonSymbolizer TextSymbolizer
Geometry ogc:PropertyName xmlns:ns0=http:www.aixm.aeroschema5.1
ns0:timeSlicens0:RunwayElementTimeSlice ogc:PropertyName Geometry
Label ogc:Function name=valueOf
ogc:PropertyName xmlns:ns0=http:www.aixm.aeroschema5.1 ns0:timeSlicens0:RunwayElementTimeSlicens0:associatedRunway
ogc:PropertyName ogc:Literal
ogc:PropertyName xmlns:ns0=http:www.aixm.aeroschema5.1 ns0:timeSlicens0:RunwayTimeSlicens0:designator ogc:PropertyName
ogc:Literal ogc:Function
Label Fill
SvgParameter name=fill-opacity
Copyright © 2015 Open Geospatial Consortium.
101 ogc:Literal 1.0 ogc:Literal
SvgParameter SvgParameter name=fill
ogc:Literal FFFFFF ogc:Literal SvgParameter
Fill TextSymbolizer
Rule FeatureTypeStyle
sld:UserStyle sld:NamedLayer
sld:StyledLayerDescriptor