Tracking through HTTP URL request

Dough299 years ago

Hello !

I'm looking for a way to use a coma separated format for lat,log (ex. "43.43767408,-1.58080298") using an HTTP request (ex. "http://myTraccar:somePort/?id=123456&..."

Is there already a protocol using that format ?

I have looked for osmAnd but it uses a lat= & long= attributes.

I can't change the format on the client side.

Thanks for the help.

Anton Tananaev9 years ago

There is no such format at the moment. You would have to create a new protocol or modify existing one (e.g. OsmAnd).

Dough299 years ago

Thank you,

I'll fork and do some testing to get that format working.

Dough299 years ago

I'm working on this and wonder what name to give to the URL parameter.

I thought "latlon" ("&latlon=60.0,30.0") would be one idea but let me know if you have something more representative ?

Thanks.

Anton Tananaev9 years ago

"coordinates" "coord" "location" or something else. "latlon" would do as well.

Dough299 years ago

Just created pull request #2283 :)