Duplicate street number

Jérôme3 years ago

Hello when my addresses are displayed, I always have duplicate numbers.

An idea ?

Ex : "address":"14 14 Rue je sais pas, Valenciennes, FR"

Thx

Anton Tananaev3 years ago

The format is configurable.

Jérôme3 years ago

Ok is it possible to have an example or a link to have help because I did not find anything here.

Thank you

Anton Tananaev3 years ago

We have a documentation and it actually includes an example, so I'm not sure where you're looking exactly.

Jérôme3 years ago

If I only want the postal code, this is it ? :

<entry key='geocoder.format'>%p</entry>

Thank you

Anton Tananaev3 years ago

Have you tried?

Jérôme3 years ago

yes and that has no impact, the address remains as before, on the other hand the vehicle does not move... Could this be because of this?

Anton Tananaev3 years ago

Are you sure you checked the new data after you changed the config? Have you restarted the service after changing the config?

Jérôme3 years ago

J'ai totalement redemarrer le serveur ...

J'ai volontairement mis uniquement %p pour juste avoir le code postale mais rien ne change.

Voici mon fichier au complet :

<properties>

    <entry key='config.default'>./conf/default.xml</entry>

    <!--

    This is the main configuration file. All your configuration parameters should be placed in this file.

    Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
    with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
    remove "config.default" parameter from this file unless you know what you are doing.

    For list of available parameters see following page: https://www.traccar.org/configuration-file/

    -->

    <entry key='database.driver'>org.h2.Driver</entry>
    <entry key='database.url'>jdbc:h2:./data/database</entry>
    <entry key='database.user'>sa</entry>
    <entry key='database.password'>XXXXX</entry>

    <entry key='notificator.types'>web,mail,traccar</entry>
    <entry key='notificator.traccar.key'>XXXXX</entry>

    <entry key='mail.smtp.port'>25</entry>
    <entry key='mail.smtp.starttls.enable'>false</entry>
    <entry key='mail.smtp.host'>192.168.1.100</entry>
    <entry key='mail.smtp.from'>XXX@onehebergeur.com</entry>
    <entry key='mail.smtp.auth'>true</entry>
    <entry key='mail.smtp.username'>XXXXX</entry>
    <entry key='mail.smtp.password'>XXXXX</entry>

    <entry key='geocoder.enable'>true</entry>
    <entry key='geocoder.type'>ban</entry>
    <entry key='geocoder.reuseDistance'>20</entry>
    <entry key='geocoder.format'>%p</entry>

    <entry key='web.url'>http://onehebergeur.com:8082</entry>

    <entry key='web.console'>true</entry>

</properties>
Jérôme3 years ago

Everything is OK for you?

Jérôme3 years ago

It's ok with :

<entry key='geocoder.format'>%h %r, %p %t, %s, %c</entry>

But the street number always appears twice.

Jérôme3 years ago

It's ok with :

<entry key='geocoder.format'>%r, %p %t, %s, %c</entry>

or

It's ok with :

<entry key='geocoder.format'>%f</entry>

Thx