Reverse Geocoding defaults

Matt Mobius 14 hours ago

If there is no geocoder specified in the XML what Geocoder is used?

I have looked in the Locations Table and the address field is blank in all of mine (or the top 200 rows a lazy SMS Studio shows easily) so it would appear its not storing reverse geocoded addresses at all. But when I run a report it provides addresses (sometimes with the show address click) which I assume is geocoding on the fly?

So what is the default used (I'm picking the Traccar developed open source one?) and can it be set to do the reverse geocoding as coordinates are received so they are then cached for faster reporting?

Anton Tananaev 14 hours ago

The default is actually LocationIQ for now. Eventually hoping to move it to Traccar geocoder.

Running it for all positions is not feasible. You will very quickly hit the limit.

Matt Mobius 14 hours ago

True - I guess doing a reverse geocode every 10 seconds hits some high figures. Maybe just a saved reverse geocode on stops - I use an ODB plug in tracker so it has stops when the car is turned off. How does the self hosts geocoder work?

Does the Geocoder cache an entire database from OSM or someone to do the geocoding - I guess actually if you can select what regions you need I only need New Zealand for example which in the scheme of things probably isn't that big - Maybe I look at doing that?

Anton Tananaev 14 hours ago

Check this:

https://github.com/traccar/traccar-geocoder

You can easily deploy a service for one country.

Matt Mobius 12 hours ago

Thanks again Anton- Always so quick with the answers here. Again looks like I maybe should have gone with Linux. I'll have a look and see if there is a way I can do it on Windows. I do have a Linux VM running Home Assistant and I could maybe put it there.....