Values like +37° 23' 46.26" are not correctly accounted for in the code, because . chars are stripped. I'll be attaching a patch which corrects this issue and properly converts such values to decimal. Thanks for the module!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | location_feeds-account_for_decimal_second_values_with_tests-1440200-3.patch | 2.64 KB | acrollet |
| #1 | location_feeds-account_for_decimal_second_values-1440200-1.patch | 557 bytes | acrollet |
Comments
Comment #1
acrollet commentedPatch attached, Works for Me. (TM)
Comment #2
elliotttf commentedPatch looks simple enough. Mind updating the simpletests to account for this case?
Comment #3
acrollet commentedNew patch attached with test cases for locations in each quadrant. While I was at it, I also added code to account for co-ordinates in the following format: 13° 09' 47" S, 72° 32' 44" W. Test passes on my system...
Comment #4
elliotttf commentedAwesome, thanks! I've applied this to the 7.x branch, will back port to 6.x then do a release.
Comment #5
acrollet commentedcool!
Comment #6
elliotttf commentedJust tagged the releases, whenever they get built this'll be live. Thanks for the patch!