Searching an address with multiple fields is the usual way. PTV xLocate Server provides seven single fields to enter the address: country, state, postcode, city, city2 (district), street and house number. City/city2 and street/house number can be contained in one field.
Single field search is used to supply the complete address in one field. Use the method findAddressByText() in order to execute single field search.
The input is Avenue du Bois 5 Limpertsberg Luxemburg.
The result is one candidate with exact classification:
L | Luxemburg | 1251 | Luxemburg | Limpertsberg | Avenue du Bois | 5 |
The input is Avenue du Bois 5; Limpertsberg; Luxemburg.
The result is one candidate with exact classification.
L | Luxemburg | 1251 | Luxemburg | Limpertsberg | Avenue du Bois | 5 |
The address geocoding matches a given user input to an address database using several techniques of string matching:
Binary search: The reference database is searched for an address that exactly matches the address entered.
Phonetic search: The reference database is searched for an address whose pronunciation is similar to the address entered (e.g. ph → f).
Fuzzy search: The reference database is searched for an address that is similar to the one entered (e.g. Beriln → Berlin). A fuzzy search, however, considerably reduces the performance.
The input Clausen leads to an exact match.
The input Pfaphenthal leads to the candidate Pfaffenthal.
The input Limbertsperg leads to the candidate Limpertsberg, which was corrected internally.
Optimise the candidate results by using some of the many detailed options which allow influencing the behaviour of PTV xLocate Server. Following two helpful functions matching the input address to the map provider data are described below.
If there is a conflict between the input city/postcode and the input street (i.e. the streets in the database all have postcodes and/or city names that differ from the input), it is possible either to return only the street with the corrected city/postcode or to return the street plus additional cities that match the input city/postcode.
It is possible to specify for each city alias rule in which integration unit it should be applied. The algorithm avoids hiding of existing records and supports specifying the same alias for more than one city. The mechanism allows the input to contain additional words and is also available in single field search mode. However, it is no longer available for city searches.
Please make sure to use the country code for France ("F") when searching for addresses in insular regions of France. The following tables shows the regarding insular regions/departments:
PTV xLocate Server is able to interpolate the position of house numbers, if the map data contains a house number range for the corresponding street segment. The interpolation can be turned off. In this case, the coordinate of the street segment is returned.
The PTV xLocate Server classifies the output in relation to the input in different kinds of categories. Address classification descriptions are created for the following fields:
Address classification (total classification over all fields)
Postcode classification
Town classification
Street classification
Housenumber classification
The input is <D>;<Karlsruhe>;<Haupt>
The result is:
Address classification: 6 (partially exact)
Town classification: partially exact (Karlsruhe or Karlsruhe Neureut)
Postcode classification: no input (76131, 76139 or 76149)
Street classification: no input (Hauptstraße, Neureuter Hauptstraße or Rintheimer Hauptstraße)
Housenumber classification: no input (range of house number)
Furthermore, PTV xLocate Server is able to calculate a total score indicating the overall quality of the address candidate.
The parameter Score.TotalScore is calculated using result fields Town.Classification, PostalCode.Classification and Street.Classification. Each classification is mapped to a value. The sum of these values is divided by the maximum reachable value for this result address. It is displayed as a percentage. Due to this change, the sorting order of some results may be different.
Using the total score, PTV xLocate Server is able to create a candidate list for the search address. HouseNr.Classification and Street.Classification are taken into account for the results ordering.
Copyright © 2024 PTV Logistics GmbH All rights reserved. | Imprint