D
D
Denis Sayfutdinov2016-11-16 14:47:32
satellite navigation
Denis Sayfutdinov, 2016-11-16 14:47:32

How to get coordinates from a GLONASS device?

You need to write a program that will show the location of the transport. It is not known how the coordinates are sent from the GLONASS device, in what format and how to accept them, for example, on the server (written in php). And is it possible to somehow get data on the location of shuttle buses or other urban passenger transport?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Peter, 2016-11-16
@densssov

As a rule, such devices give data in NMEA 0183 format.

I
ipswitch, 2016-11-16
@ipswitch

It depends on which device is installed on the transport.
If the receiver is passive, then it will have a COM port (RS232) and output information in NMEA 0183 format. You decide how to read and transmit it. Or by means of an on-board computer, or to make a port through the network, or stupidly write to memory, etc.
If a "smart" tracker is installed on the transport, then it already contains the logic for transferring coordinates to the server (often its own, from the manufacturer).
Also, some transport companies share information with third-party services, for example, uploading data about their minibuses to some conditional Yandex.
Read this article to get started:
https://habrahabr.ru/post/99508/
and this one
https://habrahabr.ru/post/196150/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question