reverse-geocoding

Get nearby street addresses within a radius

与世无争的帅哥 提交于 2019-12-22 08:02:14
问题 I would like to retrieve a list of all the street addresses within a small range on a geopoint. A scenario for use is for a user to select his/her current address from a list of addresses (within say 50 meters) of current location, since location retrieval is not going to be accurate enough. I am wondering if that is possible using Google maps API? Otherwise does anyone knows an alternative API that I can use for this purpose? From what I've seen, although the Google maps reverse geocoding

Offline reverse geocoding on iOS

跟風遠走 提交于 2019-12-22 01:04:06
问题 There are lots of existing questions relating to this issue, but I have looked at as many of them as I could find and did not get an answer. I'm trying to perform an offline reverse geocoding lookup on iOS based on a latitude and longitude. I'd like to be able to provide a latitude and longitude, and be provided with the country in which that point lies. I can do this with Geonames (such as: http://api.geonames.org/countryCode?lat=45.03&lng=8.2&username=demo), but I need a similar ability

Reverse Geocoding with Google Map API

社会主义新天地 提交于 2019-12-22 00:42:54
问题 I'm working on the JavaScript Google Map API (Version3) and more precisely on the reverse geolocation. With the help of the official documentation, I successed to perform the reverse geocoding, I found the address corresponding to the latitude and longitude coordonates. But I can't find how to reach the name bound to the address. Is it possible? How can it be performed? Thanks you. Camille. 回答1: You really need to loop and do multiple checks of what google found at these points a small script

Find land mass nearest to a geo coordinate

末鹿安然 提交于 2019-12-21 22:17:28
问题 As part of a developer challenge, I am trying to determine the land mass closest to a given coordinate. Obviously, if the point is on land, I use reverse geocoding and can get details. The problem is that if the point is in a body of water, especially oceans, it often won't return anything (Google, Nokia, Bing). I'd like to know that a point 3 miles off the coast of California is 3 miles from USA, or x miles from Japan, y miles from South Korea when a point is reasonably near more than one

How to convert Latitude and longitude to Location name [closed]

泪湿孤枕 提交于 2019-12-21 04:17:29
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . How can I get an address or a locality name from the geo-coordinates (latitude, longitude) using an API in Java? Is there any reverse geocoder available in Java? 来源: https://stackoverflow.com/questions/2025925

Is it possible to get cities polygonal boundaries like in Google Maps?

我的梦境 提交于 2019-12-20 03:18:13
问题 I would like to have the possibility to tell if a GPS location is in an inhabited or uninhabited zone. I have tried some reverse geocoding services out there, but all of them proved useless, because they select the nearest address possible. (I understand why this should be so, it is useful for the purpose of reverse geocoding) I have noticed in Google Maps , when I search for a city, their boundaries are selected in red dotted well defined line. I would love it to use this, or something

java.io.IOException: Unable to parse response from server at getFromLocationName()

亡梦爱人 提交于 2019-12-19 07:29:08
问题 I know the question has been asked frequently before ,but i am unable to get the solution from any answer or search results. I have to solve this issue ASAP .. I am trying to get the latitude and the longitude from the address enter by the user but i am continue getting : java.io.IOException: Unable to parse response from server I am using this code : Geocoder geocoder = new Geocoder(this ,Locale.getDefault()); String newAddress = (String)saveas.getText().toString(); List<Address> addresses =

CLGeocoder and backward compatibility

余生长醉 提交于 2019-12-19 03:21:11
问题 I have a simple question. MKReverseCoder is deprecated and doesn't work since iOS 5 . We have to use CLGeocoder . But, there are a lot of people under iOS4 . How the new apps can work with iOS4 and iOS5 for geocoding ? Thanks! 回答1: MKReverseGeocoder still works with iOS5. It's just deprecated, which means it'll be removed at some later point (like at the release of something like iOS6). So you can continue to use it now without any issues 回答2: If anyone is trying to move onto CLGeocoder from

How to get Latitude Longitude from more than 500 addresses?

99封情书 提交于 2019-12-18 13:08:34
问题 I have more than 700 addresses in database. I want to plot them region wise. I have implement this code : public LatLng getSingleLocationFromAddress(String strAddress) { Geocoder coder = new Geocoder(this, Locale.getDefault()); List<Address> address = null; Address location = null; GeoPoint p1 = null; LatLng temp = null;//new LatLng(26.0000, 121.0000); String strAddresNew = strAddress.replace(",", " "); try { address = coder.getFromLocationName(strAddresNew, 1); if (!address.isEmpty()) {

How to reverse geocode serverside with python, json and google maps?

你说的曾经没有我的故事 提交于 2019-12-18 12:06:25
问题 I'm trying serverside reverse geocoding that can get me a json response and now I want to get 2 or 3 variables from the json response: I'd like to parse for instance this data and end with eg. administrative_area_level_1 = 'Stockholm' jsondata = json.load(urllib2.urlopen('http://maps.googleapis.com/maps/api/geocode/json?latlng=59.3,18.1&sensor=false')) Here is my python code that fetches the json, now I wonder how to parse it to get just the administrative_area_level_1 long_name (ie state or