Traccar server's Nominatim geocoder has support for a number of elements which are returned from Nominatim's reverse-geocoding such as '%r' for road, '%c' for country, etc.
Would the project accept a pull request to add a generic '%a' token for geocoder.format so that a pre-formatted address can be returned by the Nominatim URL?
The reason for wanting this is that I'd like to be able to do the actual address formatting at the nominatim URL instead of having to use the configured geocoder.format settings. My intention is thus to be able to configure something like
<entry key='geocoder.format'>%a</entry>
and have the process behind geocoder.url return the ready-made address to show there.
I believe there is already a pull request for it.
I assume you mean this PR which doesn't really address what I want, but it doesn't matter. I'll just misuse one of the tokens which will avoid the need for a PR. I appreciate your time.
I think there was another PR, but I might be wrong. I definitely remember that this feature has been requested before.
Traccar server's Nominatim geocoder has support for a number of elements which are returned from Nominatim's reverse-geocoding such as
'%r'for road,'%c'for country, etc.Would the project accept a pull request to add a generic
'%a'token forgeocoder.formatso that a pre-formatted address can be returned by the Nominatim URL?The reason for wanting this is that I'd like to be able to do the actual address formatting at the nominatim URL instead of having to use the configured
geocoder.formatsettings. My intention is thus to be able to configure something like<entry key='geocoder.format'>%a</entry>and have the process behind
geocoder.urlreturn the ready-made address to show there.