Variables | |
const UINT | RI_MESSAGE_SEARCH6DIGITPOSTCODE = RegisterWindowMessage(TEXT("RI_MESSAGE_SEARCH6DIGITPOSTCODE")) |
const UINT RI_MESSAGE_SEARCH6DIGITPOSTCODE = RegisterWindowMessage(TEXT("RI_MESSAGE_SEARCH6DIGITPOSTCODE")) |
Message ID for the Request "search 6digit postcode":
RI_MESSAGE_SEARCH6DIGITPOSTCODE
RI_Search6DigitPostcode_WriteData(LPARAM id, RI_CSearch6DigitPostcode data );
RI_Search6DigitPostcode_ReadData(LPARAM id, RI_CSearch6DigitPostcode data );
RI_NOERROR = Search succeeded
RI_AMBIGUOUS = Search not precise
RI_NOTFOUND = No address found
RI_NOTAV = 6 digit data file missing
Returns one result with the name of the street and the coordinate of the given 6 digit postcode.
If the postcode string is less than 6 digits, the first of the found results will be returned and the error code will be set to RI_AMBIGUOUS.
The housenumber will be used to get the best result by checking against the housenumber ranges of the postcode.
Results with housenumbers out of the range will be discarded.
If there are more than one result with the same postcode, then the one that matches the even or odd (dependent on the housenumber)
housenumber range will be returned. If that also doesn't give a single result, the first result will be returned and the error code will be set to RI_AMBIGUOUS.
If no PLZ6-Layer is available, RI_NOTAV will be returned.
<H2>Example:</H2>
© PTV Group 2020 | Generated on Wed Apr 15 2020 12:47:53 for by 1.8.8 |