How to disable reverse geocoding?

Zenon Panoussis5 years ago

Hi

I tried <entry key='geocoder.enable'>false</entry> in traccar.xml, but the "Address" column and "Show address" links still appear in the web interface. Is there a way to remove them by configuration?

Anton Tananaev5 years ago

No, it's not possible to remove it.

Zenon Panoussis5 years ago

OK, thanks. Though I do think a case could be made for reverse geocoding to only be shown if it is enabled, because

  • it is disabled server-wide by default and
  • in 80% of the world it doesn't work anyway because of insufficient or too inaccurate address data.

I saw that you have started from scratch on a new front-end, so perhaps this could be an idea to incorporate in the new code. I suspect it only takes an if() around the address printing block in ReportController to only show the column if reverse geocoding is configured true.

I didn't open an issue on github because this is not a bug, but rather a nice-to-have. If you would prefer me to put it on github, just say so.