Routing API Developer's Guide

CoordinatesArrayType

In many use cases, coordinates appear in large series. However, using a sequence of many Coordinate typed elements in data structures might bloat the document instances.

To provide a more compact format, the CoordinatesArray type allows concatenating serialized coordinates within a single data element.

The CoordinatesArray is list type with items of type xs:string, where the following restrictions apply:

  • Item separator: space character (according to the xs:list definition)
  • Allowed item types: Coordinate, in query parameter representation

The list is ordered, but the order does not have any defined semantics. If you wish to be more distinct regarding the semantics of the listed coordinates, you might find the GeoPolylineType or GeoPolygonType type useful.

XML Representation

The following example illustrates how the CoordinatesArray looks like for a list of two 2‑dimensional coordinates:

<Foo>37.7914050,-122.3987030 37.7866569,-122.4026513</Foo>

Query Parameter Representation

According to the standard representation format for list types, the CoordinatesArray would be represented in query strings as:

<Coordinate[]>

Notes on representation formats: Coordinate - see representation format for GeoCoordinateType

The XML example would be represented as query string as:

37.7914050,-122.3987030;37.7866569,-122.4026513

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.