Quintiq file version 2.0
|
#parent: #root
|
StaticMethod GeocodeQualityAsMatchValue_MapQuest (String geocodequality) as Real
|
{
|
#keys: '1[103546.0.179247563]'
|
Description: 'Translates MapQuest specific geocode quality code into a matching score range of 0 - 100'
|
TextBody:
|
[*
|
// Administrator Jun-4-2012 (created)
|
|
//Mapquest has the accuracies/quality of each candidate specified in the form of codes
|
//http://open.mapquestapi.com/geocoding/geocodequality.html#granularity
|
|
//TODO - find out the way to translate these codes to a matching score
|
match := 100;
|
|
debuginfo( "GeocodingServer.GeocodeQualityAsMatchValue - a score value of", geocodequality, "translates to a match value of", match );
|
|
return match;
|
*]
|
}
|