Element | <ArcByRadius> | |
Description | An arc generated based on the given parameters.� Child elements of | |
Example | • Arc is in a reverse direction • Radius is based on the arc distance from the centre of the light • Degree bearings for the start and end of the arc is determined from the SECTR1 and SECTR2 attribute values • Line style is read from NLTSLACAR feature code. | |
DCLIGHTS.xsl | <xsl:element name="ArcByRadius"> <xsl:attribute name="reverseBearing">true</xsl:attribute> <xsl:attribute name="radius"> <xsl:value-of select="sector/arcdis"/> </xsl:attribute> <xsl:attribute name="sectorStart"> <xsl:value-of select="SECTR1"/> </xsl:attribute> <xsl:attribute name="sectorEnd"> <xsl:value-of select="SECTR2"/> </xsl:attribute> <xsl:element name="LineStyle"> <xsl:attribute name="colour">Black</xsl:attribute> <xsl:attribute name="width">0</xsl:attribute> <xsl:attribute name="styleRef">NALTSLARCAR</xsl:attribute> </xsl:element> </xsl:element> | |
Instruction Set | <ArcByRadius reverseBearing="true" radius="40" sectorStart="225" sectorEnd="325"> <LineStyle styleRef="NALTSLARCAR"/> <Distance attribute="arcdis" max="40"/> </ArcByRadius> | |
Attributes | ||
Name | Type | Description |
radius | Double | Status: Mandatory Radius in distance units of |
sectorStart | Double | Status: Optional. Degree bearing for start of arc based on |
sectorEnd | Double | Status: Optional. Degree bearing for end of arc. Default is 0. |
reverseBearing | Boolean | Status: Optional.
This parameter is useful for light sectors which are defined using the bearing from seaward. Default is false or 0. |