Annotation entities Image annotation

Copyright © 2006. Open Geospatial Consortium, Inc. All Rights Reserved. 19 Figure 3 — Annotation entity photo callout

7.6.3 Annotation and feature styling

The gml:defaultStyle property can be used to style the corresponding geometry contained within the pointer, content and annotates properties. Examples of each of these annotation entities are given in the remainder of this clause. An example encoding is given for the PointOfInterest annotation using a Label annotation entity as follows: PointOfInterest gml:id = POI001 gml:defaultStyle -- Style overlays blue line symbol on top of Annotationpointer value -- gml:Style gml:featureStyle gml:FeatureStyle featureType = PointOfInterest queryGrammar = xpath gml:featureConstraint gml:id=S5S2S0307301844141 gml:featureConstrai nt gml:geometryStyle gml:GeometryStyle geometryProperty = pointer geometryType = gml:LineString gml:symbol symbolType = svg svg style = stroke:blue;stroke-width:5 gml:symbol gml:style stroke:blue;stroke-width:5 gml:style gml:GeometryStyle gml:geometryStyle gml:FeatureStyle gml:featureStyle gml:Style gml:defaultStyle gml:defaultStyle 20 Copyright © 2006. Open Geospatial Consortium, Inc. All Rights Reserved. -- Style overlays point star symbol on annotates property value -- gml:Style gml:featureStyle gml:FeatureStyle featureType = PointOfInterest queryGrammar = xpath gml:geometryStyle gml:GeometryStyle geometryProperty = annotates geometryType = gml:Point gml:symbol symbolType = svg xlink:href = http:symbology.comstars.svgStar01 gml:GeometryStyle gml:geometryStyle gml:FeatureStyle gml:featureStyle gml:Style gml:defaultStyle pointer gml:LineString gml:id = L001 gml:pos 12 34 gml:pos gml:pos 45 36 gml:pos gml:pos 78 34 gml:pos gml:LineString pointer content Label gml:defaultStyle -- Style creates text label -- gml:Style gml:featureStyle gml:FeatureStyle featureType = Label queryGrammar = xpath gml:labelStyle gml:LabelStyle gml:style font-family:Verdana;font- size:18 gml:style gml:label gml:LabelExpression .xima:textContent gml:LabelExpression gml:label gml:LabelStyle gml:labelStyle gml:FeatureStyle gml:featureStyle gml:Style gml:defaultStyle xima:textContent My House xima:textContent xima:anchorPoint gml:Point gml:id = Pt001 srsName = crs.gml1234 gml:pos 0 10 gml:pos gml:Point xima:anchorPoint Label content annotates gml:Point gml:id = Pt001 srsName = crs.gml1234 gml:pos 30 30 gml:pos gml:Point annotates