reverse-geocoding

Reverse geo location using OpenStreetMap [closed]

时光总嘲笑我的痴心妄想 提交于 2019-12-18 10:14:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 years ago . I have used OpenStreetMap in my ongoing website. I have developed website using PHP. My requirement is to get ADDRESS based on Geo Location(Latitude & Longitude). Is there any OpenStreetMap API available to get location info based on Lat/Lon? Thanks, Vishal Parmar 回答1: There are multiple reverse geocoding APIs

problems with android.location.geocoder

…衆ロ難τιáo~ 提交于 2019-12-17 16:37:19
问题 I know there has been a lot of questions on the site about the IOExeption : service not available.....I have checked all the answers i could find on the subject... i'm running it as async task which seems to be working fine but still getting the same exception. I have used isPresent() on previous attempts although it is not in the following code and i am using the same phone. i have the internet permission. i have tried to change target to google api to see if that was the problem but it made

How to get reverse geocode two coordinates, that is one is source and destination using Google geocoding API

▼魔方 西西 提交于 2019-12-13 19:22:59
问题 I have two set of coordinates i.e. one is source and destination. I want to geocode them but in a single shot... not by calling Geocoding API twice. Is there a way this can be achieved ? If not what is the best approach? 回答1: Maybe. If your intent is to find routes between latlngs and have addresses for the origin and destination of those routes, just use the Directions API: https://developers.google.com/maps/documentation/directions/intro You'll find start_address and end_address in the

Read current location name using Map View in iPhone

荒凉一梦 提交于 2019-12-13 17:12:51
问题 I read the current location's latitude and longitude values and then pin that location in iPhone successfully. Now I want to read that place name using this latitude and longitude values. I used the following code to read the find the current location: - (void)mapView:(MKMapView *)mapView1 didUpdateUserLocation:(MKUserLocation *)userLocation{ CLLocation *whereIAm = userLocation.location; NSLog(@"I'm at %@", whereIAm.description); latitude = whereIAm.coordinate.latitude; longitude = whereIAm

How to get info if I am in village or out of the village (city)? (iOS geocoder or Overpass API for OSM) [closed]

大城市里の小女人 提交于 2019-12-13 08:25:53
问题 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 . Is there any way to find out if I am within village/city or out the village/city using iOS SDK (geocoder information) or Overpass API

How do i get address by given lat/long

浪子不回头ぞ 提交于 2019-12-13 07:45:27
问题 How do i get address by given lat/long not location.I have tried with "Reverse Geocoding" but it showing only location name. My code is <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script> <script> var geocoder; var map; var marker; var marker2; function initialize() { geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(-34.397, 150.644); var mapOptions = { zoom: 5, center: latlng } map = new google.maps.Map(document.getElementById('map

Get geocoding informations from a polygon

三世轮回 提交于 2019-12-13 06:34:43
问题 I'm making an application in which the user can draw a polygon on a google map, and get its coordinates and save them. Well i a have accomplished all this. But what i want to do now is to extract the geocoding informations(streets, addresses ...) from that polygon, i know how to make the reverse geocoding for a given Lat/Lng but my question is how i can do it with a polygon ? This is my code : <script src="https://maps.googleapis.com/maps/api/js?v=3.20&callback=initMap&libraries=drawing"

Find the three letter country code using HTML and Javascript

放肆的年华 提交于 2019-12-13 04:32:41
问题 I am trying to find user's location meaning in which country he is browsing. I need to use HTML and Javascript for this. I have seen various posts on stackoverflow on this in which people have suggested to use different different API's. I am mostly interested in any free API's and which can give me three letter country code not two. Any other API's is fine with me, it's not mandatory that I need to use IPInfo, I can als use geonames as well. And after finding the user's country code, I need

Wrong country code returned by Google Geocoder

拥有回忆 提交于 2019-12-13 02:55:34
问题 I'm getting incorrect country codes when using Google Places API to geocode point locations. This happens mainly near country borders so I suppose that Places API is using a different source for country borders (with less precision) than the one shown in the Google Map tiles. In the example below, the point is clearly inside France but the returned ISO code by Google Places is "ES" for "Spain". function initMap() { var geocoder = new google.maps.Geocoder; var point = new google.maps.LatLng(42

“The constructor Geocoder(Context, Locale) is undefined”?

空扰寡人 提交于 2019-12-13 02:07:18
问题 I am making an android app, and need to use Google maps' reverse geocoding. The relevant code is: Geocoder geoCoder = new Geocoder(getApplicationContext(), Locale.getDefault()); List<Address> matches = geoCoder.getFromLocation(latitude, longitude, 1); // latitude and longitude are double variables containing the coordinates. On the first line of the code above I am getting the compiling error: "The constructor Geocoder(Context, Locale) is undefined" I tried googling but could not find a