OverpassSpeedLimitProvider

Hello check in version 4.11 new implementation
-->OverpassSpeedLimitProvider<--
How will it work?

Anton Tananaev4 years ago

It uses overpass API to get speed limit. I think the name is pretty self-explanatory.

Dibbs4 years ago

Hi Anton,

Assuming a person has access to an overpass instance\server, is it a case of adding the following parameters to the config file

<entry key='speed.limit.enable'>true</entry>
<entry key='speed.limit.url'>https://someurl.com</entry>

and Traccar will use it?

Also - currently it appears that the new OverpassSpeedLimit functionality doesnt't cater for passing any credentials\key etc. to the overpass instance\server (if the overpass server requires them)? Would this be correct?

Thanks

Anton Tananaev4 years ago
Anton Tananaev4 years ago

And yes, there is no authentication support currently.

Dibbs4 years ago

Hi Anton,

I was looking thru MainModule.java and made the assumption\mistake on how the key names were formatted (wrongly assumed the "_" translated to originally being a ".") - thanks for the correction.

Authentication isn't an issue if it's a private instance of overpass - access can be restricted to an inbound IP, but for commercial types of instances, they might require authentication. However, appreciate that you've added it in!

Thanks