763
questions
0
votes
1
answer
54
views
Function not showing up in list
Following these instructions: https://www.exceldemy.com/learn-excel/geocoding/ I created a new module and used Tools/References to check Microsoft XML, 6.0. Then I pasted this code into the new ...
1
vote
0
answers
51
views
Geocoding addresses with business names in R?
I am using the tidygeocoder package/Google API in R to geocode addresses. This is one example:
library(tidygeocoder)
example1<-tibble(address=c("107 W 6th St, Roswell, NM 88201"), ...
0
votes
0
answers
50
views
Geopy Geocoding Requests Not Catching Errors Correctly
I'm using the geopy library to perform geocoding requests with the Nominatim service. Despite setting up detailed error handling, I still receive general errors without catching specific ones like ...
0
votes
0
answers
8
views
Error trying to import pgeocode ,ImportError: cannot import name 'string_types'
I have this problem importing pgeocode, ImportError: cannot import name 'string_types'
(https://i.sstatic.net/pct7D8fg.png)(https://i.sstatic.net/DaMADCh4.png)](https://i.sstatic.net/7AcjwGye.png) ...
0
votes
1
answer
58
views
Quality of geocoding in R with censusxy?
I am trying to geocode addresses using the package "censusxy." An example of how I do this is:
address<-tibble(street="295 Cow Hill Road", city="Mystic", state="...
0
votes
0
answers
93
views
Use geopy.geocoders - Nominatim locally (in offline, without Internet)
I need to execute the script that follow locally, because It will turn on a computer not connected to Internet. I downloaded the last version of nominatim on the computer (Nominatim-4.4.0.tar.bz2), ...
0
votes
1
answer
488
views
Geocoding API's response was not valid JSON (in response to a basic search)
I am using the Geocoder gem (https://github.com/alexreisner/geocoder) version 1.8. Whenever I run Geocoder.search('Paris') in the Rails console, I get this response:
Geocoding API's response was not ...
1
vote
0
answers
59
views
warning: [deprecation] getFromLocationName(String,int) in Geocoder has been deprecated
I get the above warning because I now have "complieSdk 34".
I found this here:
android geocoder void getfromlocation how to get addresses?
And tries to rewrite the lines.
Previously:
try {...
0
votes
0
answers
64
views
geopy for incomplete address, need approximate coordinates
I have a list of publishing houses names, and I need to get their coordinates through Python.
For example:
names = ["Raintree", "Texas A&M University Press"] # publishing ...
-1
votes
1
answer
43
views
Fetching sub localities through a zip code
How can I fetch sub localities or sub sub localities through geocoding API by passing zip code of that area? Currently I am only getiing postal_localities.
I tried this
GET https://maps.googleapis.com/...
0
votes
0
answers
18
views
Geocode coordinates access working in desktop browsers but not working in android browsers in react js code
const geolocation = (e) => {
e.preventDefault();
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(
(success) => {
const { ...
0
votes
0
answers
117
views
Finding nearest coordinates on excel
I have Latitude and longitudes for UPS stores. Column a has UPS store code, Column b is the latitudes, Column c is the longitude. I also have another list of latitude (column e) and longitudes (...
0
votes
0
answers
110
views
GeoCoder Nominatim in TkinterMapView is Failing because of "Max retries exceeded with url"
I am making a app that pulls addresses from an Excel sheet (using Openpyxl), turns those addresses into coordinates (using Geocoder), and places a marker at those coordinates on a TkinterMapView.
When ...
1
vote
0
answers
14
views
How to disable suggestions opening by default with geocode.earth ge-autocomplete widget when "value" provided
Trying to use the Geocode.earth web component: https://geocode.earth/docs/components/autocomplete-element/
If one provides a default value, the autocomplete suggestions opens by default on page load. ...
0
votes
0
answers
139
views
Which "address_component" keys of google geocode map api response should use for address, address line 2, zip code, city and state
I am using google geocode map api to get the address detail.I have a separate HTML input field for address, address line 2, zip code, city and state in my form. Now,I would like to fetch the address ...
0
votes
1
answer
70
views
How to use a swift geocoder on a venue/business name to get address
I am trying to get the address for a venue/business name. With the venue name I have the city and state as well, but it is successful less than 10% of the time. The problem seems to be with finding ...
1
vote
1
answer
47
views
The Map is not showing the correct location using Geocoder. It points to the default coordinates
This code is not giving a zoomed marker at correct location. It stays at the default position instead of address received, even though the original source code works for others. There are no terminal ...
1
vote
1
answer
337
views
How to retrieve GPS coordinates with OSM?
I would like to use the OpenStreetMap API to search GPS coordinates of cities.
I would like to be able to retrieve these coordinates with zip codes, but I would also like to be able to do so with city ...
0
votes
0
answers
66
views
Leaflet Control Geocoder don't work in mobile device
I implemented this plugin with this options in my ionic project:
import Geocoder from 'leaflet-control-geocoder';
let providerNomitatim = new Geocoder.nominatim({
geocodingQueryParams: {
...
0
votes
0
answers
11
views
ext (top level domain) other than the default results in NA output in the function geocode() in the ggmap library
In the help for for ggmap::geocode I read 'ext: top level domain (e.g. "com", "co.nz"); helpful for non-US users'
I want to set the top level domain as Australia as most (but not ...
0
votes
0
answers
31
views
Locality is missing when search by postal code
I am using the Google geocode API to search for a city when user input the postal code. This is the request: https://maps.google.com/maps/api/geocode/json?key=<my_key>&type=(regions)&...
0
votes
0
answers
32
views
Get Eurostat data with both labels and codes
I am trying to get Eurostat data tables including both codes and labels (for variables and geographical entitities).
With the following scripts I get only codes (1) or only labels (2)
(1)
demo <- ...
0
votes
0
answers
627
views
Google Maps JS API - Advanced Marker - show only nearest markers
I have the following Google Maps API code which displays AdvancedMarkers markers on the map from a JSON list of postcodes. Then when a postcode is entered (for example "SP4") into the form ...
1
vote
1
answer
65
views
google reverse geocode lookup find the nearest to latitude and longitude
Sometimes in rural areas and near national parks, geocode(location:"47.826424436, -124.2662817624318") returns only a single formatted_address:"84VQRPGM+HF".
Is there a way to ...
1
vote
1
answer
243
views
OSMnx Custom Filter - get all types of roads
I need to get all existing OSM types of roads from the area, and I'm searching for a simple way of doing this rather than specifying each type with "|"
I've tried to write something like ...
0
votes
1
answer
83
views
Here Maps batch geocode always end in error
I am testing Here Maps Batch Geocode functionality.
Using Postman, I can submit a batch request as documented:
POST https://batch.geocoder.ls.hereapi.com/6.2/jobs?apiKey={apiKey}
&indelim=%7C
...
0
votes
1
answer
402
views
Creating a GeoDataFrame using postcodes
I have a dataframe where each row contains a location specified with a name and a postcode.
Example:
Name1; Postcode1;
Name2; Postcode2;
NameX; PostcodeX;
In order to produce a map where each of these ...
0
votes
1
answer
172
views
Get the census data from block group based on specific addresses in R
Hello I have a problem extracting the census data from the block group in R. I have a bunch of specific addresses and I need to get the block group from these addresses and then extract corresponding ...
-2
votes
1
answer
227
views
Is there a way to change the language of Python's geocoder/geopy [duplicate]
There are 2 packages i'm using.
geocoder
import geocoder
geocoder.osm([31.107, 103.146], method='reverse')
Output:
<[OK] Osm - Reverse [卧龙镇, 汶川卧龙特别行政区, 汶川县, 阿坝藏族羌族自治州, 四川省, 中国]>
geopy
from ...
0
votes
1
answer
116
views
How to use geocode to display the current address of the center of the google map in Flutter?
I am trying to project on screen the address of the center of the google map in Flutter with the help of GeoCode but I am having problem dealing with Futures. Here is my code:
class ...
-2
votes
1
answer
42
views
for loop occuring after a console.log even though it occures earlier in code
when this code is written
var holder = [];
const compile = () =>{
let latitude = 0;
let longitude = 0;
for (let i = 0; i < holder.length; i++) {
Geocode.fromAddress(holder[i]...
0
votes
1
answer
17
views
How do I compare a table of housing buildings [A] (w lat and long columns) against a table of food places [B]?
I am trying to find a code that runs through a table of housing building locations (w lat and long data in separate columns), against another table with food place locations, to determine the food ...
1
vote
1
answer
66
views
Reverse Geocode using API Key for Google Sheet
I need to get a working JSON script for Google Sheet to get "FOMATTED_ADDRESS" for more than 5,000 GPS coordinates.
I am no expert in JSON nor Javascipt.. I only need a simple script that ...
0
votes
1
answer
750
views
What are the solutions when geocoding a wrong or incomplete address?
My company gets the addresses the loading hubs for our freights every week. We need to geocode them into coordinates. But often the addresses either are incomplete or contain minor grammar mistakes, ...
0
votes
1
answer
793
views
Error Using GoogleMaps.LocationServices to Find Latitude and Longitude in C#
I am looking for advice on how to get the latitude and longitude of an address using C#. I do not know how to interpret the error message I receive.
Here is my code:
using GoogleMaps.LocationServices;
...
0
votes
1
answer
153
views
Can I bulk gecode addresses from local OSM tile server to get lat/long?
I need to geocode a few million addresses within a single country. I know that paid geocode APIs charge for bulk geocoding and/or place limits for queries. I downloaded a map tile server to run within ...
0
votes
0
answers
37
views
Geocoding errors for zipcodes with geocode function using googleway and ggmap package
library(ggmap)
library(tidyverse)
#create data frame for zipcode
data.new <- c(21022, 20380, 22194, 20414, 20402, 22350, 20451, 56998, 88888,
20417, 75059, 90210, 11437, 10101, 10275, ...
-1
votes
1
answer
269
views
geocode api call with address returns null if called from client but returns results in a browser call
A php client call to geocode api returns nothing (tried with file_get_contents()) while the same in a url from browser call returns results.
For instance a call from .php client (using ...
0
votes
1
answer
2k
views
Based on a given address (or coordinates), how do I return the name of the neighborhood the address is in?
I am in the process of working through a few problems in excel in hopes to turn them into a macro. I am relatively proficient in excel, but still new to the world of APIs and VBA. I am looking for a ...
0
votes
0
answers
40
views
uibutton does not return initial data
strong texti had two problem:
1 problem) when I press the button, it should return my position data, but it doesn't return it and I think I understand why, but I can't solve it. the problem is the ...
1
vote
0
answers
47
views
How to scrape only tweets with lat_lon (geocode) information in R
I'm scraping tweets by using the rtweet package in R. As I'm interested in getting only tweets who bring with them the information about lat and long (geocode) about a specific location, I use the ...
0
votes
1
answer
88
views
Extract address portion of strings and geocode the address using javascript or react
I've fetched some youtube video descriptions. The descriptions has address on them that looks like this :
- - - - - - - - - - - - - - - - -
1. TRADITIONAL CAO LAU NOODLE FACTORY
🍜CAO LAU NOODLES: ...
0
votes
2
answers
152
views
Return value from Geocode Promise
I'm using the react-geocode api to get coordinates from a string address (like 1234 home street, etc.). So far, this is my code.
async function ConvertAddress(address) {
if (address !== "&...
1
vote
0
answers
179
views
Return several matches from different countries using geopy geocoder
I have a zipcode, but I don't know the country reference. The zipcode could refer to Spain, France or Mexico (or other countries).
from geopy.geocoders import Nominatim
geolocator = Nominatim(...
3
votes
2
answers
134
views
I am not able to store the returned value of a javaScript function (of Geocoding) in a variable
I am trying to store the latitude and longitude values I calculated inside the function. If I console.log both the values inside the function, it is working fine. However, if I return those values to ...
0
votes
1
answer
98
views
Acces list element in flutter? Geocoding
I am trying to get the latittude from the list :
[ Latitude: 28.6139391,
Longitude: 77.2090212,
Timestamp: 2022-06-12 11:34:06.992Z ]
which is generated by this code below:
Future fetchAlbum()...
0
votes
1
answer
80
views
Google maps API - did not accepted properly: language and region
How to always receive: Warsaw ?
Warszawa VS Warsaw
$ curl -s "https://maps.googleapis.com/maps/api/geocode/json?address=Warszawa+Świętokrzyska+18&key=<MY-KEY>®ion=en&language=...
0
votes
1
answer
248
views
Why is my script not including the lat/long when I try geocoding address with ArcGIS?
I'm trying to test the geocode method of the ArcGIS library but it's just returning the address I input. The code is as follows:
from geopy.geocoders import ArcGIS
arcgis = ArcGIS()
print(arcgis....
0
votes
0
answers
521
views
Flutter geocode package throwing an error
I am using the geocode flutter package.
The below code was working before, but for a reason that I don't know it has stopped working and throwing the below error.
[ERROR:flutter/lib/ui/ui_dart_state....
0
votes
1
answer
25
views
With this Class component I geocoded a value but now im unable to set the value as a state in the same component, How can I save the geocoded value?
In this component I ask the user for their address information in order to determine whether or not they are in the Delivery radius for a restaurant, once they submit their address I send a axiom get ...