Questions tagged [geocoder]

An Android class for handling geocoding and reverse geocoding.

A class for handling geocoding and reverse geocoding. Geocoding is the process of transforming a street address or other description of a location into a (latitude, longitude) coordinate. Reverse geocoding is the process of transforming a (latitude, longitude) coordinate into a (partial) address. The amount of detail in a reverse geocoded location description may vary, for example one might contain the full street address of the closest building, while another might contain only a city name and postal code. The Geocoder class requires a backend service that is not included in the core android framework. The Geocoder query methods will return an empty list if there no backend service in the platform. Use the isPresent() method to determine whether a Geocoder implementation exists.

https://developer.android.com/reference/android/location/Geocoder.html

181 questions
0
votes
1 answer

android addmarker redirct to wrong position

If I paste the output of log lat and log long in google maps it redirects to correct location but animateCamera() is redirecting to wrong place in google maps android app. please help! public void onSearch(View view){ …
0
votes
1 answer

Geocoder,s gem near method not working on rails 5

Been trying to use the geocoder gem to find locations using the geocoders method near for finding certain locations near to certain points. def index @data = Datum.all @emergency = Emergency.last @data_near =…
-1
votes
1 answer

Geocoder always return some results

I'm using Geocoder for my app and it works just fine, except one thing - it ALWAYS return results even for non-existing address and always the same results. So if i'm sending some "asfasdfsdgsdg" - it gets me a results somewhere in KANSAS and i need…
Alex Smoke
  • 619
  • 1
  • 8
  • 18
-1
votes
2 answers

how to request a json file from an API using a list of lists instead of a list of values? how to speed up my API call?

geocoder.osm() Is an API function that is supposed to take two arguments: latitude and longitude, and then it returns the country name and all of its informations as a json file. I have a big dataframe of 700k rows full of coordinates i wrote the…
akram
  • 111
  • 7
-1
votes
1 answer

Fetching results(location Data) from leaflet Geocoder through callback function

I am working on an angular project that uses leaflet framework for implementing geocoder. My current requirement is to use geocoder, retrieve the lat,lng from the results and emit them to the parent component which would then trigger an event in the…
-1
votes
1 answer

how to search location name on osmdroid to get latitude longitude

how to get the latitude and longitude by search location names with open street map osmdroid. My Expectation is, It looks like implement google map places autocomplete, but I don't know how to make autocomplete places in osmdroid. I am not found any…
-1
votes
1 answer

How to use node-geocoder along with proxy in node.js?

I have my node.js server running on a vm along with a proxy on it. Now i am using node-geocoder to get lat lng from node-geocoder like this const NodeGeocoder = require('node-geocoder'); var geocoder =…
Fahad Subzwari
  • 2,109
  • 3
  • 24
  • 52
-1
votes
1 answer

How to get Drupal Geolocation 8.x.3.2 to show a map with pins from a view

The website (Drupal 8) needs to show a view of content records with the addresses pinned to a map of NYS. The module I used before was version 8.x.1.1 and the new one (^3.2) is vastly different. I have used Composer to install Geocoder, Geolocation,…
-1
votes
2 answers

Can't create handler inside thread that has not called Looper.prepare() in AsyncTask

im trying to get the city using Geocoder that android have its app we creating as homework. I'm trying to do it inside a AsyncTask but i get the this exception: Can't create handler inside thread that has not called Looper.prepare() the AsyncTask…
-1
votes
1 answer

How can one get the accuracy of a geocode in python?

I have created a script which fetches geocodes(latitudes and longtitudes) of a sample of addresses However I want it to also return the accuracy/precision of these geocodes that are mined. for example: 100% accurate or 90% etc # Set the input and…
user10001876
-1
votes
1 answer

Getting LatLng from adress

I am developing an android application and in that application, I want to search for places on a map without using places.api. is there a way to get LatLng from a given address?
Sab
  • 1
  • 2
-1
votes
1 answer

Has anything changed on geocode API

I just wanted to know if anything changed on geocode API from 21 st February because before 21st it was validating zip code 9 digits but from yesterday it is giving an error on 9 digits zip code and now it only validating 5 digits zip code.
Piush
  • 11
  • 5
-1
votes
1 answer

Any ideas how to setup geocoder with rails 5?

I am trying to get latitude and longitude from address but when I run rails db:seed latitude and longitude stay blank and the rest of the fields will be seeded here is my model attr_accessor :lat, :lng geocoded_by :address, :latitude =>…
Hindreen
  • 98
  • 1
  • 9
-2
votes
1 answer

Python reverse geocoding to extract postal code from 'googlemaps'

I've been trying to reverse geocode a csv of lat and long data to find the postal codes that correspond to the coordinates. I have an API from google and have attempted using pygeocoder, however it fails to recognise an API (see code below). import…
CWC_23
  • 1
  • 1
-2
votes
1 answer

How do I find the north and south bound of a particular state in USA

I am trying to implement the restriction view of google maps API. Not able to find the north and south coordinates of the same. Is there any API for it ?
1 2 3
12
13