Questions tagged [geocode]
Geocoding is a method to assign spatial coordinates - like longitude and latitude on the Earth's surface - to a data record or object which represents an address or other geographic data.
729
questions
0
votes
0
answers
29
views
Batch geocoding street intersections in R
I am currently working with data that is formatted like this:
tribble(
~street1, ~street2, ~county, ~state
N BENTON WY, W TEMPLE ST, LOS ANGELES, CA,
11TH PL, BLAINE ST, LOS ...
0
votes
0
answers
30
views
Python Geocoder call getting frozen after a certain number of executions
I am working on a Python application, which uses the geocoder library to find the latitude and longitude information for a given address and store it in a Redis key. All the information is serialized ...
1
vote
1
answer
41
views
Timezone in Python for a list of cities
I have a list of cities for which I would like to extract the timezone. I am able to get the coordinates for each of these cities and I know the code to get the timezone for each of the cities ...
0
votes
0
answers
18
views
How can I display formatted_address from geocode inside my formik form?
I want to display the console.log(formatted_address) from geocode inside my formik form once the user click the use my current location button. Here is code below:
const [address, setAddress] = ...
0
votes
1
answer
21
views
Need some help trying to use ifelse and geocoded2 in R to make a map with different colored markers for different types of amphibians
I am trying to make a map for my thesis of sampling sites of salamanders. I am super new to any of this so I don't really understand code much, but my advisor has given me a general outline of the ...
0
votes
0
answers
13
views
Bing used as a Geocode
Try to use Bing as a Geocoder, have done it successfully but when trying to do a batch, only displays one result. Here is the code:
import geocoder
g = geocoder.bing([df['Address']], method='batch', ...
0
votes
0
answers
23
views
I am trying to get a GEOCode and getting this error on R, how do I fix it?
Tried using Geocode and I dont understand the error or the how to solve it
-2
votes
1
answer
45
views
How do I filter api geocode google maps?
How can I filter the result of geocode API with region or bounds parameters ?
Example with filter region:
https://maps.googleapis.com/maps/api/geocode/json?address=tokyo®ion=it
Why return "...
-2
votes
1
answer
38
views
googleapis geocode return only one record for incomplete or ambiguous address
I want to normalize (server-side), an input address, and it could be incomplete or complete.
Which APIs should I use?
I have used geocode, place/autocomplete and place/textsearch APIs, but I don't get ...
0
votes
0
answers
7
views
HERE Geocode Search don't return postalCodes of French Polynesia
I'm currently using the HERE geocoding and search API, and I found out that when I'm trying to search a French Polynesian address, the API doesn't return a postal code (exemple: I have ..., Pirae, ......
0
votes
0
answers
13
views
Geocode is throwing an error in android. Trying to build a cab booking app
This is a user app cab booking system in android, Geocode throwing the error.
Only thing I get is Unable to get location please try again...
I am not able to understand the code fully as I a beginner, ...
0
votes
1
answer
41
views
REACT - Converting an address to coordinates using geocode and then pass it to Map component of "google-maps-react" to display location on the map
I am trying to convert a list of addresses to coordinates using "geocode" api and then showing on google maps using "Map" component of "google-maps-react", I was ...
0
votes
0
answers
32
views
Reduce the number of times Google places API is called
On a web page, when the user allows to share location, Google places API is called everytime on page load to get the user's city and pincode as I need the exact location everytime.
But since, for each ...
0
votes
0
answers
24
views
Is there an R function to generate a column of U.S county names based on latitude and longitude? [duplicate]
I have a dataset of ~60,000 observations with a latitude column and longitude column.
Is there a function that can tack on a "county fipscode" column?
0
votes
1
answer
33
views
Missing geocoding parametr
This is my dataframe view
from cartoframes.data.services import Geocoding
gc = Geocoding()
london_stations_gdf, london_stations_metadata = gc.geocode(
df,
street='Borough',
...
1
vote
0
answers
37
views
How to Import Twitter Data Directly Into Database from Crawling by GeoCode (with Radius)?
I am referring this thread :
Twitter - Query for tweets within a radius of a particular GeoLocation
But my problem is I want to directly import it into database MySQL, instead of System.out.println.
...
0
votes
0
answers
84
views
HERE Geocoding API - How to get 6 character postal code from Canada locations
When submitting get requests to HERE geocoding for Canadian locations, I am receiving a 3 character postal code instead of a 6 character code.
https://geocode.search.hereapi.com/v1/geocode?q=VICTORIA%...
0
votes
0
answers
36
views
searching address (geocode.search.hereapi.com) weird behavior
I'm using https://geocode.search.hereapi.com/v1/geocode?q to search for address in USA.
When I give q=765 Rive I get lot of address but the moment when I give 765 River My results are very restricted ...
0
votes
0
answers
67
views
How to get coordinates from readable address in Delphi
How can get coordinates from a given address? I am trying to run this on both Android and iOS platform. I have tried to use the OnGeocode property in TGeocoder. But it doesn't really work. The ...
0
votes
1
answer
34
views
Has anyone used append_geoid in TIGRIS to build a new data frame collecting the new census blocks?
I am looking for a way to regeocode in R using tigris. Is there away to write this into a new data frame and to also add the 2010 census block that was tied to the address?
airports <- dplyr::...
0
votes
0
answers
44
views
Some zipcodes are associated with multiple counties. Can geocode find them all?
Is there a way to use geocode or any other google API to be able to get all the counties associated with a particular zip code?
I am only able to use geocode API for a project. When a user types in a ...
0
votes
0
answers
33
views
Retrieval of Area Shapes - Here Maps API with V7 support
Do you plan supporting or migrating geocode API for getting Country, city, postalCode, etc. shapes in the new v7 API?
In the previous version there was:
https://developer.here.com/cn/documentation/...
0
votes
0
answers
17
views
How to geocode with TurfJS with lat/long?
How can I get the location details / geocode with TurfJS? I want to simply give it a lat/long and get back the country, state, zipcode, etc...
I checked their online documentation but didn't see a ...
0
votes
0
answers
31
views
Swift - Find locations near current location with Geocode
I'm working on a map where there's a TextField so the user can type a location and the map should redirect to the first match of that location and set a pin in it.
The current location in my simulator ...
0
votes
1
answer
147
views
Retrieve data from geocoder MapboxGl (Results)
So I found a solution on how to get the results of geocoder from a different post.
AndrewHarvey:
From the API docs https://github.com/mapbox/mapbox-gl-geocoder/blob/master/API.md#on you can use
...
0
votes
0
answers
529
views
How can I get my accurate location with my phone number using python and geocode?
This is my code for getting the location of my phone number. I get the GPS location in my country, but not exactly where I am. Is there any way I can fix the code to do so?
import phonenumbers
import ...
2
votes
2
answers
213
views
Find rows with a column value close to the one of the current row
I have a table in the following format:
id
lon
lat
1
10.111
20.415
2
10.099
30.132
3
10.110
20.414
I would like to create a new column that returns all IDs such that lon and lat are less then a ...
0
votes
1
answer
29
views
Odd results from Google Reverse Geocode API
Recently I've been occasionally receiving odd results from the Google Reverse Geocode API.
For example when looking up the address for coordinates 43.2379396 -72.44746565 the result I get is:
6HQ3+52 ...
0
votes
0
answers
23
views
Can I restrict geocode results to a specific state in R?
I'm using the ggmap geocode with the Google maps API. I have vector of city names in Ohio (city), and I am trying to return coordinates for each of these cities. My code,
coordinates <- geocode(...
0
votes
0
answers
275
views
ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by remote host', None, 10054, None))
I am trying to generate CensusGeocode data and add it as a new column in a dataframe using already existing Longitude and Latitude data columns. I keep getting connection error. Not sure where I am ...
0
votes
1
answer
51
views
Problem running a python function against a pandas dataframe and returning values into the dataframe
I've got a list of over 1mm lat/long pairs that I'm looking to reverse geocode using the reverse-geocoder library. I've got my dataframe set up with columns for lat, long, and a pair which I ...
0
votes
0
answers
25
views
API not returning response in a loop, but returning when I do it individually
I'm writing a script that can pull addresses from a .csv column and than request information on it from the NYC Geoclient API (https://maps.nyc.gov/geoclient/v1/doc), and than append the new ...
0
votes
0
answers
104
views
i used geocoding package in my project , some note accured
Note: C:\src\flutter.pub-cache\hosted\pub.dartlang.org\geocoding-2.0.1\android\src\main\java\com\baseflow\geocoding\GeocodingPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:...
0
votes
0
answers
281
views
ThreadPoolExecutor returning error <Future at 0x1ba9696bb08 state=finished raised TypeError>
I am trying to run a geocoding api function on a dataframe in parallel.
I am trying to divide the dataframe in fixed parts and run the geocoding function in parallel on it using ThreadPoolExecutor.
I ...
1
vote
0
answers
25
views
How to use users current coordinates in Onsensor changed method using geocoder
I want to use users location coordinates to make a compass that point at another location coordinates. I some how managed to achieve the code but a problem occur I dont know how to use users location ...
1
vote
1
answer
39
views
Geocoding returns wrong town when applied to dataframe - returns correct one when applied to text
I have a silly problem: I am trying to geocode several towns in Germany, the names of the towns are stored in a column in a dataframe. The coding works for all towns except for one: Münster.
My ...
0
votes
0
answers
42
views
How to get detailed addresses?
I executed the geocode function which gave latitude and longitude measurements.
The few informations I have are the objects name, their provinces, and the country, so I'm not sure about the exactitude ...
0
votes
1
answer
136
views
how to add location of user's dynamically in bing map api
I am using Bing maps API and in that i am giving location (latitude & longitude) manually in GetMap function for reverse geocode so that i can get address name
function GetMap() {
map = new ...
1
vote
2
answers
101
views
OSMNX geocoder returning incorrect coordinates
When using the osmnx geocoder module, it seems that the wrong Latitude and Longitude is returned. I have cross checked the coordinates returned with multiple websites and it is not correct. This is ...
1
vote
1
answer
88
views
Converting ZCTA into longitude and latitude
I have a set of ZCTA from census Bureau's website in a csv file. I want to convert this into geographic coordinates to show them on map in QGIS. I know how to convert places name into longitude and ...
1
vote
1
answer
228
views
How to apply a pandas geocode function to Pyspark column
Table is like this
id
ADDRESS
0
6101 SUMMITVIEW AVE STE 200 YAKIMA
1
527 CEDAR WAY SUITE 105 OAKMONT
2
1700 N ROSE AVE SUITE 460 OXNARD
3
1275 YORK AVE NEW YORK
4
2300 MANCHESTER EXPY A SUITE ...
-2
votes
1
answer
152
views
api geocode error response "This IP, site or mobile application is not authorized to use this API key"
Env:
project with reactjs
using https://tomchentw.github.io/react-google-maps/ (Map with a SearchBox)
I have problem about restriction api key google, and the problem :
step to reproduce
copy the ...
0
votes
0
answers
129
views
How to get LatLng co-ordinates from address in Flutter?
I am trying to get LatLng co-ordinates from a plain text address (which I got from Google Places API) like this using the geocode package.
The thing is, it works. But, It is very laggy and gives a ...
0
votes
2
answers
715
views
google maps integration with react js hooks, map flickers on update
so i was working on a project and i wanted to integrate google maps, so i downloaded these packages (react geo code and react google maps) i read their documentation and found a piece of code on code ...
2
votes
1
answer
78
views
Store the value in the cell after a custom function obtain this value / Google spreadsheet
I use the custom function:
if (!address) {
throw new Error("No address specified!");
}
if (address.map) {
return address.map(LATLONG);
}
const key = ["address", address]....
0
votes
1
answer
31
views
is the total of a lat / long calculation specify the map distance?
We use the rails geocoder gem at work but want to start getting closest location of a set of locations that are stored in memcached (ie not using the ActiveRecord interface). Would it be as simple as ...
0
votes
1
answer
81
views
Here batch geocoding API stopped working - HTTP Error 500
I've been using Here batch geocoding API through a Python script for weeks and it was working fine, but today it just stopped working. I checked my API key and it is enabled. I'm at 40% of the usage ...
-1
votes
1
answer
280
views
Geocode an address and set it as Initial Center of Google Map
So I'm using google maps API to display a map on my react webpage, I know how to set the initial center point and marker by inputting long and lat, however, now I am trying to geocode a text address ...
1
vote
0
answers
23
views
my dataframe contains zip codes for destination and source in 2 separate columns. Required to create new column showing distance b/w these zip codes
My zip codes are only from one country US. My specific questions are :
what should be the datatype of zip codes? while some are numeric(5 digit); some are also of the format 94621-1481
I am running ...
0
votes
0
answers
9
views
searching in California using abbreviation Ca on here tech returns locations in Canelones, Uruguay for /v1/geocode?q=place+Ca
I am using the api specified here
https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-geocode-brief.html
and when searching for places in California that do not ...