Units of measurement in turn-by-turn navigation - here-api

I'm using "HERE SDK for iOS" to implement turn-by-turn navigation in my app. I have one issue when I display the distance in GuidanceManeuverView and GuidanceEstimatedArrivalView. All measurements are showing in feet, yards, and miles. However, in US we don’t use yards, but just miles and feet. The only way to configure measurementSystem is navigationManager.voicePackageMeasurementSystem = .imperialUS but it only change the voice sentences.
Is there anyway to change units of measurement to imperialUS?

Regarding SDK 3.X (Premium Edition), it is only possible to set the unit for voice guidance. There are two options for achieving your goal:
(1)Implement the conversion on the application side by using the measurement framework from Apple under the hood. Please find the below docs:
https://developer.apple.com/documentation/foundation/measurementformatter/
https://developer.apple.com/documentation/foundation/units_and_measurement
If you are using HERE Mobile SDK UI Kit, then you can get the idea from the sample codes: https://github.com/heremaps/msdkui-ios/blob/3bb9dfc95647f489521b70e2ae5fb0a536cdb589/Documentation/Guides_Examples/MSDKUIPrimer/MSDKUIPrimer/GuidanceViewController.swift#L48
(2)Use SDK 4.x Navigate Edition
https://developer.here.com/documentation/ios-sdk-navigate/

Related

Azure Kinect - Setting World Scale

I'm trying to get body tracking to register on small action figures that are about 12" tall. I've tried using other depth sensors like the Zed2 and D435i and their skeletal SDK's recognize the toys as "humanoid" and attempt to track the skeleton.
Is it possible to change world scale or a filtering option so that the Azure Kinect or Kinect v2 do not ignore the toys?
I reached out to Microsoft and this was their response:
" AK Body Tracking has been tuned to process human’s from 7-8 years and up in age. The action doll is being filtered out as too small. They currently don’t expose the tuning parameters. They will considering exposing the tuning parameters but they have nothing to announce at this time. "
Unfortunately a no go at the moment.

Google Maps Plotting location on railway track

I am working on a GSM based tracking device . i have successfully able to plot the approximate location on google maps using Gmap.net library for windows application and google maps api for android application.I want to mainly do the tracking of the Rail coach .with my current device i gets the approximate location near the railway track.I want to shift that Location /Maker on the near by Rail track.i need help and suggestions on how to achieve this task.please help.
Afaik the gmap.net library does not provide any feature around pinning tracking data, so I guess some manual work might be necessary.
The naive approach is to map your track on your own, google maps etc. is fine. I fact I've used gmap.net once itself to create exactly that.
Then all you need to do is some math (useful key word here is 'shortest path'), to locate the closest matching tracking point and use interpolation to distinguish your anticipated position on the track. You can also add some plausibility checks to speed up the whole process such as "knowing" where on your track you've already been.
I've got experience in real-time tracking for TV events and can go in deeper detail if you want.

Google Directions Api on driving bus mode

I would like to use Google Directions Api on 'DRIVING' mode, but I want to know the best route driving a bus and not a car.
I'm not talking about 'TRANSIT' mode. I don't want to take a bus but drive it.
Does anybody know if that option is possible?
As geocodezip mentioned in the comments, that functionality is just not possible.
If you choose to set the mode property within the Direction Service API to 'DRIVING', GM will assume you want standard driving directions for a motor vehicle (car).
Here's an extract from their documentation concerning possible travel modes for the Directions Service API:
The following travel modes are currently supported:
DRIVING (Default) standard driving directions using the road network.
BICYCLING bicycling directions via bicycle paths & preferred streets.
TRANSIT directions via public transit routes.
WALKING walking directions via pedestrian paths & sidewalks.
So to answer your question. No, unlike the TRANSIT option, there's no way to specify a form of vehicle you would like to use within the 'DRIVING' option of the Direction Service API.
But that might change one day.

Is it possible to identify parts of a known image

Imagine you have a big place like a shopping mall and I have a 360 degree picture of several places inside and outside of it. Is it possible through Cognitive Services/Computer Vision to compare if a photo taken by users of my app is related to any of these 360 degree pictures so I can add a description saying what is in the photo?
Microsoft Cognitive Services - Computer Vision currently does not offer this type of functionality. Training or customization is not yet supported. This is a highly requested feature and under review.

Microsoft Band SDK to extract the Goals (custom or default set) from Band?

Does SDK give option to extract the Goals (custom or default set) from Band ?
As of now I see sensor data available , but I don't see other details like goals or sleep pattern KPIs etc.,
Is there any other way ?
No, that information is not exposed by the Microsoft Band SDK. You can add feature requests for future Microsoft Band SDK versions at: http://microsofthealth.uservoice.com/

Resources