geocoding

Location-aware geocoding on Android (just like Google Maps)

孤人 提交于 2019-12-10 23:16:21
问题 It seems that the search in the Google Maps app is location aware . For example, if I search for "Pitt St" while in Sydney, it finds the right street straight away. Clicking "Did you mean..." brings a list of other "Pitt St" close in nearby suburbs . Is there a way to ge a similar experience in our apps? I tried the standard Geocoder, but a similar search returns "Pitt St, New York" as the first match. Is there a set of options I'm missing? Is there a different API we can use for this? As a

Looking for Python/Django Framework to query GeoLocation Data in DB [closed]

不羁的心 提交于 2019-12-10 22:17:05
问题 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 6 years ago . I'm looking for a way to store a number of points, zipcode and their latitude and longitude in a database, and given a query point Q's

Getting business names or landmarks from lat/long in Android

放肆的年华 提交于 2019-12-10 20:12:34
问题 Ok, so I have been searching for quite some time on this. I have a lat/long from my new found location. geocoder's getFromLocation returns a certain number of addresses from the lat/long and that is all fine and dandy. I then put it into an adapter which populates a spinner... also works perfect. What I need now though is to get business names instead of addresses. I would prefer to use the lat long and get all businesses within a certain distance because not all the addresses returned from

Find closest 10 cities with MySQL using latitude and longitude?

旧街凉风 提交于 2019-12-10 19:37:56
问题 I have searched the Web a lot to find the solution for my problem but I still can't figure it out. I have a very simple database with id, city name, latitude, longitude and city_info. When someone enters a city page a would like to show the 10 nearby cities. How can I calculate this with MySQL and return it with PHP? I have seen a lot of suggestions on this website, however none of these work somehow. What I tried without success. I do not get any results. <?php $slatitude = 43.2141341;

Geocode of a Intersection of Two Roads

*爱你&永不变心* 提交于 2019-12-10 19:13:01
问题 Does anyone have a method or an API or a format that I can enter into the google maps API or any other API so I can get a latitude and longitude of an intersection reliably? For example if I enter "13th and Walnut, Philadelphia, PA" or "13th st and Walnut av, Philadelphia PA" (preferably the first one) the API reliably returns the latitude and longitude. Google maps API geocoding, when I do a http request, will occasionally get it right, but not often enough and without any pattern. Sometimes

Is there a way to call an API once instead of twice per output generated?

我的未来我决定 提交于 2019-12-10 18:27:38
问题 Im trying to write code more efficiently in Python. Currently the app below fetches my desired output.However, it makes 2 calls per address Reprex: import pandas as pd from geocodio import GeocodioClient API_KEY = 'insert_your_key_here' client = GeocodioClient(API_KEY) customers = pd.read_csv("example.csv", header=None) customers['address_string'] = customers[0].map(str) + ' ' + customers[1].map(str) + customers[2].map(str) geocoded_acuracy = [] geocoded_acuracy_type = [] for address in

Why does Google GeoCoding only sometimes return the postal code?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 17:46:21
问题 If I pass my GeoCoding call only a city and state it fails to return the postal code. Any idea why? Here is my call: var test = 'New York, NY'; var geocoder = new google.maps.Geocoder(); geocoder.geocode({ 'address': test }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { var lat = results[0].geometry.location.lat(); var lng = results[0].geometry.location.lng(); var result=results[0].address_components; //console.log(result); var postal = null; var city = null; var

Geocoding addresses with googleway: incoherent results

纵饮孤独 提交于 2019-12-10 16:52:35
问题 I am trying to geocode addresses on Google Maps using the google_geocode function from the package googleway in R. I am using a key obtained from Google that allows me to go over the 2500/day limit (and being charged for that). I have different types of problems, mainly due to the way the addresses I use are written, but there is one issue that I would like to ask here: how is it possible that I sometimes get no results querying with googe_geocode, but if I type the same address string on

How to get same search hints as apple maps in my application

半城伤御伤魂 提交于 2019-12-10 14:56:24
问题 I implemented search bar in iOS application. I want to get the same (partial result) search hints as Apple Maps application. I tried to find out how apple implemented it but I was not successful on google or here on stackoverflow. It doesn't matter what is displayed exactly in my UITableView *searchHintTableView. I just don't get correct number of search hints. I am using my application and Apple Maps application on same device and on the same 3G wifi network(3G SIM router). What everything I

Maps API keys for geocoding not working

和自甴很熟 提交于 2019-12-10 11:33:02
问题 I have read your answer on this. Maps API keys for geocoding not working anymore? Currently I am trying this: https://maps.google.com/maps/api/geocode/json?address=n&sensor=true&key=apikeygoeshere Giving me error: This API project is not authorized to use this API. Please suggest how can I complete my app. I am searching locations for my App.I can buy business plan later but for now I need to test for development. I have following services on: Google Maps Coordinate API, Google Maps Engine