B4A Library Geocoder library - warwound    Mar 31, 2016   (31 reactions) Geocoder library
The Geocoder library enables you to geocode coordinates and reverse geocode addresses.
The library adds two new Objects to the IDE:
Version: 2.1
Address
Methods:
HasLatitude As Boolean
Returns True if a latitude has been assigned to this Address, False otherwise.
HasLongitude A B4A Code Snippet [B4X] Google Geocoding REST API - Erel    Dec 12, 2019   (26 reactions) Usage example:
Wait For(PlaceToLatLon("Israel Yodfat")) Complete (ll() As Double)
If ll(0) <> 9999 Then
Log("Location: " & ll(0) & ", " & ll(1))
Else
Log("Failed to geocode.")
End If B4A Code Snippet [B4X] Free Geolocation Nominatim (Geocoding API) - TILogistic    Jun 20, 2021   (30 reactions) Here's a demo of how to use the nominatim geocoding API for free.
Note:
There are other geocoding options if you want to know, leave your comments.
Demo file attached
Sub GeoCoderNominatim(Query As String) As ResumableSub
Dim ResultURL As String
Dim j As HttpJob
Dim Parameter() As Str Italian da latitudine, longitudine, altitudine ottenere indirizzo completo - klaus (first post)    Mar 06, 2022 You can use the Geocoder library. B4J Question JGooglemaps JobDone - jmon (first post)    Feb 03, 2017   (1 reaction) As Google Geocode will return a value in the future, you need to change your code to update WHEN you get the geocode value.
The correct process is like this:
Send a geocode request
Receive the value
callSub the updating sub
update the text with the value (txtLocation.text = MyValue)
Right now wha B4J Code Snippet Two geodesic features on a web page using B4J+Python (with sources) - MichalK73    May 05, 2020   (4 reactions) nom =ArcGIS() WEJSCIE ='' WYJSCIE ='' def trans(adres): uklad = { '65/1':'3120', '65/2' : '2172', '65/3' : '2173', '65/4' : '2174', '65/5' : '2175', '1992' : '2180', '2000/5' : '2176', B4A Question Geocoder - call sub - Declan (first post)    Jul 04, 2024 The only problem I have is that I must call:
Sub Geocoder1_GeocodeDone(Results() As Address, Tag As Object)
with:
Geocoder1.GetFromLocation(Transactions.Get(3), Transactions.Get(4), 1, "1")
for each:
For Each row() As Object In res.Rows Spanish b4j geocoder. - Matias Ferrer (first post)    Apr 13, 2017   (1 reaction) Estimado,
Creo que tiene un problema de codificación. Deberías enviar los datos de la calle, y demás utilizando la función "EncodeUrl" de la librería StringUtils
Sería algo así: address=" & su.EncodeUrl(calle,"UTF8")
Todo lo que envíes por URL, POST o GET debes codificarlo.
Saludos, Share My Creation WorldClock widget - sifdin17 (first post)    Dec 23, 2020 Hi.
do you remember how did you fix that issue? i am trying to run the project but i always get the same error !!!
Sub GeoCoder_GeocodeDone(Address1() As Address, Tag As Object) Error description: Unknown type: address
Sub GeoCoder_GeocodeDone(Address1() As Address, Tag As Object)
Dim loca A B4A Question Polylines between 2 markers - qey (first post)    Aug 10, 2021 Black
' line.Geodesic=True
' line.Visible =True
' line.Width=2
'line.Points=points
Catch
Log("ERROR" & LastException.Message)
End Try
End Sub
Sub GetMapByAddress (aDD As String)
Dim gg As Geocoder
gg.Initialize("gg")
gg.GetFromLocation Page: 1   2   3   4   5   6   7   Powered by ColBERT |