Getting more than 1 Million geocoding request in only 1,000 vehicles every day. Please check the issue.

gpsvangpstsofi2 days ago

My traccar.xml

<entry key='database.user'>root</entry>
   <entry key='database.password'>root</entry>
   <entry key='geocoder.enable'>true</entry>
   <entry key='geocoder.type'>nominatim</entry>
   <entry key='geocoder.url'>myendpoint for osm</entry>
<!--    <entry key='geocoder.type'>gisgraphy</entry>
   <entry key='geocoder.url'>https://services.gisgraphy.com/reversegeocoding/search</entry>-->
   <entry key='geocoder.onDemand'>true</entry>
   <entry key='geocoder.ignorePositions'>false</entry>
   <entry key='geocoder.processInvalidPositions'>false</entry>
   <entry key='processing.copyAttributes.enable'>true</entry>
   <entry key='processing.copyAttributes'>ignition,blocked,airConditioner</entry>
   <entry key='report.ignoreOdometer'>false</entry>
   <entry key='filter.invalid'>true</entry>
   <entry key='report.fastThreshold'>2764800</entry>
   <entry key='filter.future'>30000</entry>
   <entry key='filter.past'>30000</entry>
   <entry key='geocoder.format'>%f</entry>
<entry key='database.historyDays'>80</entry>
<entry key='logger.decodeTextData'>false</entry>
<entry key='logger.level'>info</entry>
<entry key='database.saveOriginal'>true</entry>
<entry key='storeAddress'>false</entry>
<entry key='gt06.debug'>true</entry>
<entry key='geocoder.reuseDistance'>200</entry>

How many locations per day do you have total?

per day is around 300K
I have only 1000 vehicles, and 250-300 are running every time.

Are you sure? Then I don't know where million is coming from.

Because it's getting the converting location for each packet it receives on the server. Regardless of usages.

When you only have 300k locations per day, you still won't get 1 million, even if you convert every location. That's my point. So numbers are not adding up.

If a 300-running car gives 300k, then a 1000-running car will achieve 1 million requests. It's a very large number compared to others. Is there any issue in my implementations?

Well, in your configuration you explicitly ask to request geocoding on every location, so that's kind of expected. If you disable it, it won't do it.

In traccar.xml i have did onDemand geolocation true and store store address to be false. Still

First thing I would recommend doing is checking your configuration against the official documentation:

https://www.traccar.org/configuration-file/

It seems like half of your config is AI hallucinated nonsense. And you didn't seem to even bother to check whether such parameters even exist.

Kaldeka day ago

Moral of the story: do not, ever, trust AI on Traccar Configuration settings or JEXL syntax.