Magno 4 Posted March 26, 2019 How does the TGeocoder really works? From where it get the address? Google API? I cannot found an answer. The doc is not sufficent: http://docwiki.embarcadero.com/RADStudio/Rio/en/Mobile_Tutorial:_Using_Location_Sensors_(iOS_and_Android) As the GPS only will deal with coordinates and not with address string stuff, so the app needs to convert from to and it is required a database (local, api, etc) to make the geo reverse. Share this post Link to post
Sherlock 663 Posted March 26, 2019 The secret here is in the platform dependent units System.iOS.Sensors and System.Android.Sensors. System.Sensors is mainly a placeholder or rather a unit containing virtual classes that are fleshed out depending on the platform. For example lets look at iOS as a target: Using System.Sensors.TGeocoder will result in System.iOS.Sensors.TGeocoder getting used. This implements a TiOSGeocoder described in iOSapi.CoreLocation. It is mapped to iOSs built in Geocoder aka CLGeocoder which has the method reverseGeocodeLocation and will return all the data. It's an iOS API call in essence. I'm very sure the same goes for Android. That's it. Share this post Link to post
Holger Flick 12 Posted March 26, 2019 What kind of application do you want to develop (platform/device)? TMS has component wrappers for Geocoding using the Google API which is available for many platforms. Share this post Link to post
Remy Lebeau 1403 Posted March 26, 2019 6 hours ago, Magno said: How does the TGeocoder really works? From where it get the address? Google API? Essentially, yes. On Android, Google's mapping API is queried. On iOS, Apple's mapping API is queried. In both cases, the address database is stored remotely on Google's/Apple's systems, so you need an Internet connection to perform reverse geocoding. Share this post Link to post
Rollo62 538 Posted March 27, 2019 (edited) Google APIs have a quite relaxed free tier, but it may add monthly service cost if these limits were touched. You very likely will need an Google maps API key (I never used reverse GeoCode alone, only together with maps). (Sorry, already answered by Remy.) Apple reverse geocode is free (how unlikely is that ?). Edited March 27, 2019 by Rollo62 Share this post Link to post
Magno 4 Posted April 22, 2019 So, it uses the Google API at end, as I supposed. Thank you guys!!! Share this post Link to post