Can I get the gis Point of the camera via the mobile server protocol?

When I checked your document below:

https://doc.developer.milestonesys.com/mipsdkmobile/

I couldn’t find how to receive the camera’s location information.

Can you give me more information?

Hi Kim,

Mobile server protocol does not yet provide support for smart maps.

Br,

Nikolay

Hi Nikolay !

Doesn’t mobile server provide camera group also?

​Then How to I get location and camera group information?

​​​

Camera groups and views are needed by clients to reconstruct the tree structure that you can find in Smart Client.

Camera location (and other similar camera properties) have not been needed by Web Client or Mobile Clients so Mobile Server just does not provide them in GetAllViewsAndCameras call.

I want to check camera group list and camera location(latitude, longitude) in my project.

Then What should I use?

​Unfortunately, I can’t use milestone’s rest api because I’m a third-party and I don’t have the rights to install the api server.

Sdk is also not available because we don’t use C#.

The Mobile Server does not have the location information.

Please note that as of 2022R1 (current version) the API Gateway is in the default one-server installation for XProtect. Your customer might still decide not to install it though..

If not having the new Rest API the Configuration API is a way for you to get the information you seek. Please see - https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_configurationapi.html&tree=tree_4.html

As a tool for understanding Configuration API I recommend to run the Config API Client sample (even though this is a sample made in C#) - https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/configapiclient/readme.html&tree=tree_2.html

Thank you ! I’ll try ~~

Can I do it in any other way than sdk ??

When I checked the API client configuration example code, it seems that sdk was used instead of soap. I couldn’t find the code related to SOAP.

If not, can you tell method’s name or file that I will refer to?

We wish there could be examples for how to load the Configuration API as a SOAP service, unfortunately there is no samples. But please see this documenttation, there are some coding tips, I hope they might be helpful.

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_configurationapi.html&tree=tree_4.html

Thank you, Rie.

Hi Kim,

In 2023 R1 we introduced support for Smart Map in mobile clients, and now you are able to get GIS point information for cameras.

On Login you need to provide parameter SupportsSmartMap=“Yes”.

Then, when you call GetAllViewsAndCameras (or GetItems) the response will look like this:

<Properties Live=“Yes” Playback=“Yes” PTZ=“No” Preset=“No” ExportAvi=“Yes” ExportDatabase=“Yes” ExportJpeg=“Yes” BookmarkAdd=“Yes” BookmarkEdit=“Yes” BookmarkView=“Yes” BookmarkDelete=“Yes” Sequences=“Yes” Latitude=“42,6223724” Longitude=“23,3707435” CoverageDirection=“0,0672805555555556” CoverageDepth=“45,7200000001829” CoverageFieldOfView=“0,333333333333333”/>

I

I know it’s been a year since you posted the question but I hope this may help whoever might be interested in the topic.

Br,

Nikolay