Yesterday while debugging an issue on our main app, I discovered that Geocoder.ca always returned a successful response when geocoding a postal code (yes, we geocode with that only). The successful response came back only with longitude and latitude values, that means, that city, province and country was nil and saved like that on our database.
So, if you ware going to trust Geocoder.ca with your geocoding needs, be sure to do that check before saving the returned values in your database. GoogleGeocoder at least gives you an unsuccessful response…but we all know it is not as precise as Geocoder.ca
Google geocoding. Address: M6K0A5. Result: < ?xml version=”1.0″ encoding=”UTF-8″ ?>
Geokit issues
Yesterday while debugging an issue on our main app, I discovered that Geocoder.ca always returned a successful response when geocoding a postal code (yes, we geocode with that only). The successful response came back only with longitude and latitude values, that means, that city, province and country was nil and saved like that on our database.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.