982 questions
1
vote
2
answers
121
views
Can't enable Google Cloud Platform Geocoder service
When I try to enable the Geocoding API, I receive this error:
Even though I'm not in India (I have checked Google account region, GCP account region to see if there is any incorrect setting).
If I ...
0
votes
0
answers
44
views
Geocoding API not responding fast enough (use Geocoder.configure(:timeout => ...) to set limit). Rails
I have been running into this issue while trying to call Google Maps Api in my demo environment. The api works fine on my production which is odd because they are exactly the same right now
I have set ...
1
vote
1
answer
60
views
How to wait till all geocode requests (geocoder.geocode.then()) for address is completed?
In Angular Application, I have an array with list of addresses arrayToupdate.. for the complete list, I am making a geocoder.geocode api passing the address. Our aim is to get the lat and lng for all ...
0
votes
0
answers
220
views
Leaflet GeoSearch: Google Provider not working
I'm trying to incorporate search in my map using the Google Provider (I'm using this (Smeijer/Leaflet-GeoSearch) plugin with Leaflet), however I'm not able to make it work.
My code is very direct:
...
0
votes
1
answer
416
views
Flutter Google Maps Popup "The Provided Api Key is invalid"
I'm building a Flutter App and added a screen to pick a specific location. This is the code for that screen:
class EventLocationPicker extends StatefulWidget {
final String locationPlaceId;
...
0
votes
2
answers
1k
views
Geocoding function will not work, I keep getting the same error message
Alex %>%
geocode(address = 'Address', method = "google", lat = latitude, long = longitude)
Error in geocode(., address = "Address", method = "google", lat = ...
1
vote
1
answer
52
views
The Map is not showing the correct location using Geocoder. It points to the default coordinates
This code is not giving a zoomed marker at correct location. It stays at the default position instead of address received, even though the original source code works for others. There are no terminal ...
-1
votes
1
answer
635
views
Google Map key with Website application restriction [duplicate]
While applying application restrictions with 'Websites' option in Google cloud console for Map API key, it stopped working even in the allowed web url also.
Followed below steps:
Enabled 2 API from ...
0
votes
1
answer
165
views
Why Geocoder Locale.US return address in Arabic in Dubai
Geocoder geocoder = new Geocoder(this, Locale.US);
The above code returns the address in English irrespective of device language. But in Dubai, the above code is not working and returns the address ...
0
votes
1
answer
401
views
Field Masks not working on Google Geocoding API
Following the official Google developer doc here.
I am trying to hit following API:
https://maps.googleapis.com/maps/api/geocode/json?address=bangalore&key=MY_KEY&fields=formatted_address,...
0
votes
1
answer
407
views
Is Batch processing available in google geocode API
I have gone through google geocode documenation:
https://developers.google.com/maps/documentation/geocoding/requests-geocoding
It says:
50 requests per second, calculated as the sum of client-side and ...
1
vote
1
answer
186
views
Change to Address Component Types in India not reflected by Androids Geocoder
Because of the notice about changes to Address Types and Address Component Types for addresses in India I was wondering how we can reflect that, using the Android Geocoder from SDK which returns ...
0
votes
2
answers
156
views
I get "not attached to a context" error when I want to go back from current fragment
This code belongs to a fragment which shows the user's current location.After getting location when I want to go back to previous fragment App crashes.Logcat says error is happening here :
"val ...
2
votes
0
answers
550
views
getFromLocation unstable Kotlin [duplicate]
I want to get the street address from longitude and latitude. Currently I am using geocoder.getFromLocation(latitute,longitude,1)
fun getLastKnownLocation() {
fusedLocationClient....
0
votes
1
answer
650
views
Unable to use Google geocoding api in react native app
I'm trying to implement google's geocoding for reverse geocoding in my react native app, i wanted to apply restrictions in google console for iOS app with bundle id's. But when i apply restrictions i'...
0
votes
1
answer
945
views
What are the solutions when geocoding a wrong or incomplete address?
My company gets the addresses the loading hubs for our freights every week. We need to geocode them into coordinates. But often the addresses either are incomplete or contain minor grammar mistakes, ...
0
votes
2
answers
75
views
Geocoding, iterrows() and itertuples do not get the job done for a larger DataFrame
Im trying to add coördinates to a set of addresses that are saved in an excel file using the google geocoder API. See code below:
for i, row in df.iterrows():
#below combines the address columns ...
2
votes
1
answer
371
views
Appending multiple nested lists to a dataframe in R
I have a list of ambiguous addresses that I need to return full geocode information for.
Only issue is that what I get is a large list of nested lists (JSON)
I want to be able to get a data frame ...
0
votes
1
answer
344
views
Google Maps API return zero result while Google Maps UI gives the right return
Not sure how to proceed on this, but I got different results between the Google Maps API vs Google Maps UI.
$ curl -s -X GET 'https://maps.googleapis.com/maps/api/geocode/json?address=Saint+George+AU&...
0
votes
0
answers
164
views
Android Geocoder returns an empty array as a response on Unit Testing
I have implemented some unit tests using:
testImplementation "junit:junit:4.13.2"
testImplementation "androidx.test:core-ktx:1.4.0"
testImplementation "org.robolectric:...
0
votes
0
answers
141
views
Python Geocoder call getting frozen after a certain number of executions
I am working on a Python application, which uses the geocoder library to find the latitude and longitude information for a given address and store it in a Redis key. All the information is serialized ...
-1
votes
1
answer
97
views
Wordpress and Google Geocoder
This was working earlier and all of a sudden it just stopped. I'm enqueueing the script with this code:
wp_enqueue_script( 'google_maps', 'https://maps.googleapis.com/maps/api/js#asyncload&sensor=...
-2
votes
1
answer
773
views
How do I filter api geocode google maps?
How can I filter the result of geocode API with region or bounds parameters ?
Example with filter region:
https://maps.googleapis.com/maps/api/geocode/json?address=tokyo®ion=it
Why return "...
5
votes
2
answers
6k
views
android geocoder void getfromlocation how to get addresses?
i have geocoder class in my android activity which contains google map
i need to reverse the geocode using
getFromLocation(double latitude, double longitude, int maxResults, Geocoder.GeocodeListener ...
-1
votes
1
answer
123
views
About PL/SQL printing syntax? [closed]
Im trying to write a program in PL/SQL for printing prime numbers between 1 to 50 for that i use the following code-
DECLARE
i number(3);
j number(3);
BEGIN
i := 2;
LOOP
j := 2;...
0
votes
2
answers
582
views
Getting city and country from GoogleGeocoder response
I need to make use of the google_geocoding package.
My code for it is:
Future<GeocodingResponse> getDatosGeocoding () async {
var resultado= (await googleGeocoding.geocoding.getReverse(...
1
vote
1
answer
308
views
How to always get city from google geocoding api
I'm using the google geocoding API and I'm trying to get the city. This is I'm getting the info.
const city = data.results[0].address_components[3].long_name
The issue with this is that the response ...
-1
votes
1
answer
663
views
Google Place Autocomplete - geometry bounds properties
I cannot find this answer in the Google docs so I am posting my question here.
As per the Google Places Autocomplete response docs, bounds is one of the returned fields.
However, when console logging ...
0
votes
0
answers
12
views
How to get geocoder result from async callback funtion [duplicate]
First of all, I should say that I dont have a lot of experience working with TS/JS.
I am working on an angular project that requires me to find lat, long from a given address and use that value in a ...
2
votes
1
answer
419
views
React Geocode package returns fulfilled Promise object in React
I have a piece of state which is meant to receive user location on page load.
const [userLocation, setUserLocation] = useState({
lat: null,
lng: null,
userAddress: ''
})
I have ...
1
vote
1
answer
106
views
Disabling Logs in Android using Proguard
i added proguard rule -assumenosideeffects class android.util.Log {public *;} so my release version have no logs. but after that a specific methode stoped working:
SingleShotLocationProvider....
0
votes
0
answers
46
views
How to update my global variables with information from a Google Geocoder async function
I am using the Google Geocoder API to get coordinates given an address, and I currently have this function:
var latitude = 0;
var longitude = 0;
const test = getGeocode(
location[0].address,
...
-1
votes
1
answer
200
views
React: the data I insert is NULL in my DB
After filling in the form the memorialpage object gets made and added to the db. From my form I get my data and everything is good to go except for the address that is get. By using react-geocode I ...
1
vote
1
answer
3k
views
Where will get Location Updates feature in XCode?
I can not show/get the "XCode project (Project > Signing and Capabilities > "+ Capability" button) and select the Location Updates" feature in my XCode.
it is in the link
...
1
vote
0
answers
179
views
React native geocoding not rendering data on first try
I am building and Android app with React native, using Expo. My users will write adresses and I have to find the coordinates of this in order to display a route on a map.
As I saw it works correctly, ...
0
votes
0
answers
385
views
Geocoding API - Getting Request_Denied error Android
I am using Geocoder API to get address from latitude and longitude. For few devices Geocoder is returning empty results. Same latitude and longitude works in Other Devices.
So I am trying to fetch ...
0
votes
1
answer
250
views
GMSGeocoder gives Thread 5: EXC_BAD_ACCESS (code=1, address=0x0) in Notification service extension iOS
I want to use reverse Geocoding to get an address from a location coordinate inside my notification service extension.
But including this code.
GMSGeocoder().reverseGeocodeCoordinate(self....
0
votes
1
answer
74
views
How to differentiate between the street I'm walking in, and other streets around me?
I have some locations from all over the city which I previously collect from the same app, but the case is when I receive this locations from the backend I need only to draw the locations are in my ...
0
votes
1
answer
401
views
Use multiple api keys for Geocoder on Rails
I am using the Rails Geocoder gem to geocode the latitude and longitude of a street address submitted by a user. I would also like to automatically pull a users IP location to populate a home screen ...
-2
votes
1
answer
204
views
How to get geocode from json data?
I have json data formated like that in an addresses variable : [{"address":"56 rue de la liberte 33000 bordeaux"},{"address":"38 rue de Paris 92000 Paris"},{&...
0
votes
1
answer
70
views
file get content google geocode not working
When i try to execute the code below, it dont work.
$json = file_get_contents('https://maps.google.com/maps/api/geocode/json?address=R%20GRANJAO,%2021&sensor=false&key=MYAPIHERE');
...
0
votes
1
answer
141
views
Edittext field completely empty, after using settext()
I am trying to insert the address fetched from the geocoderAPI, into my edittext field. After granting the location permission in my app, no text gets inserted in my edittext field, and even the SMS ...
-2
votes
1
answer
810
views
Google Geocode API giving Zero Results for a particular pincode [duplicate]
for a pincode 121003 google geocode api is not giving results although the same pincode is being found out on google maps. What could be the possible issue here ??
https://maps.googleapis.com/maps/api/...
0
votes
0
answers
193
views
Android Geocoder is not working when app is installed on a Device but is working fine on the Emulator [duplicate]
PLEASE BEAR WITH ME AND READ THE STATEMENT AND IF ANY ADDITIONAL INFO IS NEEDED COMMENT AND I'LL PROVIDE IT , I'M NEW TO THIS AND LEARNING HOW TO ASK QUESTIONS .
I recently Started working on my ...
-1
votes
1
answer
869
views
Google map geocode getting different result in Forward API and Reverse API - In Some Addresses
Forward API : https://maps.googleapis.com/maps/api/geocode/json?address=1045%20E%2024th%20St,%20Minneapolis,%20MN%2055404&key=YOUR_API_KEY
Result
{
"results":[
{
"...
0
votes
4
answers
3k
views
getting lat/long from address with geocode in google apps script
I've got this working code that gets the lat/long combo from an address.
function testgeocode(){
var responses = SpreadsheetApp.openById('###').getSheetByName('Form Responses');
var range = ...
1
vote
1
answer
205
views
Google Maps: getting directions after converting address to coordinates through geocoder
I got the Google Maps to work with Local Context thanks to an answer from @eocodezip but having trouble enabling directions from the nearby locations that popped up.
Here's the code I'm using. It ...
0
votes
2
answers
1k
views
Convert address into coordinates for Google Maps Local Context (Geocoding + Local Context Maps)
I am attempting to plug Google Maps Local Context into my website, and I am looking to use an address string (1234 Main St, City, State, USA) to center and display a marker on my map.
Here's the code ...
0
votes
1
answer
305
views
How can I get the longitude and latitude of a specific place using Google's GeoCoder Java Client?
I am trying to get the longitude and latitude of a specific address.
This is the result of the GeoCoded response with the address I am using as a parameter.
{
"results" : [
{
...
2
votes
2
answers
888
views
How can I get the proper location of a company using geocode for this particular case? (Python, Google API)
I want to get the latitude and longitude of the companies listed in a dataframe already cleaned but the only information that I have is the name of the company and the country (In this case just UK).
...