From 03a340b57c464301689f39e7d11e7833a9c4d87d Mon Sep 17 00:00:00 2001 From: asanoaozora Date: Wed, 3 Jan 2018 17:21:59 +0100 Subject: POI ID format updated to uint64 to be compliant with OSM ID --- api/franca/navigation/poiservice/POIServiceTypes.fidl | 2 +- api/poi-service/genivi-poiservice-contentaccessmodule.xml | 14 +++++++------- api/poi-service/genivi-poiservice-poisearch.xml | 11 ++++++----- 3 files changed, 14 insertions(+), 13 deletions(-) (limited to 'api') diff --git a/api/franca/navigation/poiservice/POIServiceTypes.fidl b/api/franca/navigation/poiservice/POIServiceTypes.fidl index 01fc3ba..454a9dd 100644 --- a/api/franca/navigation/poiservice/POIServiceTypes.fidl +++ b/api/franca/navigation/poiservice/POIServiceTypes.fidl @@ -16,7 +16,7 @@ typeCollection POIServiceTypes { } <** @description:Unique ID for a POI results**> - typedef POI_ID is UInt32 + typedef POI_ID is UInt64 <** @description:Unique ID for a POI Icon Resource**> typedef ResourceID is UInt32 diff --git a/api/poi-service/genivi-poiservice-contentaccessmodule.xml b/api/poi-service/genivi-poiservice-contentaccessmodule.xml index 1d4a321..b6af984 100644 --- a/api/poi-service/genivi-poiservice-contentaccessmodule.xml +++ b/api/poi-service/genivi-poiservice-contentaccessmodule.xml @@ -203,7 +203,7 @@ removePOIs = Removes a list of POIs to a category. Because of required time to remove it from the database, a signal is emitted when the update is done. - + ids (of type POI_ID) = List of unique ids of POIs to remove. lineComment to be defined @@ -304,7 +304,7 @@ resultListSize = Number of items of the results list - + resultList = array[source_id,name, category, location, distance, attributeList] source_id = POI unique id as known by the content access module. This id will be used by POI service to request POI details. @@ -344,12 +344,12 @@ PoiDetailsRequested = This method retrieves the details associated to one or more POI. It contains the name, the parent categories, the list of attributes, the icons, ... . - + list of poi = Unique source poi id - + results = array[details, categories, attributeList] results = List of details for all the POI. @@ -406,7 +406,7 @@ POIAdded = POIAdded = This signal is emitted when a list of POIs and associated content has been added to the database. It returns the ids. - + pois (of type POI_ID) = List of unique ids of POIs added. The order is the same as the order in the AddPOIs method. lineComment to be defined @@ -417,7 +417,7 @@ POIRemoved = POIRemoved = This signal is emitted when a list of POIs and associated content has been removed from the database. - + pois (of type POI_ID) = List of unique ids of POIs removed. lineComment to be defined @@ -440,7 +440,7 @@ enum[INVALID (org.franca.core.franca.impl.FIntegerConstantImpl@12babf4 (val: 0)), NOT_STARTED (org.franca.core.franca.impl.FIntegerConstantImpl@1a3c8e3 (val: 1296)), SEARCHING (org.franca.core.franca.impl.FIntegerConstantImpl@1f53788 (val: 1297)), FINISHED (org.franca.core.franca.impl.FIntegerConstantImpl@bdae21 (val: 1298))] - + pois (of type POI_ID) = List of pois that match the search (only valid if status is set to SEARCHING or FINISHED, by default empty list). lineComment to be defined diff --git a/api/poi-service/genivi-poiservice-poisearch.xml b/api/poi-service/genivi-poiservice-poisearch.xml index 3fc44be..3ad3575 100644 --- a/api/poi-service/genivi-poiservice-poisearch.xml +++ b/api/poi-service/genivi-poiservice-poisearch.xml @@ -532,7 +532,7 @@ resultListSize = Number of items of the results list - + resultListWindow = array[unique_id, distance, route_status, attributeList] unique_id = POI unique id @@ -561,17 +561,18 @@ GetPoiDetails = This method retrieves the details associated to one or more POI. It contains the name, the parent categories, the list of attributes, the icons, ... . - + - list of poi = Unique poi id + list of poi[unique_id] + unique_id = POI unique id - + results = array[details, categories, attributeList] results = List of details for all the POI. details = struct(unique id, name, location) - unique id = POI id + unique_id = POI unique id name = POI name location = struct(lat,lon,alt) lat = latitude of a vertex of the polygon in format %3.6f. Range [-90:+90]. Example: 48.053250 -- cgit v1.2.1