HERE Android SDK Developer's Guide

LocationDataSourceAutomotive

The class LocationDataSourceAutomotive is a member of com.here.android.mpa.common .

Class Summary

public abstract class LocationDataSourceAutomotive

extends com.here.android.mpa.common.LocationDataSource, java.lang.Object

Abstract class that defines the interface for providing positions updates from an automotive location data source (e.g.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in LocationDataSourceAutomotive
Constructors

LocationDataSourceAutomotive ()

Method Summary

Table 2. Methods in LocationDataSourceAutomotive
Methods

public float getCourseStandardDeviation ()

Called by PositioningManager to get Standard deviation of the course in degrees.

public float getElevationStandardDeviationn ()

Called by PositioningManager to get Standard deviation of the elevation in meters.

public float getHorizontalLargeStandardDeviation ()

Called by PositioningManager to get Horizontal radial error (large component) as a standard deviation in meters.

public float getHorizontalSmallStandardDeviation ()

Called by PositioningManager to get Horizontal radial error (small component) as a standard deviation in meters.

public float getSpeedStandardDeviation ()

Called by PositioningManager to get Standard deviation of the speed in meters per second.

Class Details

Abstract class that defines the interface for providing positions updates from an automotive location data source (e.g. an external GPS or Dead Reckoning (DR) units). IMPORTANT: This is a Beta API, and is subject to change without notice. Location data sources should provide a concrete implementation of this class and pass it to setDataSource(LocationDataSource) Setting a source derived from this class will force PositioningManager to use a map matching algorithm designed for automotive use cases which expects a constant stream of position and sensor data from a DR unit at a frequency of 10Hz. The automotive map matcher algorithm does not support any form of extrapolation so if a constant stream of position and sensor data is not provided in tunnels or areas of traditionally poor GPS coverage the map matching performance will be poor. Please note that pedestrian navigation is not supported when automotive location data source is used. \note Attempts to call setDataSource(LocationDataSource) with an object derived from LocationDataSourceAutomotive will be ignored and return false if access to this operation is denied. Contact your HERE representative for more information.

Constructor Details

LocationDataSourceAutomotive ()

Method Details

public float getCourseStandardDeviation ()

Called by PositioningManager to get Standard deviation of the course in degrees. Implement this to return the Standard deviation of the course in degrees. No guarantee regarding the freshness of the returned location is required.

Returns:

Standard deviation of the course in degrees.

public float getElevationStandardDeviationn ()

Called by PositioningManager to get Standard deviation of the elevation in meters. Implement this to return the Standard deviation of the elevation in meters. No guarantee regarding the freshness of the returned location is required.

Returns:

Standard deviation of the elevation in meters.

public float getHorizontalLargeStandardDeviation ()

Called by PositioningManager to get Horizontal radial error (large component) as a standard deviation in meters. Implement this to return the Horizontal radial error. No guarantee regarding the freshness of the returned location is required.

Returns:

Horizontal radial error (large component) as a standard deviation in meters.

public float getHorizontalSmallStandardDeviation ()

Called by PositioningManager to get Horizontal radial error (small component) as a standard deviation in meters. Implement this to return the Horizontal radial error. No guarantee regarding the freshness of the returned location is required.

Returns:

Horizontal radial error (small component) as a standard deviation in meters.

public float getSpeedStandardDeviation ()

Called by PositioningManager to get Standard deviation of the speed in meters per second. Implement this to return the Standard deviation of the speed in meters per second. No guarantee regarding the freshness of the returned location is required.

Returns:

Standard deviation of the speed meters per second.

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.