FindAddress DE with 3 postal codes

deals with geocoding and reverse geocoding

FindAddress DE with 3 postal codes

Postby Gilbert » Mon Jul 09, 2018 1:32 pm

Hello!

Is there a way to search for addresses with, for example, 3 postal codes?
For example: DE 061 <--- no result

(I think there was an ASTERISKMODE in older version for that, but it's outdated since 1.17.
The findSuggestion function works well, but it's not the same thing.)

Thanks for help!
Regards
Gilbert
 
Posts: 2
Joined: Fri Jun 29, 2018 2:07 pm

Re: FindAddress DE with 3 postal codes

Postby bocajo » Mon Jul 09, 2018 1:59 pm

Hi Gilbert

Your are getting no result because there are more than 100. And the xLocate stops if it will detect more as 100 possible results.
You can switch off this behavior if you set the FrequncyFilter=0. You can do this directly if you add the following paraeter in the native-default.xml:
<FrequencyFiltering Value="0" Type="bool"/>
After doing that you have to restart the xLocate ;)
I also recocment to the switch on the ExtensiveSearch, in some cases you are getting better results.
<ExtensiveSearch Value="1" Type="bool"/>
This parameter costs you performance. The performance loss depends on the request, not for every request you will loose it but you have to calculate about 10%
Jochen Anderer
Senior Software Engineer
PTV GROUP GERMANY
bocajo
 
Posts: 28
Joined: Tue Mar 01, 2016 3:05 pm

Re: FindAddress DE with 3 postal codes

Postby Gilbert » Mon Jul 09, 2018 3:13 pm

Works great!

I combine this with a SearchOption to finally not get endless: SearchParameter.MAX_RESULT, value = "300"

Works perfect Thank you!
Gilbert
 
Posts: 2
Joined: Fri Jun 29, 2018 2:07 pm


Return to PTV xLocateServer