Questions tagged [geocoder]

An Android class for handling geocoding and reverse geocoding.

A class for handling geocoding and reverse geocoding. Geocoding is the process of transforming a street address or other description of a location into a (latitude, longitude) coordinate. Reverse geocoding is the process of transforming a (latitude, longitude) coordinate into a (partial) address. The amount of detail in a reverse geocoded location description may vary, for example one might contain the full street address of the closest building, while another might contain only a city name and postal code. The Geocoder class requires a backend service that is not included in the core android framework. The Geocoder query methods will return an empty list if there no backend service in the platform. Use the isPresent() method to determine whether a Geocoder implementation exists.

https://developer.android.com/reference/android/location/Geocoder.html

181 questions
0
votes
1 answer

How to remove a certain amount of characters from a string

In python, I am making a virtual assistant. I am working on a way to get the current location of your device and display the weather in that location. Getting the location works fine. I store that data in a variable and print it, but the module I am…
nebula49dev
  • 33
  • 1
  • 8
0
votes
1 answer

Rails - Can I use Geocoder to locate records where only the user has been geocoded?

A slightly frustrating issue with Geocoder. I have two models: User => has_many :records Record => belongs_to :user I'm trying to write the logic for a search function that will return all the record instances that are geographically close to the…
Beese
  • 9
  • 3
0
votes
0 answers

geocoder give me city name in Arabic and English in flutter

i have used a geocoder package in flutter to get city name depending on the lat and long, after that get all locations with the same city name, and it is working correctly, the problem is some city stored in Arabic languages, and others in English…
Osama Mohammed
  • 2,433
  • 13
  • 29
  • 61
0
votes
0 answers

Type'()' cannot conform to 'View' - Geocoder

Most examples online were using UIKit so I could not find much help. I got a function from apple, but I'm not too sure how to call it. I'm completely new to swiftUI so pardon me if the question this question is silly. The following code below its…
0
votes
0 answers

How do you manage geolocation on mobile device? (Server side or Client-side/ permission management)

I'am working on app that ask geolocation to render data around a place. The location is asked with the first page is loaded. I tried 2 approachs: Server-side with the gem 'geocoder', it works on my PC but on Iphone and android is working sometimes…
AnnABlue
  • 121
  • 3
  • 12
0
votes
1 answer

Introducing API key in reverse method (geocoder python library)

I would appreciate some help with this: I am trying to get county and country given a geolocalization using reverse method of geocoder python library. It asks me to include an API key, once I get the token/key from my account in mapbox, how could I…
Ana
  • 103
  • 1
  • 8
0
votes
0 answers

Tiger Geocoder - Postgres SSL SYSCALL error: EOF detected with signal 11 segmentation fault

I'm using r6g.4xlarge AWS machine to test tiger geocoder of my own and succeeded in setting up the Tiger Geocoder data of 2019 in a postgresql version 12. I've setup pgtune for better performance and made changes in the postgresql.conf file. When I…
S A R
  • 146
  • 3
  • 20
0
votes
1 answer

Android app - Check if user's current location equal to a (String) address

I am developing an android app and I am trying to check if the user's current location is the same with one of some addresses that I hold in a csv. For example: An address from the csv is a String like "Via dei Monti Tiburtini 385, Roma 00157 " At…
nCoder
  • 53
  • 5
0
votes
1 answer

How to validate that the distance_to of two Geocoder objects is less than 200 mts within a Rails before_save callback?

I am a RoR beginner and I need to check that the distance between user and gym Geocoder objects is less than 200 meters in order to create a check_in object in the DB Here is my code: app/models/check_in.rb class CheckIn < ApplicationRecord …
viatech
  • 79
  • 1
  • 9
0
votes
0 answers

How can I use specific coordinates with `addresses.get().getAdressLine()`?

So my app will crash every time I try to get the address info about a specific location (lat and long), but when I assign the latitude and longitude variables with location.getLatitude() / location.getLongitude() the app works fine. I don't want the…
Alec
  • 73
  • 2
  • 7
0
votes
1 answer

Here maps api for geocoder doesn't get the area shape for district

I used this Here Geocode API to get the area shapes for the district. However, there's no available shapes being returned on the API. here is the link for the…
0
votes
0 answers

Android Java: Geocoder grpc falied exception

I'll walk you through the key points, bear with me for a while. What I'm Doing I'm getting the location from location manager and using Geocoder to get city name. How I'm Doing it In on location changed function, I crate a new thread and make a new…
Shahzaib
  • 103
  • 1
  • 11
0
votes
1 answer

HERE geocoding API - Storing location geocodes in local DB

Would like to understand which Pricing option will support storing the Geocodes in local DB and Bulk geocoding.
0
votes
1 answer

python geocoder for australian number not working

I tried to get the geolocation coordinates of my mobile/cell phone number, I used phonenumbers and geocoder. the number information and carrier info came out good. but the location and region info are blank in the output. When I tried US numbers,…
Jesscralett
  • 41
  • 10
0
votes
1 answer

geopy.exc.GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED]

I was recently using geopy and when I tried to use the geocoder part of it, it gave me the error; Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1346, in do_open …
Rishad
  • 53
  • 1
  • 1
  • 5