google-geocoding-api

Google geocoding API - search in just one country

血红的双手。 提交于 2019-12-05 01:49:27
问题 I am looking for geocodes with the google geocode-API: http://maps.googleapis.com/maps/api/geocode/json?address=london%c2+UK&sensor=false The problem is, that the input isn't very accurate (specially the street) and sometimes google mixes things up and ignores UK, because the street has a perfect match (as street and city) somewhere else. e.g. US. Now i cannot solve this issue (input data), but I am wondering if there is a parameter, which forces google to search in UK and return no result

Google geocode API returns inconclusive results

試著忘記壹切 提交于 2019-12-04 11:57:13
For some addresses that I attempt to geocode, google returns inappropriately inconclusive results. The following is an example, but it is not an isolated incident. The first returned result is the exact match, however google flags it as a "partial_match": Street address: 16160 Frederick Rd City: Gaithersburg State: MD Zip code: 20877 Link: http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=16160%20Frederick%20Rd,+Gaithersburg,+MD,+20877 My issue here is in determining which is the correct match. In this case, the "partial match" flag is not useful because it is set to "true"

Making API call as part of UDF in BigQuery - possible?

ぃ、小莉子 提交于 2019-12-04 07:49:36
I'm wondering if it would be possible to make a api call to the google maps geocoding api within a UDF in BigQuery? I have Google analytics geo fields such as { "geoNetwork_continent": "Europe", "geoNetwork_subContinent": "Eastern Europe", "geoNetwork_country": "Russia", "geoNetwork_region": "Novosibirsk Oblast", "geoNetwork_metro": "(not set)" }, And would like to make calls to: https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=XXXX Just wondering if i'd be able to use javascript within the UDF to make an api call for each row in

Using my Google Geocoding API key with Python geocoder

匆匆过客 提交于 2019-12-04 07:38:11
I'm a beginner at Python and I've been working to geocode a database using Pandas and Geocoder on Jupyter. Since the df is a little long (around 3000 rows), I'd like to use Google's Geocoding API. I've already created a free key, but I have no idea what I'm supposed to do with it. Help? By the way, my code looks like this: import geocoder import pandas as pd geo = geocoder df=pd.read_excel('hsp2.xlsx') df['Coordinates']=df['Address'].apply(geo.google).apply(lambda x: x.latlng if x != None else None) df.to_csv('output.csv', sep='|', encoding='iso8859_15') You need to set the environment

google geocoding api not as accurate as google maps using address

梦想的初衷 提交于 2019-12-04 07:11:58
I have many examples where google maps returns the exact location whereas geocoding cannot find an exact match and provides only a close match lat/lon which is no good for my purpose. example: "1729 state road 8, auburn, IN 46706" in google maps drops me exactly on a walmart distribution center as it should. using geocoding.....either thru http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html or manually via https://maps.googleapis.com/maps/api/geocode/json?address=1729+state+road+8,+auburn,+IN,+46706&key=[your_key_here] has the location several miles away... I don't

Geocoding a specific address fails from PHP, works from browser using the same URL

戏子无情 提交于 2019-12-04 03:54:52
问题 I'm using this code snippet to geocode an address using Google Geolocation API: <?php $address = "Frazione Levà - 16030 Sori (GE)"; $url = 'http://maps.google.com/maps/api/geocode/xml?address='.urlencode($address).'&sensor=false'; echo $url."\n"; $xml = file_get_contents($url); var_dump($xml); ?> The echo command shows the URL called is: http://maps.google.com/maps/api/geocode/xml?address=Frazione+Lev%C3%A0+-+16030+Sori+%28GE%29&sensor=false and the var_dump command shows the result is:

google maps over query limit

▼魔方 西西 提交于 2019-12-04 02:32:23
问题 I know that similar questions have been posted but I have not found and answer in any of them as it relates to my particular issue. I have a javascript that uses google maps to place customer zipcodes on a map. The problem I am have is similar to what others have already posted – I get a “over query limit” error. I have tried different setups using setTimeOut to try to send google the data within the allowable time intervals but I can’t get it to work. Here is my action: function initialize()

Google geocoding API - search in just one country

情到浓时终转凉″ 提交于 2019-12-03 16:27:30
I am looking for geocodes with the google geocode-API: http://maps.googleapis.com/maps/api/geocode/json?address=london%c2+UK&sensor=false The problem is, that the input isn't very accurate (specially the street) and sometimes google mixes things up and ignores UK, because the street has a perfect match (as street and city) somewhere else. e.g. US. Now i cannot solve this issue (input data), but I am wondering if there is a parameter, which forces google to search in UK and return no result instead of a completly wrong result. jmm You can add component filters in the url to constraint results.

Is there way to do batch geocoding (get lat/lon by address and vice-versa)? [closed]

烂漫一生 提交于 2019-12-03 13:31:56
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Google Geocoding API has serious limitations (2,500 requests per day) and we always get a limit error. Their business license costs

Google Geocoding API returns wrong language in response

别说谁变了你拦得住时间么 提交于 2019-12-03 08:08:54
My project requests Geocoding API for coordinates and correct full addresses in Odessa, Ukraine. I could request response in Russian or Ukrainian language adding language=ru ( language=uk ) parameter to the HTTP request. Starting today I get street name in Ukrainian in response, no matter which language I specify in request. Examples. Request for Russian: https://maps.googleapis.com/maps/api/geocode/json?address=Пушкинская, Одесса, Украина&language=ru Relevant part of the response: "results" : [ { "address_components" : [ { "long_name" : "Пушкінська вулиця", "short_name" : "Пушкінська вулиця",