Closed dgearhart closed 8 years ago
@dgearhart I am having a hard time reproducing this one since for a lot of 3 and 4 digit address numbers I am not seeing a difference in formatting for verbal instructions. For example this one:
The final instruction looks like this (text and verbal are the same):
{
begin_shape_index: 169,
time: 0,
type: 6,
end_shape_index: 169,
instruction: "3434 Durham Road is on the left.",
length: 0,
verbal_transition_alert_instruction: "3434 Durham Road will be on the left.",
verbal_pre_transition_instruction: "3434 Durham Road is on the left."
}
Also it appears in the code we are using only verbal formatted instructions for voice commands:
@ecgreb i found the issue - the request is setting both of the destination location attributes "name" and "street" to "3434 Durham Road" - for example:
the "name" should be the POI name if there is one - such as "WalMart" The logic is: if there is a name then output that without formatting else if there is a street then output that with TTS formatting for the street name
then output is this:
@dgearhart thanks! Nice detective work ... will update.
We are going to need a way to determine if the name
field for a given search result contains an actual name of if it contains the street address.
Added https://github.com/pelias/pelias-android-sdk/issues/24 to Pelias SDK project.