Can we have '%a' for "pre-formatted address" in Nominatim geocoder?

JP Mens7 years ago

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.

Anton Tananaev7 years ago

I believe there is already a pull request for it.

JP Mens7 years ago

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.

Anton Tananaev7 years ago

I think there was another PR, but I might be wrong. I definitely remember that this feature has been requested before.