Warning is not being handled properly

Bug #481636 reported by Brian Armstrong on 2009-11-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yii GeoCoder Extension
Brian Armstrong
Brian Armstrong

Bug Description

The 'warning' field in a result set is currently being used as the "cleaned_query" option. The Address value should be used for this. As no "street" field is declared, we can just use it for both...

When a search for '1600 N State Street, Lindon UT' is preformed, the following information is returned:

Accuracy : Address
Latitude (degrees) : 40.351850
Longitude (degrees) : -111.731629
Latitude (radians) : 0.70427264177087
Longitude (radians) : -1.9500848046668
Query String : 1600 N State St, Lindon, UT
Standardized Query : The street number could not be found. Here is a nearby location.
State : UT
City : Lindon
Zip Code : 84042-1323
Street : 798 N State St
Country : US

Here is the unserialized raw response:

    [ResultSet] => Array
            [Result] => Array
                    [precision] => address
                    [warning] => The street number could not be found. Here is a nearby location.
                    [Latitude] => 40.351850
                    [Longitude] => -111.731629
                    [Address] => 798 N State St
                    [City] => Lindon
                    [State] => UT
                    [Zip] => 84042-1323
                    [Country] => US



Related branches

Changed in yiigeo:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Brian Armstrong (brian-killermonk)
Changed in yiigeo:
status: Confirmed → Fix Committed
Changed in yiigeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers