geocoding

Google App Engine Geohashing

ぃ、小莉子 提交于 2019-11-28 19:42:21
I am writing a web application using GWT and App Engine. My application will need to post and query items based on their latitude, longitude. As a result of google's distributed database design you can't simple query a set of inequalities. Instead they suggest doing geohashing. The method is described on this page. http://code.google.com/appengine/articles/geosearch.html Essentially you pre compute a bounding box so that you can query items that have been tagged with that bounding box. There is one part of the process that I don't understand. What does the "slice" attribute mean? Thanks for

Obtain latitude and longitude from address without the use of Google API

▼魔方 西西 提交于 2019-11-28 19:22:27
I am currently working on a large population-based database where it is required that I compute the distance between two addresses for each individual. My first train of thought was to obtain the latitude and longitude representing each address and then compute the distance. I used Google API's to obtain the latitude and longitude for these addresses via various packages in R (e.g. dismo). However Google has a restriction of 2500 requests in a 24hr period. I have about 300,000 addresses and by running 2,500/day, I will not be able to meet the deadline. Would anyone have suggestions regarding

Converting latitude/longitude into city name? (reverse geolocating)

孤街醉人 提交于 2019-11-28 16:52:57
问题 I'm working on a job board in Codeigniter PHP + jQuery where employers enter their location and we use Google Maps API to plot it. While this has had awesome usability results, the problem is when we try to display these locations to job seekers they are muddled and hard to visually discern (they read like this: "02905, 2 miles away","171 John St., 4 miles away", "Providence, RI, 10 miles away". I want to be able to reverse geolocate from a longitude/latitude to a set level (ideally, city

Is there an offline geocoding framework, library, or database for iOS?

你说的曾经没有我的故事 提交于 2019-11-28 16:15:31
Is there an (offline) Geocoding framework, library or database for iOS? A place to get the data from? I need to be able to geocode street addresses in cities worldwide (or at least in the United States) into latitude and longitude for sunrise and sunset calculations. The information must be in a format that will work on iPhone OS. (Either a database file or written in C/Objective-C) What I would recommend : Get the data from Open Street Maps, the license just implies that you mention the source. There are some OSM extracts for some countries, I don't know if there are some already made for

Geocoding in R with Google Maps

ぐ巨炮叔叔 提交于 2019-11-28 15:16:40
I've tried running the code to geocode locations in R via Google Maps and the XML package from this blog post: http://www.r-chart.com/2010/07/maps-geocoding-and-r-user-conference.html Here are his functions: getDocNodeVal=function(doc, path){ sapply(getNodeSet(doc, path), function(el) xmlValue(el)) } gGeoCode=function(str){ library(XML) u=paste('http://maps.google.com/maps/api/geocode/xml?sensor=false&address=',str) doc = xmlTreeParse(u, useInternal=TRUE) str=gsub(' ','%20',str) lng=getDocNodeVal(doc, "/GeocodeResponse/result/geometry/location/lat") lat=getDocNodeVal(doc, "/GeocodeResponse

Usage limit on Bing geocoding vs Google geocoding?

╄→尐↘猪︶ㄣ 提交于 2019-11-28 11:36:25
I know that the google geocoding api has a 2,500 hits a day limit before it'll start returning REQUEST_DENIED. How many does the bing one take? I heard that it's unlimited but I had trouble confirming that. Bing Geocoding limit mentioned here : http://prazjain.wordpress.com/2009/07/24/using-virtual-earth-bing-geocoding-webservice/ Just came across this question. It's a bit old but still relevant. For Bing Maps there are two different ways to geocode address. The first is with batch geocoding which has the limits outlined by alfski. The second option is the REST geocoding service which allows

retrieving lat/long of location using google.maps.geocoder

匆匆过客 提交于 2019-11-28 10:49:37
i have been trying to use some ajax to save venue location in my application and stumbled across the following code on stack overflow function getLatLong(address) { var geocoder = new google.maps.Geocoder(); var result = ""; geocoder.geocode( { 'address': address, 'region': 'uk' }, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { result[lat] = results[0].geometry.location.Pa; result[lng] = results[0].geometry.location.Qa; } else { result = "Unable to find address: " + status; } }); return result; } my problem is when i call the function it returns nothing and when i

Query nearby locations in table in ASP.NET Core 2 and Entity Framework Core 2

元气小坏坏 提交于 2019-11-28 10:38:50
I'm trying to make a query where I can find all locations in my SQL database within (lets say 50 miles) of a given Longitude and Latitude points. I populated some posts, and in the Post table I have two columns where I store Longitude and Latitude when creating a post. Here is how the table looks: I have browsed many examples of how to try to implement this, but it seems like they just don't work. I know from researching that ASP.NET Core doesn't support DbGeography , and other articles are just outdated. Found this article , but it uses DbGeography , so that doesn't work. Found this on GitHub

Google Maps Geocoding a string

廉价感情. 提交于 2019-11-28 10:25:55
im new to google maps api and have done the geocoding example at: https://developers.google.com/maps/documentation/javascript/examples/geocoding-simple I want to be able to geocode a string within my code and place a marker at the location, rather than a user search a location. my code so far is: <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <title>Geocoding service</title> <style> html, body, #map-canvas { height: 100%; margin: 0px; padding: 0px } </style> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp

[Android][Google Maps]: Get the Address of location on touch

只愿长相守 提交于 2019-11-28 09:34:01
I have been googling this for hours but no luck so far. I want to get the address of the location where the map is touched / tapped. I understand that in order to get the address i need to reverse geocode the coordinates. But how do i get the coordinates from the map in the first place? All you need to do is set up a OnMapClickListener , and then the onMapClick() override will give you a LatLng object. Then, use a Geocoder object to get the address of the point that was just clicked on. In this simple example, I've also added a Marker every time the user clicks a new point on the map. Here is