Page 1 of 1

Most promising address format for single field geocoding

Posted: Mon Jul 28, 2025 5:26 pm
by Bernd Welter
Hi guys,
today I spoke to a HSS based user who runs into issues in his geocoding process:

As the current SAP wrapper in the geocoding API does not support the structured address search (aka SearchByAddress) he is forced to assemble a temporary input address based on multiple elements of an address.

So his question is now:
what is the most promising structure of a single field address? He expects something like
{Country ISO2},{Zipcode} {City} {District} {Street} {Housenumber}
Is it that simple?
Are there some Nogo's?

Bernd

Re: Most promising address format for single field geocoding

Posted: Tue Jul 29, 2025 7:14 am
by bocajo
If you want to limit the result to a specific country you must set the countryFilter:
https://developer.myptv.com/en/document ... ionsByText

Re: Most promising address format for single field geocoding

Posted: Tue Jul 29, 2025 10:54 am
by Bernd Welter
Hello Jochen,

Thanks for rersponding.

Unfortunately there’s a misunderstanding in the question… though the question comes from the customer who is challenged by current tickets the forum's post is a more generic question:
- In the customers own database (SAP driven) they have the detailed attributes for a structured address search:
Country code, zipcode, city, street, housenumber

So via an xLocate2.searchByAddress or DEV Geocoding.SearchByAddress they would be able to use the proper structured search.

But: they want to use the Hana Spatial Services which do not wrap the SearchByAddress. They are limited to the SingleField search.

And they would like to gather a recommended expression of the most promising single field address string.

What’s the recommendation from your perspective?
Best regards,
Bernd

PS: Not only did SAP skip the “search by address” level so far – they also did not implement the “country filter” in their single field search.
That’s something I will discuss with them today.