1

Position request

Тема: Position request

Hello,

is it possible to have the street when asking for position? not just coordinates...

http://prntscr.com/q885zw

thanks

Locating things
2

Position request

Re: Position request

No. But there is gis_geocode:

POST https://geocode-maps.wialon.com/hst-api.wialon.com/gis_geocode
coords=encodeURIComponent(`[{"lat":53.90591670214112,"lon":27.456930690275797}]`)
gis_sid=8fxxxx2f

→

["Притыцкого ул., 79, Минск, Беларусь"]

gis_sid can be found in response of login request. If you are using Local and gis_sid absent, pass uid=<user id> instead.

If you need only country, city and street address, you can do tricky bit manipulations and calculate required flags:

>>> (1 << (31 - 3 * 1)) + (3 << (31 - 3 * 2)) + (4 << (31 - 3 * 3))
385875968

flags=385875968

→

["Беларусь, Минск, Притыцкого ул."]

Unfortunately, there is no flag to get JSON with country/city/street as in gis_searchintelli.

3

Position request

Re: Position request

ok, we chekc it
thanks

Locating things