CARIS HPD : Portrayal : Drawing Instructions : Coordinate Reference System
 

Coordinate Reference System

Coordinate reference system definitions control the reference system at the drawing instruction level. A top-level portrayal parameter (layer property) indicates whether portrayal units are measured as millimetres at map scale (symbology scales with zoom factor) or as millimetres on the display device (constant/fixed size symbology).

This table1 lists the definitions that can be applied

Coordinate reference system definition

Description

GeographicCRS

A geographic coordinate reference system with axis latitude and longitude measured in degrees. Angles are defined clockwise from the true north direction. Distances will be measured in metres.

PortrayalCRS

A Cartesian coordinate system with the y-axis pointing upwards. Units on the axes and for distances are millimetres. Angles are measured in degrees clockwise from the positive y-axis. Note that the actual output device may have a different orientation of the y-axis.

LocalCRS

A Cartesian coordinate system originated at a local geometry. Units on the axes and for distances are millimetres. Angles are measured in degrees clockwise from the positive y-axis.

LineCRS

A none-Cartesian coordinate system where the x-axis is following the geometry of a curve and the y-axis is perpendicular to the x-axis (positive to the left of the x-axis). Units on the axes and for distances are millimetres. Angles are measured in degrees clockwise from the positive y-axis (perpendicular to tangent).

Example

Add a PortrayalCRS value if the lenone attribute for a sector feature contains a value otherwise write the GeographicCRS value.

<xsl:attribute name="crs">

  <xsl:choose>

    <xsl:when test="sector/lenone">

      <xsl:text>PortrayalCRS</xsl:text>

    </xsl:when>

    <xsl:otherwise>

      <xsl:text>GeographicCRS</xsl:text>

    </xsl:otherwise>

  </xsl:choose>

</xsl:attribute>


1 Information in this table is from S-100 - Universal Hydrographic Data Model, Ed 3.0. International Hydrographic Organization, April 2017.