Segment Anchor

This topic documents the segmentAnchor response data type supported by the On-Street Parking API resources. HERE Topology Segment Anchors are an alternative format (to TPEG OpenLR) for providing Geometric information for parking segments.

Segment Anchors are not the default method of providing geometric information. This method must be requested using the geometryType query parameter.

HERE Topology Segment Anchors provide a way of providing attributes linked to one or more HERE Map Road Segments. segmentAnchor defines the following attributes:

Element Description
firstSegmentStartOffset Not always included
Number
Values range from (0.0 - 1.0]. When not present, offset is at the start of the range (0.0). Relative to the starting segment's orientation - not necessarily the overall chain orientation.
lastSegmentEndOffset Not always included
Number
Values range from [0.0 - 1.0). When not present, offset is at the end of the range (1.0). Relative to the last segment's orientation - not necessarily the overall chain orientation.
orientedSegmentRef Always included
List of orientedSegments
Information on all HERE Map topology segments that are matched to the parking segment.
attributeOrientation Always included
Attribute Orientation (String)
The attribute orientation can be:
  • FORWARD
  • BACKWARD
  • UNKNOWN
  • BOTH

An example of a segmentAnchor is shown below:

"segmentAnchor":{  
   "firstSegmentStartOffset":0.310871617405554,
   "orientedSegmentRef":[  
      {  
         "segmentRef":{  
            "partitionName":"23241576",
            "identifier":"here:cm:segment:78772177"
         },
         "inverted":true
      },
      {  
         "segmentRef":{  
            "partitionName":"23241576",
            "identifier":"here:cm:segment:87046304"
         },
         "inverted":true
      }
   ],
   "lastSegmentEndOffset":0.14772443327829954,
   "attributeOrientation":"FORWARD"
}

results matching ""

    No results matching ""