Page 1 of 1

Can FindAddress return a Formatted Address?

Posted: Mon Nov 20, 2017 6:48 pm
by gottjas
Hello,

In a response from calling findAddress, I get back a house number, street, city, etc. Is there any way to get back a formatted address that has the house number and street in the proper order depending on the geographic location? So, for the US/UK, the house number would come first, and DE would have the street name first, then house number.

Thank you,
Jason

Re: Can FindAddress return a Formatted Address?

Posted: Tue Nov 21, 2017 8:36 am
by bocajo
Hi Jason

Unfortunately there is no way in the xLocate 1.x to get back formatted address depending on the the geographic location. It is forseen for xLocate 2.x but it isn't implemented yet.

Regards
Jochen

Re: Can FindAddress return a Formatted Address?

Posted: Tue Nov 21, 2017 1:26 pm
by Bernd Welter
Hello Jason,

as Jochen mentioned there is no formatted address itself. In fact different customers could expect different styles:
  • should the formatted address contain the STATE property if available?
  • should the house number be in the front for some countries?
  • should the formatted address contain the district if the result is on streetlevel?
But it's not a big thing to implement YOUR style on client side.

Best regards,
Bernd