geocode-from-address results change

Bug #867231 reported by Chris Hillery
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Diogo Simões

Bug Description

Test case zorba_data-cleaning_module/data-cleaning/conversion/geocode-from-address.xq - the results have changed; apparently the geocode for Lisbon is a few feet away from where it was. I've marked this as an expected failure. Changing the expected results is easy enough, but I'd like a little idea of how likely changes like this are in the future - is there any way to change the test to make it more stable?

Changed in zorba:
milestone: none → 2.1
Changed in zorba:
milestone: 2.1 → none
Changed in zorba:
assignee: Sorin Marian Nasoi (sorin.marian.nasoi) → Diogo Simões (diogo-simoes89)
Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

The test
zorba_data-cleaning_module/data-cleaning/conversion/geocode-from-address.xq
was failing at a point in time because the result returned was not
38.725735 -9.15021
but instead it had more decimals at the end, something like:
38.7257354 -9.150210

This bug was added such that the test is updated to prevent such situations from appearing in the future.
One suggestion for this test is to cast the results to xs:integer such that only the non-decimal part is checked.
What do you think?

Chris Hillery (ceejatec)
tags: removed: v2.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.