Country IsoCodes 2 by default

deals with geocoding and reverse geocoding
Post Reply
peter.detzner
Posts: 12
Joined: Fri Feb 10, 2017 6:57 am

Country IsoCodes 2 by default

Post by peter.detzner »

Hi!

where can I enable in the config, that my Address will use Country IsoCodes2 by default ?!
Regards,
Peter
User avatar
bocajo
Posts: 44
Joined: Tue Mar 01, 2016 3:05 pm

Re: Country IsoCodes 2 by default

Post by bocajo »

There is a SearchParameter COUNTRY_CODETYPE the default value is =3 (country code plate). So you can set this parameter to value =1 (ISO2) or =6 (Unknown). If Unknown is set, then all formats are considered as possible input formats and CountryCodePlate is used as the output format.
Jochen Anderer
Manager Engineer
PTV GROUP GERMANY
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: Country IsoCodes 2 by default

Post by Bernd Welter »

Hi there,
the parameter mentioned by Jochen is available in the xlocate-default.properties in the /conf. You could also change it in the native-default.xml. Just take care of the priorities of the resources. Here are some screenshots.
xlocate-default.properties
xlocate-default.properties
native-default.xml
native-default.xml
If you access the AZURE platform you need to set parameters in the request because you can't reconfigure our server defaults.

Best regards Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
peter.detzner
Posts: 12
Joined: Fri Feb 10, 2017 6:57 am

Re: Country IsoCodes 2 by default

Post by peter.detzner »

Great! Helped me a lot! Thanks for the fast response!!
Post Reply