876 questions
1
vote
0
answers
34
views
MKReverseGeocodingRequest fails with NSURLErrorDomain Code=-1009 (WatchOS 26)
We try to replace the depreated reverseGeocodeLocation call by MKReverseGeocodingRequest for WatchOS 26. However, the call always returns error -1009 indicating that there is no connection to the ...
0
votes
1
answer
53
views
Why does Huawei's Geocoder return multiple addresses while Google's Geocoder returns only one for the same coordinates
I'm using the Android Geocoder class to get addresses from latitude and longitude coordinates. However, I've noticed a significant difference in behavior between Google's Geocoder (on devices with ...
0
votes
1
answer
104
views
Is there a way to get the exact location for the provided latitude, longitude in tomtom reverse geocoding api
I find difference in the requested latitude, longitude and the reverse geocoding response position(latitude, longitude). Although the location is almost accurate, I just wanted to check if we can get ...
1
vote
1
answer
85
views
Pandas speedup reverse_geocoder in column with string and coordinates
I have a dataframe with two columns like these one:
country_code geo_coords
GB nan
nan [13.43, 52.48]
TR nan
...
I want to fill the nan values in the ...
0
votes
1
answer
633
views
Azure Maps reverse geocoding problem with coordinates
I started using Azure Maps reverse geocoding REST API endpoint and for requests with coordinates from my region (Poland) its returning results from Saudi Arabia
My request:
Lat - 51.762036
Long - 19....
1
vote
1
answer
97
views
google reverse geocode lookup find the nearest to latitude and longitude
Sometimes in rural areas and near national parks, geocode(location:"47.826424436, -124.2662817624318") returns only a single formatted_address:"84VQRPGM+HF".
Is there a way to ...
0
votes
0
answers
184
views
Android reverse geocoding call fails
I'm working on an app with multiple Google APIs. The app has a Marker which can be moved with drag&drop or click on map. I have a listener that takes the new LatLng and makes a call to this ...
0
votes
1
answer
362
views
Geopy function only returning some cities?
I wrote a function using geopy to return the city from a set of coordinates containing latitude and longitude. However, the function only returned the city of about 10% of the entries. When I run the ...
1
vote
0
answers
424
views
How to reverse geocode PySpark dataframe? I have VehicleID, eventdatetime, latitude, longitude, vehicle speed columns and over a million rows
I have VehicleID, eventdatetime, latitude, longitude, vehicle speed columns and over a million rows.
I need to fetch city, state, district for the same.
here is the working python code snippet for the ...
0
votes
1
answer
1k
views
How can we get latitude and longitude from street address? [duplicate]
The code below works on my personal laptop but not on my work laptop.
import pandas as pd
import folium
import geopy
from geopy.geocoders import Nominatim
# Geocoding
geolocator = Nominatim(...
1
vote
1
answer
1k
views
Retrieve user's location and it's permission in React native via expo
Good evening, I'm a newbie to React native and I have this problem and Im seeking for little help.
Im using only Android platform, and I render my output in my physical device(android).
So I have ...
2
votes
2
answers
1k
views
Best way to get current address location Kotlin 2023
I want to create a current location button to get the current address of the user. Currently I am using fusedLocationClient.lastLocation but its slow and sometimes it does not work.
Is there a better ...
0
votes
1
answer
122
views
Callback if tiles are loaded in Google maps on Android
I have a scenario,
When coordinates provided by user is landing into the Ocean, and when camera zoom happens to level 18f map tiles are not loading,
googleMap.animateCamera(CameraUpdateFactory....
0
votes
1
answer
239
views
NetworkOnMainThreadException while getting address from geocoder google API
I'm trying to get address from lat/lng using Google geocoder API, getting some random crashes, here are the logs for the crash
Fatal Exception: android.os.NetworkOnMainThreadException:
at ...
0
votes
1
answer
229
views
administrative_area_level_2 missing when searching with latitude and longitude
Why is it that I do not get the administrative_area_level_2 returned when reverse geocoding with latitude and longitude (India latitude and longitude)
19.1165896, 72.8471527
18.5204, 73.8567
19.5761, ...
0
votes
1
answer
399
views
Nominatim reverse Geocoding not working Highway entrance/exit (motorway_link)
Hi I have nominatim installed on a ubuntu VM which I use for reverse geo-lookup. All is going well, but nominatim doesn't return the correct object when I do a reverse lookup for a highway entrance (...
0
votes
1
answer
598
views
Use reverse geocoding to get an address as variable output
I am trying to make it so when a truck driver presses a button when he starts for the day, i can see what his location is at that very moment so i know where my drivers are starting from.
I am trying ...
0
votes
1
answer
283
views
Check if coordinate (lat/lng) is located close to the boarder of predefined country
Given a pair of latitude and longitude values (coordinate), a country name (e.g. United States) and a radius (e.g. 10 km), I would like to check if the coordinate is located close to the border of the ...
0
votes
1
answer
174
views
Transform a list of coordinates to a list of State/Countries in Python? [duplicate]
I found several functions from Python Libraries that allow you to reverse geocode. The problem I have is with initializing the function and specifying the parameters, I don't know what a user-agent or ...
0
votes
1
answer
56
views
R assign value of a column base on other column's condition
I want to apply reverse_geo function if the address is empty and latitude and longitude are not empty.
The csv file:
latitude
longitude
address
38.89770
-77.03655
Pennsylvania Avenue, Washington, ...
2
votes
0
answers
561
views
why am I getting None value while reverse geocoding when geocoding gave me the exact same latitudes and longitude?
I'm trying to use reverse geocoding to try and find the state and city. But I am not getting any results for certain latitudes and longitudes. Given below is an example of Adams State University in ...
0
votes
1
answer
235
views
How to design reverse geocode thousands of lat,lng fed into IOT platform from GPS Trackers?
We have a system where there is a number of asset trackers which are sending location data every 15 mins. with LAT, LNG values from GPS device. These are sent to MQTT broker AWS IOT and using AWS IOT ...
2
votes
2
answers
2k
views
Geolocation get country name
I was wondering if there is a simple way to retrive the country name of the given city.
Meaning that I will provide the city name and it will give me back the country.
For now the only thing I can ...
3
votes
0
answers
222
views
Reverse geocoding from a GeoJSON
For my flutter app, I need offline reverse geocoding support. To do that I've created a geojson. But couldn't find good support for reverse geocoding from a geojson in dart. How can I achieve this ...
0
votes
3
answers
8k
views
Google reverse geocoding, get City/Country from latlng
Currently I am making an API request to https://maps.googleapis.com/maps/api/geocode/json?key=API_KEY&latlng=48.866667,2.333333 where the latlng is the geo-point of Paris,France. What filters ...